controller

package
v0.0.12 Latest Latest
Warning

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

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

Documentation

Overview

Package controller defines a controller for reconciling MaasValidator objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaasValidatorReconciler

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

MaasValidatorReconciler reconciles a MaasValidator object

func (*MaasValidatorReconciler) Reconcile

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

Reconcile reconciles each rule found in each MaasValidator in the cluster and creates ValidationResults accordingly

func (*MaasValidatorReconciler) SetupWithManager

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