gatewayapi

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachedRoutesForListeners

type AttachedRoutesForListeners map[gatewayapi.SectionName]attachedRoutes

AttachedRoutesForListeners tracks the relevant status for routes pointing to a listener.

type GatewayClassReconciler

type GatewayClassReconciler struct {
	kube_client.Client
	Log logr.Logger
}

GatewayClassReconciler reconciles a GatewayAPI GatewayClass object.

func (*GatewayClassReconciler) Reconcile

Reconcile handles maintaining the GatewayClass finalizer.

func (*GatewayClassReconciler) SetupWithManager

func (r *GatewayClassReconciler) SetupWithManager(mgr kube_ctrl.Manager) error

type GatewayReconciler

type GatewayReconciler struct {
	kube_client.Client
	Log logr.Logger

	Scheme          *kube_runtime.Scheme
	TypeRegistry    k8s_registry.TypeRegistry
	SystemNamespace string
	ProxyFactory    *containers.DataplaneProxyFactory
	ResourceManager manager.ResourceManager
}

MeshGatewayReconciler reconciles a GatewayAPI MeshGateway object.

func (*GatewayReconciler) Reconcile

Reconcile handles transforming a gateway-api MeshGateway into a Kuma MeshGateway and managing the status of the gateway-api objects.

func (*GatewayReconciler) SetupWithManager

func (r *GatewayReconciler) SetupWithManager(mgr kube_ctrl.Manager) error

type HTTPRouteReconciler

type HTTPRouteReconciler struct {
	kube_client.Client
	Log logr.Logger

	Scheme          *kube_runtime.Scheme
	TypeRegistry    k8s_registry.TypeRegistry
	SystemNamespace string
	ResourceManager manager.ResourceManager
	Zone            string
}

HTTPRouteReconciler reconciles a GatewayAPI object into Kuma-native objects

func (*HTTPRouteReconciler) Reconcile

Reconcile handles transforming a gateway-api HTTPRoute into a Kuma GatewayRoute and managing the status of the gateway-api objects.

func (*HTTPRouteReconciler) SetupWithManager

func (r *HTTPRouteReconciler) SetupWithManager(mgr kube_ctrl.Manager) error

type ListenerConditions

type ListenerConditions map[gatewayapi.SectionName][]kube_meta.Condition

func ValidateListeners

func ValidateListeners(crossMesh bool, listeners []gatewayapi.Listener) ([]gatewayapi.Listener, ListenerConditions)

type ResolvedRefsConditionFalse

type ResolvedRefsConditionFalse struct {
	Reason  string
	Message string
}

func (*ResolvedRefsConditionFalse) AddIfFalseAndNotPresent

func (c *ResolvedRefsConditionFalse) AddIfFalseAndNotPresent(conditions *[]kube_meta.Condition)

type SecretController

type SecretController struct {
	Log                                  logr.Logger
	Client                               kube_client.Client
	SystemNamespace                      string
	SupportGatewaySecretsInAllNamespaces bool
}

SecretController tracks a Kuma Secret copy of Gateway API Secret Whenever Secret is used for TLS termination in Gateway API, we copy this to system namespace. Secret is created in GatewayController, SecretController updates and deletes the secret.

func (*SecretController) Reconcile

func (*SecretController) SetupWithManager

func (r *SecretController) SetupWithManager(mgr kube_ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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