Documentation
¶
Overview ¶
Package featureflags implements routines to check if a given feature is enabled.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize(optionalFeatures OptionalFeatures)
Initialize initializes the feature flag options
func IsWASMStatsEnabled ¶ added in v0.8.0
func IsWASMStatsEnabled() bool
IsWASMStatsEnabled returns a boolean indicating if custom stats will be generated by a WASM extension to Envoy
Types ¶
type OptionalFeatures ¶
type OptionalFeatures struct {
WASMStats bool
}
OptionalFeatures is a struct to enable/disable optional features
var ( // Features describes whether an optional feature is enabled Features OptionalFeatures )
Click to show internal directories.
Click to hide internal directories.