NAME

Sys::Async::Virt::DomainCheckpoint - Client side proxy to remote LibVirt domain checkpoint

VERSION

v0.0.13

SYNOPSIS

use Future::AsyncAwait;

my $domain = await $virt->domain_lookup_by_name( 'domain' );
my $checkp = await $domain->checkpoint_lookup_by_name( 'checkpoint' );
my $children = await $checkp->list_all_children();

DESCRIPTION

Provides access to checkpoints.

EVENTS

No (LibVirt) events available for domain checkpoints.

CONSTRUCTOR

new

Not to be called directly. Various APIs return instances of this type.

METHODS

delete

await $checkpoint->delete( $flags = 0 );
# -> (* no data *)

See documentation of virDomainCheckpointDelete.

get_parent

$parent = await $checkpoint->get_parent( $flags = 0 );

See documentation of virDomainCheckpointGetParent.

get_xml_desc

$xml = await $checkpoint->get_xml_desc( $flags = 0 );

See documentation of virDomainCheckpointGetXMLDesc.

list_all_children

$checkpoints = await $checkpoint->list_all_children( $flags = 0 );

See documentation of virDomainCheckpointListAllChildren.

INTERNAL METHODS

CONSTANTS

XML_SECURE
XML_NO_DOMAIN
XML_SIZE
LIST_ROOTS
LIST_DESCENDANTS
LIST_TOPOLOGICAL
LIST_LEAVES
LIST_NO_LEAVES
DELETE_CHILDREN
DELETE_METADATA_ONLY
DELETE_CHILDREN_ONLY

SEE ALSO

LibVirt, Sys::Virt

LICENSE AND COPYRIGHT

Copyright (C) 2024 Erik Huelsmann

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.