experimental

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

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"
)

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
)

func ParseFlags

func ParseFlags(flags []string) FeatureFlags

ParseFlags converts a list of feature flag names into a bit map for faster lookups.

Jump to

Keyboard shortcuts

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