featureflags

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

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
)

Jump to

Keyboard shortcuts

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