Documentation ¶
Overview ¶
Package experimental defines flags that control experimental features
Index ¶
Constants ¶
View Source
const ( // NoopFeature is a placeholder feature flag that allows us to test our feature flag functions even when there are no active feature flags NoopFeature = "no-op" // DependenciesV2 is the name of the experimental feature flag for PEP003 - Advanced Dependencies. DependenciesV2 = "dependencies-v2" // FullControlDockerfile is the name of the experimental feature flag giving authors full control of the bundle image Dockerfile FullControlDockerfile = "full-control-dockerfile" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureFlags ¶
type FeatureFlags int
FeatureFlags is an enum of possible feature flags
const ( // FlagNoopFeature is a placeholder feature flag that allows us to test our feature flag functions even when there are no active feature flags FlagNoopFeature FeatureFlags = iota + 1 // FlagDependenciesV2 gates the changes from PEP003 - Advanced Dependencies. FlagDependenciesV2 // FlagFullControlDockerfile gates the changes required for giving authors full control of the bundle image Dockerfile FlagFullControlDockerfile )
func ParseFlags ¶
func ParseFlags(flags []string) FeatureFlags
ParseFlags converts a list of feature flag names into a bit map for faster lookups.
Click to show internal directories.
Click to hide internal directories.