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/" CtrlmeshIgnoreWebhookLabel = "ctrlmesh.kusionstack.io/ignore-webhook" CtrlmeshIgnoreValidateLabel = "ctrlmesh.kusionstack.io/ignore-validate" CtrlmeshDefaultReplicasLabel = "ctrlmesh.kusionstack.io/default-replicas" CtrlmeshEnableProxyLabel = "ctrlmesh.kusionstack.io/enable-proxy" CtrlmeshEnableIptableMode = "ctrlmesh.kusionstack.io/enable-iptables" 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" CtrlmeshFaultInjectionDisableKey = "faultinjection.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
Variables ¶
This section is empty.
Functions ¶
func IsControlledByMesh ¶ added in v0.2.0
func MeshControlLabel ¶ added in v0.2.0
func MeshControlLabel() string
func NamespaceShardLabel ¶ added in v0.2.0
func NamespaceShardLabel() string
func ShardHashLabel ¶ added in v0.2.0
func ShardHashLabel() string
func ShouldSyncLabels ¶ added in v0.2.0
func ShouldSyncLabels() []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.