Documentation
¶
Index ¶
- Constants
- func DestroyNetworks(ctx context.Context, l *libvirt.Libvirt, decideFun DecideFunc) error
- func DestroyStoragePool(l *libvirt.Libvirt) error
- func DestroyVMs(ctx context.Context, l *libvirt.Libvirt, decideFun DecideFunc) error
- func IsError(err error, expectedError libvirt.ErrorNumber) bool
- func StopDev(xml string) bool
- type DecideFunc
Constants ¶
View Source
const StoragePoolName = "cloudless"
StoragePoolName is the name of storage pool.
Variables ¶
This section is empty.
Functions ¶
func DestroyNetworks ¶
DestroyNetworks destroys networks.
func DestroyStoragePool ¶
DestroyStoragePool destroys storage pool.
func DestroyVMs ¶
DestroyVMs destroys vms.
Types ¶
type DecideFunc ¶
DecideFunc defines function which decides if resource should be stopped.
Click to show internal directories.
Click to hide internal directories.