featuregates

package
v2.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KnativeFeature is the name of the feature-gate for enabling/disabling Knative.
	KnativeFeature = "Knative"

	// GatewayFeature is the name of the feature-gate for enabling/disabling GatewayFeature APIs.
	GatewayFeature = "Gateway"

	// GatewayAlphaFeature is the name of the feature-gate for enabling or
	// disabling the Alpha maturity APIs and relevant features for Gateway API.
	GatewayAlphaFeature = "GatewayAlpha"

	// CombinedRoutesFeature is the name of the feature-gate for the newer object
	// translation logic that will combine routes for kong services when translating
	// objects like Ingress instead of creating a route per path.
	CombinedRoutesFeature = "CombinedRoutes"

	// DocsURL provides a link to the documentation for feature gates in the KIC repository.
	DocsURL = "https://github.com/Kong/kubernetes-ingress-controller/blob/main/FEATURE_GATES.md"
)

Variables

This section is empty.

Functions

func GetFeatureGatesDefaults

func GetFeatureGatesDefaults() map[string]bool

GetFeatureGatesDefaults initializes a feature gate map given the currently supported feature gates options and derives defaults for them based on manager configuration options if present.

NOTE: if you're adding a new feature gate, it needs to be added here.

func Setup

func Setup(setupLog logr.Logger, featureGates map[string]bool) (map[string]bool, error)

Setup converts feature gates to controller enablement.

Types

This section is empty.

Jump to

Keyboard shortcuts

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