Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
Image contains an image repository (e.g. "gloo-envoy-wrapper") and tag (e.g. "1.17.0").
The Image struct is provided here so that OSS and Enterprise Gloo Gateway can each inject their default image repo/tag (e.g. "gloo-envoy-wrapper" for OSS, "gloo-ee-envoy-wrapper" for EE), for images that differ between OSS and EE. For now, it's only used for the Envoy wrapper image, but could potentially be used for other images in the future.
Users may override the default OSS/EE Envoy image repo/tag (as well as other fields) completely via a GatewayParameters CR attached to a Gateway.
type K8sGatewayExtensions ¶
type K8sGatewayExtensions interface { // CreatePluginRegistry returns the PluginRegistry CreatePluginRegistry(ctx context.Context, params PluginBuilderParams) registry.PluginRegistry // GetEnvoyImage returns the envoy image and tag used by the proxy deployment. GetEnvoyImage() Image }
K8sGatewayExtensions is responsible for providing implementations for translation utilities which have Enterprise variants.
func NewK8sGatewayExtensions ¶
func NewK8sGatewayExtensions( mgr controllerruntime.Manager, ) (K8sGatewayExtensions, error)
NewK8sGatewayExtensions returns the Open Source implementation of K8sGatewayExtensions
type K8sGatewayExtensionsFactory ¶
type K8sGatewayExtensionsFactory func( mgr controllerruntime.Manager, ) (K8sGatewayExtensions, error)
K8sGatewayExtensionsFactory returns an extensions.K8sGatewayExtensions
type PluginBuilderParams ¶
type PluginBuilderParams struct { RouteOptionClient gatewayv1.RouteOptionClient StatusReporter reporter.StatusReporter }