package feature

import "github.com/influxdata/flux/internal/feature"

Index

Functions

func Inject

func Inject(ctx context.Context, flagger Flagger) context.Context

Inject will inject the Flagger into the context.

func SetMetrics

func SetMetrics(m Metrics)

SetMetrics sets the metric store for feature flags.

Types

type BoolFlag

type BoolFlag = feature.BoolFlag

func AggregateTransformationTransport

func AggregateTransformationTransport() BoolFlag

AggregateTransformationTransport - Enable Transport interface for AggregateTransformation

func GroupTransformationGroup

func GroupTransformationGroup() BoolFlag

GroupTransformationGroup - Enable GroupTransformation interface for the group function

func LabelPolymorphism

func LabelPolymorphism() BoolFlag

LabelPolymorphism - Enables label polymorphism in the type system

func NarrowTransformationDifference

func NarrowTransformationDifference() BoolFlag

NarrowTransformationDifference - Enable the NarrowTransformation implementation of difference

func NarrowTransformationFill

func NarrowTransformationFill() BoolFlag

NarrowTransformationFill - Enable the NarrowTransformation implementation of Fill

func OptimizeAggregateWindow

func OptimizeAggregateWindow() BoolFlag

OptimizeAggregateWindow - Enables a version of aggregateWindow written in Go

func OptimizeSetTransformation

func OptimizeSetTransformation() BoolFlag

OptimizeSetTransformation - Enables a version of set that is optimized

func OptimizeUnionTransformation

func OptimizeUnionTransformation() BoolFlag

OptimizeUnionTransformation - Optimize the union transformation

func PrettyError

func PrettyError() BoolFlag

PrettyError - Enables formatting with codespan for errors

func SalsaDatabase

func SalsaDatabase() BoolFlag

SalsaDatabase - Enables the salsa database for semantic analysis

func Strictnulllogicalops

func Strictnulllogicalops() BoolFlag

Strictnulllogicalops - When enabled, nulls in logical expressions should match the behavior language spec.

func UnusedSymbolWarnings

func UnusedSymbolWarnings() BoolFlag

UnusedSymbolWarnings - Enables warnings for unused symbols

type Flag

type Flag = feature.Flag

func ByKey

func ByKey(k string) (Flag, bool)

ByKey returns the Flag corresponding to the given key.

func Flags

func Flags() []Flag

Flags returns all feature flags.

type Flagger

type Flagger = feature.Flagger

type FloatFlag

type FloatFlag = feature.FloatFlag

type IntFlag

type IntFlag = feature.IntFlag

func QueryConcurrencyIncrease

func QueryConcurrencyIncrease() IntFlag

QueryConcurrencyIncrease - Additional dispatcher workers to allocate on top of the minimimum allowable computed by the engine

type Metrics

type Metrics = feature.Metrics

type StringFlag

type StringFlag = feature.StringFlag

Source Files

flags.go gen.go

Version
v0.196.1 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
1 day ago

Tools for package owners.