Documentation ¶
Index ¶
Constants ¶
View Source
const ( NodeFeatureDiscoveryOperator featuregate.Feature = "NodeFeatureDiscoveryOperator" GPUOperator featuregate.Feature = "GPUOperator" )
Variables ¶
View Source
var ( DefaultMutableFeatureGate = featuregate.NewFeatureGate() ErrUnknownFeatureGate = errors.New("unknown feature gate") FeatureList *featureflags.FeatureList )
Functions ¶
func PatchFeatureGatesInWorkload ¶
func PatchFeatureGatesInWorkload(obj *unstructured.Unstructured, containerName string) error
Patches the given workload object to append the '--feature-gates=...' argument to the container with name containerName. The object must have the unstructured path 'spec/template/spec/containers/<containerName>/args'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.