esx

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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 New

func New(opts *Options) (*API, error)

func (*API) CleanupDevice

func (a *API) CleanupDevice(name string) error

func (*API) CreateBaseDevice

func (a *API) CreateBaseDevice(name, ovaPath string) error

func (*API) CreateDevice

func (a *API) CreateDevice(name string, conf *conf.Conf) (*ESXMachine, error)

func (*API) GetConsoleOutput

func (a *API) GetConsoleOutput(name string) (string, error)

func (*API) PreflightCheck

func (a *API) PreflightCheck() error

func (*API) TerminateDevice

func (a *API) TerminateDevice(name string) error

type ESXMachine

type ESXMachine struct {
	Name      string
	IPAddress string
}

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
}

Jump to

Keyboard shortcuts

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