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" )
Click to show internal directories.
Click to hide internal directories.