vspc

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VmwareExt             byte = 232
	KnownSuboptions1      byte = 0
	KnownSuboptions2      byte = 1
	UnknownSuboptionRcvd1 byte = 2
	UnknownSuboptionRcvd2 byte = 3
	VmotionBegin          byte = 40
	VmotionGoahead        byte = 41
	VmotionNotNow         byte = 43
	VmotionPeer           byte = 44
	VmotionPeerOK         byte = 45
	VmotionComplete       byte = 46
	VmotionAbort          byte = 48
	DoProxy               byte = 70
	WillProxy             byte = 71
	WontProxy             byte = 73
	VMVCUUID              byte = 80
	GetVMVCUUID           byte = 81
	VMName                byte = 82
	GetVMName             byte = 83
	VMBiosUUID            byte = 84
	GetVMBiosUUID         byte = 85
	VMLocationUUID        byte = 86
	GetsVMLocationUUID    byte = 87
)

Vsphere telnet extension constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	// Turn on debug logging
	DebugLevel int `vic:"0.1" scope:"read-only" key:"init/diagnostics/debug"`
}

Configuration is a slice of the VCH config that is relevant to the vSPC

var Config Configuration

type Vspc

type Vspc struct {
	*telnet.Server
	// contains filtered or unexported fields
}

Vspc is all the vspc singletons

func NewVspc

func NewVspc() *Vspc

NewVspc is the constructor

func (*Vspc) Start

func (vspc *Vspc) Start()

Start starts the vspc server

func (*Vspc) Stop

func (vspc *Vspc) Stop()

Stop stops the vspc server

Jump to

Keyboard shortcuts

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