featureflags

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package featureflags is used to determine the state of feature flags

Index

Constants

This section is empty.

Variables

View Source
var AllFeatureFlagEnvVars []string

Functions

func Enabled added in v0.12.0

func Enabled(name FeatureFlagName) bool

Types

type FeatureFlagName added in v0.12.0

type FeatureFlagName string
const (
	TfUpgradeEnabled                 FeatureFlagName = "brokerpak.terraform.upgrades.enabled"
	DynamicHCLEnabled                FeatureFlagName = "brokerpak.updates.enabled"
	DisableRequestPropertyValidation FeatureFlagName = "request.property.validation.disabled"

	// EnableLegacyExamplesCommands enabled the old way of running example tests
	// IF YOU USE THIS, PLEASE RAISE AN ISSUE. Since the new way of running examples was added,
	// the authors don't expect anyone to use the legacy method. Please let us know if you need
	// the old way to stay around.
	EnableLegacyExamplesCommands FeatureFlagName = "legacy.examples.enabled"
)

Jump to

Keyboard shortcuts

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