featureflags

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 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

func Enabled(name FeatureFlagName) bool

Types

type FeatureFlagName

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