config_utils

package
v0.0.0-...-4b46b71 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFeatureFlagToConfig

func AddFeatureFlagToConfig(engine workflow.Engine, configKey string, featureFlagName string)

func AddFeatureFlagsToConfig

func AddFeatureFlagsToConfig(
	engine workflow.Engine,
	configKeyToFlag map[string]string,
)

func GetFeatureFlagValue

func GetFeatureFlagValue(featureFlagName string, config configuration.Configuration, httpClient *http.Client) (bool, error)

func IsExperimental

func IsExperimental(flags *pflag.FlagSet) bool

IsExperimental checks if the flagset requires the experimental flag

func MarkAsExperimental

func MarkAsExperimental(flags *pflag.FlagSet) *pflag.FlagSet

MarkAsExperimental ensures that the flagset requires the experimental flag

func MarkAsUsedToBeExperimental

func MarkAsUsedToBeExperimental(flags *pflag.FlagSet) *pflag.FlagSet

MarkAsUsedToBeExperimental ensures that the flagset accepts the experimental flag but marks it as deprecated

Types

type SanityCheckResult

type SanityCheckResult struct {
	Description string
}

func CheckSanity

func CheckSanity(config configuration.Configuration) []SanityCheckResult

Jump to

Keyboard shortcuts

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