operations

package
v0.5.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2019 License: Apache-2.0 Imports: 24 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupVM added in v0.5.0

func CleanupVM(vm *api.VM) error

CleanupVM removes the resources of the given VM

func DeleteVM added in v0.5.0

func DeleteVM(c *client.Client, vm *api.VM) error

DeleteVM removes the specified VM from the Client and performs a cleanup

func FindOrImportImage

func FindOrImportImage(c *client.Client, ociRef meta.OCIImageRef) (*api.Image, error)

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

func FindOrImportKernel(c *client.Client, ociRef meta.OCIImageRef) (*api.Kernel, error)

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

func StartVM

func StartVM(vm *api.VM, debug bool) error

func StopVM

func StopVM(vm *api.VM, kill, silent bool) error

StopVM stops or kills a VM

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL