package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

CheckEnabled checks whether a specific feature has been enabled or disabled via its cluster settings, and returns an error if it has been disabled.
NewFeatureFlagMetrics constructs a new FeatureFlagMetrics metric.Struct.

# Constants

FeatureFlagEnabledDefault is used for the default value of all feature flag cluster settings.

# Structs

DenialMetrics is a struct corresponding to any metrics related to feature flag denials.

# Interfaces

Config is an interface used to pass required values from ExecutorConfig to check if a feature flag is enabled.