Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sGatewayExtensions ¶
type K8sGatewayExtensions interface { // CreatePluginRegistry exposes the plugins supported by this implementation. CreatePluginRegistry(context.Context) registry.PluginRegistry // GetTranslator allows an extension to provide custom translation for // different gateway classes. GetTranslator(context.Context, *apiv1.Gateway, registry.PluginRegistry) translator.K8sGwTranslator }
K8sGatewayExtensions is responsible for providing implementations for translation utilities which have Enterprise variants.
func NewK8sGatewayExtensions ¶
func NewK8sGatewayExtensions( _ context.Context, params K8sGatewayExtensionsFactoryParameters, ) (K8sGatewayExtensions, error)
NewK8sGatewayExtensions returns the Open Source implementation of K8sGatewayExtensions
type K8sGatewayExtensionsFactory ¶
type K8sGatewayExtensionsFactory func( ctx context.Context, params K8sGatewayExtensionsFactoryParameters, ) (K8sGatewayExtensions, error)
K8sGatewayExtensionsFactory returns an extensions.K8sGatewayExtensions
type K8sGatewayExtensionsFactoryParameters ¶
type K8sGatewayExtensionsFactoryParameters struct { Mgr controllerruntime.Manager AuthConfigClient v1.AuthConfigClient RouteOptionClient gatewayv1.RouteOptionClient VirtualHostOptionClient gatewayv1.VirtualHostOptionClient StatusReporter reporter.StatusReporter KickXds func(ctx context.Context) }
K8sGatewayExtensionsFactoryParameters contains the parameters required to start Gloo K8s Gateway Extensions (including Translator Plugins)
Click to show internal directories.
Click to hide internal directories.