Documentation ¶
Index ¶
- func CleanupVM(vm *api.VM) error
- func DeleteVM(c *client.Client, vm *api.VM) error
- func FindOrImportImage(c *client.Client, ociRef meta.OCIImageRef) (*api.Image, error)
- func FindOrImportKernel(c *client.Client, ociRef meta.OCIImageRef) (*api.Kernel, error)
- func RemoveVMContainer(result *runtime.ContainerInspectResult) error
- func StartVM(vm *api.VM, debug bool) error
- func StopVM(vm *api.VM, kill, silent bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteVM ¶ added in v0.5.0
DeleteVM removes the specified VM from the Client and performs a cleanup
func FindOrImportImage ¶
FindOrImportImage returns an image based on the source string. If the image already exists, it is returned. If the image doesn't exist, it is imported
func FindOrImportKernel ¶
FindOrImportKernel returns an kernel based on the source string. If the image already exists, it is returned. If the image doesn't exist, it is imported
func RemoveVMContainer ¶
func RemoveVMContainer(result *runtime.ContainerInspectResult) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.