Documentation ¶
Index ¶
Constants ¶
View Source
const ( // protect managed resource ProtectManagedResourcesFlagName = "protectManagedResources" ProtectManagedResourcesDescription = "Set the flag to 'true', to enable managed resources protection." // force failure policy ignore ForceFailurePolicyIgnoreFlagName = "forceFailurePolicyIgnore" ForceFailurePolicyIgnoreDescription = "Set the flag to 'true', to force set Failure Policy to 'ignore'." // enable deferred context loading EnableDeferredLoadingFlagName = "enableDeferredLoading" EnableDeferredLoadingDescription = "enable deferred loading of context variables" // generate validating admission policies GenerateValidatingAdmissionPolicyFlagName = "generateValidatingAdmissionPolicy" GenerateValidatingAdmissionPolicyDescription = "Set the flag to 'true', to generate validating admission policies." )
Variables ¶
View Source
var ( ProtectManagedResources = newToggle(defaultProtectManagedResources, protectManagedResourcesEnvVar) ForceFailurePolicyIgnore = newToggle(defaultForceFailurePolicyIgnore, forceFailurePolicyIgnoreEnvVar) EnableDeferredLoading = newToggle(defaultEnableDeferredLoading, enableDeferredLoadingEnvVar) GenerateValidatingAdmissionPolicy = newToggle(defaultGenerateValidatingAdmissionPolicy, generateValidatingAdmissionPolicyEnvVar) )
Functions ¶
Types ¶
type Toggle ¶ added in v1.8.0
type Toggle interface { ToggleFlag // contains filtered or unexported methods }
type ToggleFlag ¶ added in v1.10.5
Click to show internal directories.
Click to hide internal directories.