vm

package
v0.0.0-...-abe979b Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2015 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateImportSpec

func CreateImportSpec(cl *govmomi.Client, c *config.Config, r *config.References, descriptor string, name string) (*types.OvfCreateImportSpecResult, error)

Types

type VirtualMachine

type VirtualMachine struct {
	Client *govmomi.Client
	Object *govmomi.VirtualMachine
	// contains filtered or unexported fields
}

func CreateFromOva

func CreateFromOva(cl *govmomi.Client, c *config.Config, ref *config.References, src *ova.Ova) (*VirtualMachine, error)

func Find

func Find(cl *govmomi.Client, c *config.Config, name string) (*VirtualMachine, error)

func FindAll

func FindAll(cl *govmomi.Client, c *config.Config) ([]VirtualMachine, error)

func FromReference

func FromReference(cl *govmomi.Client, ref govmomi.Reference) (*VirtualMachine, bool)

func (*VirtualMachine) AddNetwork

func (vm *VirtualMachine) AddNetwork(n *govmomi.Network) error

func (*VirtualMachine) IsManagedByQuorra

func (vm *VirtualMachine) IsManagedByQuorra() bool

func (*VirtualMachine) Name

func (vm *VirtualMachine) Name() string

Jump to

Keyboard shortcuts

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