controller

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppLabelKey     = "pdok.nl/app"
	InspireLabelKey = "pdok.nl/inspire"
)

Variables

This section is empty.

Functions

func SetStorageClassName

func SetStorageClassName(name string)

func SetUptimeOperatorAnnotations

func SetUptimeOperatorAnnotations(set bool)

Types

type Reconciler

type Reconciler interface {
	*WFSReconciler | *WMSReconciler
	client.StatusClient
}

type WFSReconciler

type WFSReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Images types.Images
}

WFSReconciler reconciles a WFS object

func (*WFSReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. The Reconcile function compares the state specified by the WFS object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.20.0/pkg/reconcile

func (*WFSReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type WMSReconciler

type WMSReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Images types.Images
}

WMSReconciler reconciles a WMS object

func (*WMSReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. The Reconcile function compares the state specified by the WMS object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.20.0/pkg/reconcile

func (*WMSReconciler) SetupWithManager

func (r *WMSReconciler) 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