autostart

package
v0.1.1-0...-7d2441d Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2015 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutostartFlag

type AutostartFlag struct {
	*flags.ClientFlag
	*flags.DatacenterFlag
	*flags.HostSystemFlag
}

func (*AutostartFlag) HostAutoStartManager

func (f *AutostartFlag) HostAutoStartManager() (*mo.HostAutoStartManager, error)

func (*AutostartFlag) Process

func (f *AutostartFlag) Process() error

func (*AutostartFlag) ReconfigureDefaults

func (f *AutostartFlag) ReconfigureDefaults(template types.AutoStartDefaults) error

func (*AutostartFlag) ReconfigureVMs

func (f *AutostartFlag) ReconfigureVMs(args []string, template types.AutoStartPowerInfo) error

func (*AutostartFlag) Register

func (f *AutostartFlag) Register(fs *flag.FlagSet)

func (*AutostartFlag) VirtualMachines

func (f *AutostartFlag) VirtualMachines(args []string) ([]*object.VirtualMachine, error)

VirtualMachines returns list of virtual machine objects based on the arguments specified on the command line. This helper is defined in flags.SearchFlag as well, but that pulls in other virtual machine flags that are not relevant here.

Jump to

Keyboard shortcuts

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