operations

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 26 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindOrImportImage

func FindOrImportImage(c *client.Client, ociRef meta.OCIImageRef) (*imgmd.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) (*kernmd.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 RemoveVM

func RemoveVM(c *client.Client, vm *vmmd.VM) error

RemoveVM removes the specified VM

func RemoveVMContainer

func RemoveVMContainer(vm meta.Object) error

func StartVM

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

func StopVM

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

StopVM stops or kills a VM

Types

This section is empty.

Jump to

Keyboard shortcuts

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