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

feature

package
v2.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// 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"
	// EnsureSTACKITALBDeletion enables the STACKIT ALB deletion cleanup. The function checks for dangling/zombied ALB's and then tries to delete them.
	EnsureSTACKITALBDeletion featuregate.Feature = "EnsureSTACKITALBDeletion"
	// 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"
	// MigrateSTACKITMachineControllerManager Migrates the existing openstack machines to stackit. Only works if feature gate UseSTACKITMachineControllerManager is enabled.
	MigrateSTACKITMachineControllerManager featuregate.Feature = "MigrateSTACKITMachineControllerManager"
	// ShootUseSTACKITMachineControllerManager Uses the STACKIT machine controller Manager to manage nodes for a specific Shoot.
	ShootUseSTACKITMachineControllerManager = "shoot.gardener.cloud/use-stackit-machine-controller-manager"
	// ShootMigrateSTACKITMachineControllerManager Migrates the existing openstack machines to stackit. Only works if feature gate UseSTACKITMachineControllerManager is enabled.
	ShootMigrateSTACKITMachineControllerManager = "shoot.gardener.cloud/migrate-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 MigrateStackitMachineControllerManager added in v2.24.0

func MigrateStackitMachineControllerManager(cluster *extensionscontroller.Cluster) bool

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