features

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL