Documentation
¶
Index ¶
- func IsFeatureGateSupported(featureGate, version string) (bool, error)
- func ValidateFeatureGates(featureGates map[string]bool, version string, fldPath *field.Path) field.ErrorList
- func ValidateVpaFeatureGates(featureGates map[string]bool, fldPath *field.Path) field.ErrorList
- type FeatureGateVersionRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFeatureGateSupported ¶
IsFeatureGateSupported returns true if the given feature gate is supported for the given Kubernetes version. A feature gate is only supported if it's a known feature gate and its version range contains the given Kubernetes version.
Types ¶
type FeatureGateVersionRange ¶
type FeatureGateVersionRange struct {
versionutils.VersionRange
LockedValue bool
LockedToDefaultInVersion string
}
FeatureGateVersionRange represents a version range of type [AddedInVersion, RemovedInVersion).
Click to show internal directories.
Click to hide internal directories.