autostart

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: Apache-2.0 Imports: 16 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(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.

Jump to

Keyboard shortcuts

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