Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName string = "policy-metrics"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricReconciler ¶
MetricReconciler reconciles the metrics for the Policy
func (*MetricReconciler) Reconcile ¶
func (r *MetricReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile reads the state of the cluster for the Policy object and ensures that the exported policy metrics are accurate, updating them as necessary.
func (*MetricReconciler) SetupWithManager ¶
func (r *MetricReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconciles uint16) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.