esx

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 27 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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