Documentation ¶
Index ¶
- func CreateImportSpec(cl *govmomi.Client, c *config.Config, r *config.References, descriptor string, ...) (*types.OvfCreateImportSpecResult, error)
- type VirtualMachine
- func CreateFromOva(cl *govmomi.Client, c *config.Config, ref *config.References, src *ova.Ova) (*VirtualMachine, error)
- func Find(cl *govmomi.Client, c *config.Config, name string) (*VirtualMachine, error)
- func FindAll(cl *govmomi.Client, c *config.Config) ([]VirtualMachine, error)
- func FromReference(cl *govmomi.Client, ref govmomi.Reference) (*VirtualMachine, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateImportSpec ¶
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 FromReference ¶
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
Click to show internal directories.
Click to hide internal directories.