constant

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultKubeVersion     = "1.16.3"
	DefaultServiceSubnet   = "10.112.0.0/16"
	DefaultPodSubnet       = "10.120.0.0/16"
	DefaultPkgMirror       = "mirrors.aliyun.com"
	DefaultImageRepository = "docker.io/kpaas"
)
View Source
const (
	RequestID = "X-ReqId"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResult

type CheckResult string // Check node result
const (
	CheckResultPending              CheckResult = "pending"
	CheckResultRunning              CheckResult = "running"
	CheckResultSuccessful           CheckResult = "successful"
	CheckResultFailed               CheckResult = "failed"
	CheckResultDeployServiceUnknown CheckResult = "unknown(deploy)"
)

type MachineRole

type MachineRole string
const (
	MachineRoleMaster  MachineRole = "master"  // Master role
	MachineRoleWorker  MachineRole = "worker"  // Worker role
	MachineRoleEtcd    MachineRole = "etcd"    // etcd role
	MachineRoleIngress MachineRole = "ingress" // ingress role
)

type OperationStatus

type OperationStatus string

OperationStatus represents the status of check/deploy/.... operations

const (
	OperationStatusPending    OperationStatus = "pending"
	OperationStatusRunning    OperationStatus = "running"
	OperationStatusSuccessful OperationStatus = "successful"
	OperationStatusFailed     OperationStatus = "failed"
	OperationStatusAborted    OperationStatus = "aborted"
	OperationStatusUnknown    OperationStatus = "unknown"
)

Jump to

Keyboard shortcuts

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