Documentation ¶
Index ¶
- type API
- func (a *API) CleanupDevice(name string) error
- func (a *API) CreateBaseDevice(name, ovaPath string) error
- func (a *API) CreateDevice(name string, conf *conf.Conf, ips *IpPair) (*ESXMachine, error)
- func (a *API) GetConsoleOutput(name string) (string, error)
- func (a *API) GetDevices(pattern string) ([]string, error)
- func (a *API) PreflightCheck() error
- func (a *API) TerminateDevice(name string) error
- type ESXMachine
- type IpPair
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) CleanupDevice ¶
func (*API) CreateBaseDevice ¶
func (*API) CreateDevice ¶
func (*API) GetDevices ¶ added in v0.20.0
func (*API) PreflightCheck ¶
func (*API) TerminateDevice ¶
type ESXMachine ¶
type Options ¶
type Options struct { *platform.Options // Config file. Defaults to $HOME/.config/esx.json ConfigPath string // Profile name Profile string Server string User string Password string BaseVMName string OvaPath string FirstStaticIp string FirstStaticIpPrivate string StaticIPs int StaticSubnetSize int StaticGatewayIp string StaticGatewayIpPrivate string }
Click to show internal directories.
Click to hide internal directories.