Documentation ¶
Index ¶
- type AutostartFlag
- func (f *AutostartFlag) HostAutoStartManager() (*mo.HostAutoStartManager, error)
- func (f *AutostartFlag) Process(ctx context.Context) error
- func (f *AutostartFlag) ReconfigureDefaults(template types.AutoStartDefaults) error
- func (f *AutostartFlag) ReconfigureVMs(args []string, template types.AutoStartPowerInfo) error
- func (f *AutostartFlag) Register(ctx context.Context, fs *flag.FlagSet)
- func (f *AutostartFlag) VirtualMachines(args []string) ([]*object.VirtualMachine, error)
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(ctx context.Context) 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(ctx context.Context, 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.
Click to show internal directories.
Click to hide internal directories.