Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FeatureGates = NewFeatureGate()
FeatureGates 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" // APIService feature flag starts the GRPC server which provides functionality to manage block devices APIService Feature = "APIService" UseOSDisk Feature = "UseOSDisk" // ChangeDetection is used to enable detecting changes to // blockdevice size, filesystem, and mount-points. ChangeDetection Feature = "ChangeDetection" )
Click to show internal directories.
Click to hide internal directories.