gateway

package
v0.3.32 Latest Latest
Warning

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

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

Documentation

Overview

Package gateway implements Gateway API controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(scheme *runtime.Scheme)

Types

type GatewayReconciler

type GatewayReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

GatewayReconciler reconciles a Proxy object.

func NewGatewayReconciler

func NewGatewayReconciler(
	c client.Client,
	pr *message.ProviderResources,
	opts ...Option,
) *GatewayReconciler

NewGatewayReconciler returns a new reconciler for Gateway API resources.

func (*GatewayReconciler) Reconcile

func (r *GatewayReconciler) Reconcile(ctx context.Context, request reconcile.Request) (ctrl.Result, error)

Reconcile implements reconcile.Reconciler.

func (*GatewayReconciler) SetupWithManager

func (r *GatewayReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Controller Manager.

type Option added in v0.3.30

type Option func(*GatewayReconciler)

func WithKubeAPI added in v0.3.30

func WithKubeAPI() Option

WithKubeAPI enables watching for K8s resources.

Jump to

Keyboard shortcuts

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