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." // dump mutate patches DumpMutatePatchesFlagName = "dumpPatches" DumpMutatePatchesDescription = "Set the flag to 'true', to dump mutate patches." )
Variables ¶
View Source
var ( ProtectManagedResources = newToggle(defaultProtectManagedResources, protectManagedResourcesEnvVar) ForceFailurePolicyIgnore = newToggle(defaultForceFailurePolicyIgnore, forceFailurePolicyIgnoreEnvVar) EnableDeferredLoading = newToggle(defaultEnableDeferredLoading, enableDeferredLoadingEnvVar) GenerateValidatingAdmissionPolicy = newToggle(defaultGenerateValidatingAdmissionPolicy, generateValidatingAdmissionPolicyEnvVar) DumpMutatePatches = newToggle(defaultDumpMutatePatches, dumpMutatePatchesEnvVar) )
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.