Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FeatGateEnvVarsPrefix = caps.ToScreamingSnake(common.Brand) + "_FEAT_" // Contains all defined feature gates. FeatGates = []*FeatGate{} FeatGatePeriodicStackTraces = NewFeatGate( "periodic-stack-traces", `Print stack traces periodically to help with debugging deadlocks and other issues`, ) FeatGateTypescript = NewFeatGate( "typescript", `Enable TypeScript chart rendering from ts/ directory`, ) FeatGateAdoptDeckhouseControllerFields = NewFeatGate( "adopt-deckhouse-controller-fields", `Adopt managed fields owned by the legacy "deckhouse-controller" field manager (the pre-nelm Helm 3 engine). Unsafe if any resource still has hook-owned "deckhouse-controller" entries`, ) )
Functions ¶
This section is empty.
Types ¶
type FeatGate ¶
A feature gate, which enabled/disables a specific feature. Can be toggled via an env var or programmatically.
func NewFeatGate ¶
func (*FeatGate) EnvVarName ¶
Click to show internal directories.
Click to hide internal directories.