experimental

package
v1.0.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package experimental defines flags that control experimental features

Index

Constants

View Source
const (
	// BuildDrivers experimental flag
	BuildDrivers   = "build-drivers"
	StructuredLogs = "structured-logs"
)

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 (
	// FlagBuildDrivers indicates if configurable build drivers are enabled.
	FlagBuildDrivers FeatureFlags = iota + 1
	FlagStructuredLogs
)

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