Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { k8sclient.Client Log *zap.SugaredLogger Scheme *k8sruntime.Scheme Scraper string }
Reconciler reconciles a metrics workload object
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, req k8scontroller.Request) (k8scontroller.Result, error)
Reconcile reconciles a workload to keep the Prometheus ConfigMap scrape job configuration up to date. No kubebuilder annotations are used as the application RBAC for the application operator is now manually managed.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr k8scontroller.Manager) error
SetupWithManager creates controller for the MetricsBinding
Click to show internal directories.
Click to hide internal directories.