featuregates

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 (
	ExternalOIDCWithUIDAndExtraClaimMappings featuregate.Feature = "ExternalOIDCWithUIDAndExtraClaimMappings"
)

Define new featuregates here

Variables

This section is empty.

Functions

func ConfigureFeatureSet

func ConfigureFeatureSet(featureSet string)

ConfigureFeatureSet is used to configure the feature gates 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 Gate

func Gate() featuregate.FeatureGate

Gate returns the currently configured featuregates. Useful for determining what feature gates are enabled. 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