experimental

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExperimentalFeatureEnvKey is the environment variable key used to enable experimental features.
	ExperimentalFeatureEnvKey = "FLIGHTCTL_EXPERIMENTAL_FEATURES_ENABLED"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Features

type Features struct {
	// contains filtered or unexported fields
}

Features represents the experimental features.

func NewFeatures

func NewFeatures() *Features

NewFeatures creates a new experimental Features. The experimental features are enabled if the FLIGHTCTL_EXPERIMENTAL_FEATURES_ENABLED environment variable is set.

func (*Features) IsEnabled

func (f *Features) IsEnabled() bool

IsEnabled returns true if the experimental features are enabled.

Jump to

Keyboard shortcuts

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