featuregate

package
v0.1.65 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AROHCPManagedIdentities is a feature gate for enabling HCP components to authenticate with Azure by client certificate
	// owner: @username
	// alpha: v0.1.49
	// beta x.y.z
	AROHCPManagedIdentities featuregate.Feature = "AROHCPManagedIdentities"

	// OpenStack is a feature gate for running clusters on OpenStack.
	// owner: @username
	// alpha: v0.1.49
	// beta: x.y.z
	OpenStack featuregate.Feature = "OpenStack"
)

Define new featuregates here

Variables

This section is empty.

Functions

func ConfigureFeatureSet added in v0.1.58

func ConfigureFeatureSet(featureSet string)

ConfigureFeatureSet is used to configure the feature gates and feature set based on the provided featureSet. The provided featureSet must be a known feature set name. ConfigureFeatureSet should only be called once on startup. ConfigureFeatureSet is not thread-safe.

func FeatureSet added in v0.1.58

func FeatureSet() configv1.FeatureSet

FeatureSet returns the currently configured feature set.

func Gate added in v0.1.58

Gate returns the currently configured featuregates. Useful for determining what feature gates are enabled or configuring the feature gates. Example: Gate().Enabled("Foo")

Types

This section is empty.

Jump to

Keyboard shortcuts

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