Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FeatureGates = NewFeatureGate()
FeatureGate is the global feature gate that can be used to check if a feature flag is enabled or disabled
Functions ¶
func NewFeatureGate ¶ added in v0.6.0
func NewFeatureGate() featureFlag
NewFeatureGate gets a new map with the default feature gates for the application
Types ¶
type Feature ¶
type Feature string
Feature is a typed string for a given feature
const ( // GPTBasedUUID feature flag is used to enable the // blockdevice UUID algorithm mentioned in // https://github.com/openebs/openebs/pull/2666 GPTBasedUUID Feature = "GPTBasedUUID" )
Click to show internal directories.
Click to hide internal directories.