rulesfile

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package rulesfile defines the rulesfile controller logic. It handles the lifecycle of the Rulesfile resource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RulesfileReconciler

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

RulesfileReconciler reconciles a Rulesfile object.

func NewRulesfileReconciler

func NewRulesfileReconciler(
	cl client.Client,
	scheme *runtime.Scheme,
	recorder events.EventRecorder,
	nodeName, namespace string,
) *RulesfileReconciler

NewRulesfileReconciler returns a new RulesfileReconciler.

func (*RulesfileReconciler) Reconcile

func (r *RulesfileReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.

func (*RulesfileReconciler) SetupWithManager

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