constants

package
v1.5.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SerialOverLANPort  = 2377
	VchAdminPortalPort = 2378
	AttachServerPort   = 2379
	ManagementHostName = "management.localhost"
	ClientHostName     = "client.localhost"

	// DebugPortLayerPort defines the portlayer port while debug level is greater than 2
	DebugPortLayerPort = 2380

	// BridgeScopeType denotes a scope that is of type bridge
	BridgeScopeType = "bridge"
	// ExternalScopeType denotes a scope that is of type external
	ExternalScopeType = "external"
	// DefaultBridgeRange is the default pool for bridge networks
	DefaultBridgeRange = "172.16.0.0/12"
	// PortsOpenNetwork indicates no port blocking
	PortsOpenNetwork = "0-65535"
	// Constants for assemble the VM display name on vSphere
	MaxVMNameLength = 80
	ShortIDLen      = 12

	PropertyCollectorTimeout = 3 * time.Minute

	// Temporary names until they're altered to actual URLs.
	ContainerStoreName = "container"
	VolumeStoreName    = "volume"

	// volume mode flag
	Mode = "Mode"

	// PCI Slot Number logic
	PCISlotNumberBegin int32 = 0x4A0
	PCISlotNumberEnd   int32 = 1 << 11
	PCISlotNumberInc   int32 = 1 << 5

	// NilSlot is an invalid PCI slot number
	NilSlot int32 = 0

	// All paths on the datastore for images are relative to <datastore>/VIC/
	StorageParentDir = "VIC"

	// Key-value storage directory.
	KVStoreFolder = "kvStores"

	// All volumes are stored in this directory.
	VolumesDir = "volumes"

	// Scratch layer ID
	ScratchLayerID = "scratch"

	// Task States
	TaskRunningState = "running"
	TaskStoppedState = "stopped"
	TaskCreatedState = "created"
	TaskFailedState  = "failed"
	TaskUnknownState = "unknown"
)

VCH constants

View Source
const (
	DefaultBaseImageScratchSize = "8GB"
	DefaultEndpointMemoryMB     = 2048
)

Variables

This section is empty.

Functions

func DefaultAltContainerGuestName

func DefaultAltContainerGuestName() string

func DefaultAltVCHGuestName

func DefaultAltVCHGuestName() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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