features

package
v0.0.0-...-a6c227c Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Close connection if necessary
	CloseConnectionWhenIdle featuregate.Feature = "CloseConnectionWhenIdle"

	// Deny all reqeusts and make cluster temporary down
	DenyAllRequests featuregate.Feature = "DenyAllRequests"

	// GlobalRateLimiter enable remote limiter for proxy
	GlobalRateLimiter featuregate.Feature = "GlobalRateLimiter"

	// Tracing enable proxy tracing for trace log and trace metric
	Tracing featuregate.Feature = "Tracing"
)

Variables

View Source
var (
	// DefaultMutableFeatureGate is a mutable version of DefaultFeatureGate.
	// Only top-level commands/options setup and the k8s.io/component-base/featuregate/testing package should make use of this.
	// Tests that need to modify feature gates for the duration of their test should use:
	//   defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.<FeatureName>, <value>)()
	DefaultMutableFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate()

	// DefaultFeatureGate is a shared global FeatureGate.
	// Top-level commands/options setup that needs to modify this feature gate should use DefaultMutableFeatureGate.
	DefaultFeatureGate featuregate.FeatureGate = DefaultMutableFeatureGate

	// featureGate annotation key
	FeatureGateAnnotationKey = "proxy.kubegateway.io/feature-gates"
)

Functions

func IsDefault

func IsDefault(fg featuregate.FeatureGate) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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