controllers

package
v0.0.0-...-75bf5e5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZerokProbeReconciler

type ZerokProbeReconciler struct {
	client.Client
	Scheme            *runtime.Scheme
	ZkCRDProbeHandler *handler.ZkCRDProbeHandler
	Recorder          record.EventRecorder
}

ZerokProbeReconciler reconciles a ZerokProbe object

func (*ZerokProbeReconciler) FetchUpdatedProbeObject

func (r *ZerokProbeReconciler) FetchUpdatedProbeObject(ctx context.Context, namespace, name string, zerokProbe *operatorv1alpha1.ZerokProbe) error

Let's re-fetch the Probe Custom Resource after update the status so that we have the latest state of the resource on the cluster

func (*ZerokProbeReconciler) Reconcile

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

func (*ZerokProbeReconciler) SetupWithManager

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