controller

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronReconciler

type CronReconciler struct {
	// contains filtered or unexported fields
}

CronReconciler reconciles a Cron object.

func NewCronReconciler

func NewCronReconciler(s *runtime.Scheme, c client.Client, r client.Reader, recorder record.EventRecorder) *CronReconciler

NewCronReconciler creates a new CronReconciler instance.

func (*CronReconciler) Reconcile

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

Reconcile is the main reconciliation loop for Cron objects. It ensures that the current state of the cluster (active workloads) matches the desired state defined in the Cron schedule.

func (*CronReconciler) SetupWithManager

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