controller

package
v0.34.8 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CozystackConfigReconciler added in v0.32.0

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

func (*CozystackConfigReconciler) Reconcile added in v0.32.0

func (*CozystackConfigReconciler) SetupWithManager added in v0.32.0

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

type TenantHelmReconciler added in v0.31.0

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

func (*TenantHelmReconciler) Reconcile added in v0.31.0

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

func (*TenantHelmReconciler) SetupWithManager added in v0.31.0

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

type WorkloadMonitorReconciler

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

WorkloadMonitorReconciler reconciles a WorkloadMonitor object

func (*WorkloadMonitorReconciler) Reconcile

Reconcile is the main reconcile loop. 1. It reconciles WorkloadMonitor objects themselves (create/update/delete). 2. It also reconciles Pod events mapped to WorkloadMonitor via label selector.

func (*WorkloadMonitorReconciler) SetupWithManager

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

SetupWithManager registers our controller with the Manager and sets up watches.

type WorkloadReconciler added in v0.30.0

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

WorkloadMonitorReconciler reconciles a WorkloadMonitor object

func (*WorkloadReconciler) Reconcile added in v0.30.0

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

workload_controller.go

func (*WorkloadReconciler) SetupWithManager added in v0.30.0

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

SetupWithManager registers our controller with the Manager and sets up watches.

Jump to

Keyboard shortcuts

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