Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvEnableWebhookServer = "ENABLE_WEBHOOK_SERVER" EnvEnableCalculateRunnable = "ENABLE_CALCULATE_RUNNABLE" EnvTestMode = "ENV_TEST_MODE" EnvGlobalSelector = "GLOBAL_SELECTOR" EnvWatchOnLimit = "WATCH_ON_LIMIT" )
Environments
View Source
const ( CtrlmeshControlPrefix = "ctrlmesh.kusionstack.io/" CtrlmeshShardHashKey = "ctrlmesh.kusionstack.io/shard-hash" CtrlmeshControlKey = "ctrlmesh.kusionstack.io/control" CtrlmeshNamespaceKey = "ctrlmesh.kusionstack.io/namespace" CtrlmeshIgnoreWebhookLabel = "ctrlmesh.kusionstack.io/ignore-webhook" CtrlmeshIgnoreValidateLabel = "ctrlmesh.kusionstack.io/ignore-validate" CtrlmeshDefaultReplicasLabel = "ctrlmesh.kusionstack.io/default-replicas" CtrlmeshEnableProxyLabel = "ctrlmesh.kusionstack.io/enable-proxy" CtrlmeshAutoShardingRootLabel = "ctrlmesh.kusionstack.io/auto-sharding-root" CtrlmeshInRollingLabel = "ctrlmesh.kusionstack.io/rolling" CtrlmeshDisableFakeKubeconfigArgLabel = "ctrlmesh.kusionstack.io/disable-fake-kubeconfig-arg" CtrlmeshDisableFakeKubeconfigEnvLabel = "ctrlmesh.kusionstack.io/disable-fake-kubeconfig-env" CtrlmeshWatchOnLimitLabel = "ctrlmesh.kusionstack.io/watching" CtrlmeshProxyKubeConfigVolumeLabel = "ctrlmesh.kusionstack.io/kubeconfig-volume" CtrlmeshCircuitBreakerDisableKey = "circuitbreaker.ctrlmesh.kusionstack.io/disable" )
Labels
View Source
const ( CtrlmeshAutoShardingHashAnno = "ctrlmesh.kusionstack.io/auto-sharding-hash" CtrlmeshRollingStatusAnno = "ctrlmesh.kusionstack.io/roll-status" CtrlmeshRollingExpectedAnno = "ctrlmesh.kusionstack.io/roll-expected" CtrlmeshWebhookEnvConfigAnno = "ctrlmesh.kusionstack.io/env-sync" CtrlmeshEnvInjectAnno = "ctrlmesh.kusionstack.io/env-inject" CtrlmeshProxyContainerResourceAnno = "ctrlmesh.kusionstack.io/proxy-resource" )
Annotations
View Source
const (
ProtectFinalizer = "finalizer.ctrlmesh.kusionstack.io/protected"
)
Finalizers
View Source
const (
ShardingConfigMapName = "ctrlmesh-sharding-config"
)
Name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.