type Feature …
const flagName …
const allAlphaGate …
const allBetaGate …
var defaultFeatures …
var specialFeatures …
type FeatureSpec …
type VersionedSpecs …
func (g VersionedSpecs) Len() int { … }
func (g VersionedSpecs) Less(i, j int) bool { … }
func (g VersionedSpecs) Swap(i, j int) { … }
type PromotionVersionMapping …
type prerelease …
const PreAlpha …
const Alpha …
const Beta …
const GA …
const Deprecated …
type FeatureGate …
type MutableFeatureGate …
type MutableVersionedFeatureGate …
type featureGate …
func setUnsetAlphaGates(known map[Feature]VersionedSpecs, enabled map[Feature]bool, val bool, cVer *version.Version) { … }
func setUnsetBetaGates(known map[Feature]VersionedSpecs, enabled map[Feature]bool, val bool, cVer *version.Version) { … }
var _ …
var internalPackages …
func NewVersionedFeatureGate(emulationVersion *version.Version) *featureGate { … }
func NewFeatureGate() *featureGate { … }
func (f *featureGate) Set(value string) error { … }
func (f *featureGate) Validate() []error { … }
func (f *featureGate) unsafeSetFromMap(enabled map[Feature]bool, m map[string]bool, emulationVersion *version.Version) []error { … }
func (f *featureGate) SetFromMap(m map[string]bool) error { … }
func (f *featureGate) String() string { … }
func (f *featureGate) Type() string { … }
func (f *featureGate) Add(features map[Feature]FeatureSpec) error { … }
func (f *featureGate) AddVersioned(features map[Feature]VersionedSpecs) error { … }
func (f *featureGate) OverrideDefault(name Feature, override bool) error { … }
func (f *featureGate) OverrideDefaultAtVersion(name Feature, override bool, ver *version.Version) error { … }
func (f *featureGate) GetAll() map[Feature]FeatureSpec { … }
func (f *featureGate) GetAllVersioned() map[Feature]VersionedSpecs { … }
func (f *featureGate) SetEmulationVersion(emulationVersion *version.Version) error { … }
func (f *featureGate) EmulationVersion() *version.Version { … }
func (f *featureGate) featureSpec(key Feature) (FeatureSpec, error) { … }
func (f *featureGate) unsafeRecordQueried(key Feature) { … }
func featureEnabled(key Feature, enabled map[Feature]bool, known map[Feature]VersionedSpecs, emulationVersion *version.Version) bool { … }
func (f *featureGate) Enabled(key Feature) bool { … }
func (f *featureGate) featureSpecAtEmulationVersion(v VersionedSpecs) *FeatureSpec { … }
func featureSpecAtEmulationVersion(v VersionedSpecs, emulationVersion *version.Version) *FeatureSpec { … }
func (f *featureGate) Close() { … }
func (f *featureGate) AddFlag(fs *pflag.FlagSet) { … }
func (f *featureGate) AddMetrics() { … }
func (f *featureGate) KnownFeatures() []string { … }
func (f *featureGate) DeepCopyAndReset() MutableVersionedFeatureGate { … }
func (f *featureGate) DeepCopy() MutableVersionedFeatureGate { … }
func (f *featureGate) ExplicitlySet(name Feature) bool { … }
func (f *featureGate) ResetFeatureValueToDefault(name Feature) error { … }