featureflags

package
v0.999.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FeatureFlagsKey is the key used in the ConfigMap to store feature flags.
	FeatureFlagsKey = "featureFlags"
	// EnableNetworkPolicyKey is the key for the network policy feature flag.
	EnableNetworkPolicyKey = "enableNetworkPolicy"
	// NetworkPolicyDefaultValue is the default value for the network policy feature flag.
	NetworkPolicyDefaultValue = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureFlag

type FeatureFlag struct {
	Enabled bool `yaml:"enabled"`
}

type FeatureFlags

type FeatureFlags struct {
	// EnableNetworkPolicy controls whether NetworkPolicy resources should be created.
	EnableNetworkPolicy FeatureFlag `yaml:"enableNetworkPolicy"`
}

FeatureFlags represents the configuration for feature flags in the operator. Add more feature flags later.

Jump to

Keyboard shortcuts

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