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 ¶
func (r *GatewayClassReconciler) Reconcile(ctx context.Context, req kube_ctrl.Request) (kube_ctrl.Result, error)
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 ¶
func (r *GatewayReconciler) Reconcile(ctx context.Context, req kube_ctrl.Request) (kube_ctrl.Result, error)
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 ¶
func (r *HTTPRouteReconciler) Reconcile(ctx context.Context, req kube_ctrl.Request) (kube_ctrl.Result, error)
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 ParentConditions ¶
type ParentConditions map[gatewayapi.ParentReference][]kube_meta.Condition
type ResolvedRefsConditionFalse ¶
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) SetupWithManager ¶
func (r *SecretController) SetupWithManager(mgr kube_ctrl.Manager) error