Help us shape the future of Go! Take the 2026 Go Developer Survey

feature

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// MutateDisableNTP enables the mutation that disables NTP if any worker's flatcar image version is greater than or equal to `FlatcarImageVersion`
	MutateDisableNTP featuregate.Feature = "MutateDisableNTP"
	// EnsureSTACKITLBDeletion enables the STACKIT LB deletion cleanup. The function checks for dangling/zombied LB's and then tries to delete them.
	EnsureSTACKITLBDeletion featuregate.Feature = "EnsureSTACKITLBDeletion"
	// UseSTACKITAPIInfrastructureController Uses the STACKIT API to create the shoot resources instead of OpenStack.
	UseSTACKITAPIInfrastructureController featuregate.Feature = "UseSTACKITAPIInfrastructureController"
	// UseSTACKITMachineControllerManager Uses the STACKIT machine controller Manager to manage nodes.
	UseSTACKITMachineControllerManager featuregate.Feature = "UseSTACKITMachineControllerManager"
	// ShootUseSTACKITMachineControllerManager Uses the STACKIT machine controller Manager to manage nodes for a specific Shoot.
	ShootUseSTACKITMachineControllerManager = "shoot.gardener.cloud/use-stackit-machine-controller-manager"
	// ShootUseSTACKITAPIInfrastructureController Uses the STACKIT API to create the shoot resources instead of OpenStack for a specific Shoot.
	ShootUseSTACKITAPIInfrastructureController = "shoot.gardener.cloud/use-stackit-api-infrastructure-controller"
	// EnableSTACKITWorkloadIdentity activates the deployment of the stackit-pod-identity-webhook to enable workload identity injection into pods.
	EnableSTACKITWorkloadIdentity featuregate.Feature = "EnableSTACKITWorkloadIdentity"
)

Variables

View Source
var (
	// MutableGate is the central feature gate map for the gardener-extension-provider-stackit that can be
	// mutated. It is automatically initialized with all known features.
	// Use this only if you need to set the feature enablement state (i.e., in
	// the entrypoint or in tests). For determining whether a feature
	// gate is enabled, use Gate instead.
	MutableGate = featuregate.NewFeatureGate()

	// Gate is the central feature gate map.
	// Use this for checking if a feature is enabled, e.g.:
	//  if feature.Gate.Enabled(feature.MyFeature) { ... }
	Gate featuregate.FeatureGate = MutableGate
)

Functions

func UseStackitAPIInfrastructureController

func UseStackitAPIInfrastructureController(cluster *extensionscontroller.Cluster) bool

func UseStackitMachineControllerManager

func UseStackitMachineControllerManager(cluster *extensionscontroller.Cluster) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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