Documentation
¶
Index ¶
Constants ¶
View Source
const ( // XtrabackupSidecar is a feature flag for the XtrabackupSidecar feature XtrabackupSidecar featuregate.Feature = "XtrabackupSidecar" )
Variables ¶
This section is empty.
Functions ¶
func Enabled ¶
func Enabled(ctx context.Context, f featuregate.Feature) bool
Enabled indicates if a Feature is enabled in the Gate contained in ctx. It returns false when there is no Gate.
func NewContextWithGate ¶
func NewContextWithGate(ctx context.Context, gate featuregate.FeatureGate) context.Context
NewContextWithGate returns a copy of ctx containing gate. Check it using Enabled.
func ShowAssigned ¶
ShowAssigned returns the features enabled or disabled by Set and SetFromMap in the Gate contained in ctx.
func ShowEnabled ¶
ShowEnabled returns all the features enabled in the Gate contained in ctx.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.