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.
Click to show internal directories.
Click to hide internal directories.