featureflags

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 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

This section is empty.

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