Documentation ¶
Index ¶
- type PrometheusReconciler
- func (r *PrometheusReconciler) HandleErrorAndRequeue(ctx context.Context, objectMeta metav1.ObjectMeta, err error, ...) (ctrl.Result, error)
- func (r *PrometheusReconciler) HandleSuccess(ctx context.Context, objectMeta metav1.ObjectMeta) (ctrl.Result, error)
- func (r *PrometheusReconciler) MarkInitializing(ctx context.Context, es *v1alpha1.Prometheus) error
- func (r *PrometheusReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *PrometheusReconciler) SetupWithManager(mgr ctrl.Manager, bus *eventbus.EventBus) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusReconciler ¶
type PrometheusReconciler struct { reconciler.ReconcilerBase Producers manager.Manager[producer.KeyedEventProducer] Log logr.Logger // contains filtered or unexported fields }
PrometheusReconciler reconciles a Prometheus object
func (*PrometheusReconciler) HandleErrorAndRequeue ¶
func (*PrometheusReconciler) HandleSuccess ¶
func (r *PrometheusReconciler) HandleSuccess(ctx context.Context, objectMeta metav1.ObjectMeta) (ctrl.Result, error)
func (*PrometheusReconciler) MarkInitializing ¶
func (r *PrometheusReconciler) MarkInitializing(ctx context.Context, es *v1alpha1.Prometheus) error
MarkInitializing mark this event source with the transient initializing state
func (*PrometheusReconciler) Reconcile ¶
func (r *PrometheusReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*PrometheusReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.