controllers

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package controllers contains the controllers which manage the lifecycle of the resources relevant to the operator, such as DataPlanes and ControlPlane resources.

Index

Constants

View Source
const (
	// DataPlaneFinalizer is the finalizer which indicates that an object needs to
	// have its configuration removed from the dataplane before it can be deleted.
	DataPlaneFinalizer = "blixt/dataplane-configuration"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayClassReconciler

type GatewayClassReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

GatewayClassReconciler reconciles a GatewayClass object

func (*GatewayClassReconciler) Reconcile

func (r *GatewayClassReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile provisions (and de-provisions) resources relevant to this controller.

func (*GatewayClassReconciler) SetupWithManager

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

SetupWithManager loads the controller into the provided controller manager.

type GatewayReconciler

type GatewayReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger
}

GatewayReconciler reconciles a Gateway object

func (*GatewayReconciler) Reconcile

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

Reconcile provisions (and de-provisions) resources relevant to this controller. TODO: this whole thing needs a rewrite

func (*GatewayReconciler) SetupWithManager

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

SetupWithManager loads the controller into the provided controller manager.

type TCPRouteReconciler

type TCPRouteReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

TCPRouteReconciler reconciles a TCPRoute object

func (*TCPRouteReconciler) Reconcile

func (r *TCPRouteReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles TCPRoute object

func (*TCPRouteReconciler) SetupWithManager

func (r *TCPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type UDPRouteReconciler

type UDPRouteReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

UDPRouteReconciler reconciles a UDPRoute object

func (*UDPRouteReconciler) Reconcile

func (r *UDPRouteReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles UDPRoute object

func (*UDPRouteReconciler) SetupWithManager

func (r *UDPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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