Documentation ¶
Overview ¶
Package features sets the feature gates that kpm uses to enable or disable certain features.
Index ¶
Constants ¶
View Source
const (
// SupportMVS is the feature gate for enabling the support for MVS.
SupportMVS = "SupportMVS"
)
Variables ¶
This section is empty.
Functions ¶
func Disable ¶
func Disable(feature string)
Disable disables the specified feature. If the feature is not present, it's a no-op.
func Enable ¶
func Enable(feature string)
Enable enables the specified feature. If the feature is not present, it's a no-op.
func Enabled ¶
Enabled verifies whether the feature is enabled or not.
This is only a wrapper around the Enabled func in pkg/runtime/features, so callers won't need to import both packages for checking whether a feature is enabled.
func FeatureGates ¶
FeatureGates contains a list of all supported feature gates and their default values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.