features

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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'.

func PopulateFeatures added in v0.6.0

func PopulateFeatures(ctx context.Context, config *rest.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL