extensions

package
v1.17.0-beta18 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	Repository string
	Tag        string
}

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) 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

Jump to

Keyboard shortcuts

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