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" )
Click to show internal directories.
Click to hide internal directories.