Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelKeyNamespace = "namespace" LabelKeyService = "service" LabelKeyApp = "app" LabelKeyName = "name" )
special labels define
View Source
const ( EnvironmentPriority = "PRIORITY" EnvironmentMinNumber = "MIN_NUMBER" )
special Environment define
View Source
const ( TaskTypeCreateContainer = iota TaskTypeDestroyContainer TaskTypeStartContainer TaskTypeStopContainer )
tasks
View Source
const ( EnvTaskTypeKey = "TASK_TYPE" EnvTaskStart = "start" EnvTaskStop = "stop" EnvTaskCreate = "create" EnvTaskDestroy = "destroy" )
TASK_TYPE
View Source
const ( Affinity = "affinity" Constraint = "constraint" Applots = "applots" )
affinity and constaint
View Source
const ( DefaultAppLots = 1 DefaultPriority = -1 // prevent seize all containers in cluster, when ... DefaultMinNum = 0 )
default app lots
View Source
const EnvStopTimeout = "STOP_TIMEOUT"
EnvStopTimeout Stop time out
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.