gatewayapi

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 37 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
}

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(listeners []gatewayapi.Listener) ([]gatewayapi.Listener, ListenerConditions)

type ResolvedRefsConditionFalse

type ResolvedRefsConditionFalse struct {
	Reason  string
	Message string
}

type SecretController

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

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