esxi

package
v0.0.0-...-88bc37c Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrApiRequest = errors.New("Failed api request")

Functions

This section is empty.

Types

type BridgeType

type BridgeType int
const (
	None BridgeType = iota // 0
	Linux
	OVS
)

func (BridgeType) String

func (t BridgeType) String() string

type EsxiHypervisorDriver

type EsxiHypervisorDriver struct {
	hypervisor.Base
	// contains filtered or unexported fields
}

func (*EsxiHypervisorDriver) AddFloppyDevice

func (d *EsxiHypervisorDriver) AddFloppyDevice() error

func (*EsxiHypervisorDriver) AddNetworkDevices

func (d *EsxiHypervisorDriver) AddNetworkDevices() error

func (*EsxiHypervisorDriver) CloneBaseImage

func (d *EsxiHypervisorDriver) CloneBaseImage() error

func (*EsxiHypervisorDriver) CreateInstance

func (d *EsxiHypervisorDriver) CreateInstance() error

func (*EsxiHypervisorDriver) DestroyInstance

func (d *EsxiHypervisorDriver) DestroyInstance() error

func (*EsxiHypervisorDriver) InstanceConsole

func (d *EsxiHypervisorDriver) InstanceConsole() hypervisor.Console

func (*EsxiHypervisorDriver) MetadataDriveDatamap

func (d *EsxiHypervisorDriver) MetadataDriveDatamap() map[string]interface{}

func (*EsxiHypervisorDriver) MetadataDrivePath

func (d *EsxiHypervisorDriver) MetadataDrivePath() string

func (EsxiHypervisorDriver) RebootInstance

func (d EsxiHypervisorDriver) RebootInstance() error

func (*EsxiHypervisorDriver) Recover

func (d *EsxiHypervisorDriver) Recover(instanceState model.InstanceState) error

func (*EsxiHypervisorDriver) StartInstance

func (d *EsxiHypervisorDriver) StartInstance() error

func (*EsxiHypervisorDriver) StopInstance

func (d *EsxiHypervisorDriver) StopInstance() error

type EsxiHypervisorProvider

type EsxiHypervisorProvider struct {
}

func (*EsxiHypervisorProvider) CreateDriver

func (*EsxiHypervisorProvider) LoadConfig

func (p *EsxiHypervisorProvider) LoadConfig(sub *viper.Viper) error

func (*EsxiHypervisorProvider) Name

func (p *EsxiHypervisorProvider) Name() string

type EsxiMachine

type EsxiMachine struct {
	SerialConsolePort int
	Nics              []Nic
	// contains filtered or unexported fields
}

type Nic

type Nic struct {
	NetworkId   string
	IfName      string
	Index       string
	Ipv4Addr    string
	MacAddr     string
	Bridge      string
	Ipv4Gateway string
	Type        string
}

Jump to

Keyboard shortcuts

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