Documentation
¶
Overview ¶
Package featureset defines a set of global features and their rollout status.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableForT ¶
DisableForT disables a feature for testing.
func EnableForT ¶
EnableForT enables a feature for testing.
Types ¶
type Config ¶
type Config struct {
// MinStatus defines the minimum enabled status.
MinStatus string
// Enabled overrides min status and enables a list of features.
Enabled []string
// Disabled overrides min status and disables a list of features.
Disabled []string
}
Config configures the feature set package.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns the default config enabling only stable features.
Click to show internal directories.
Click to hide internal directories.