policymetrics

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ControllerName string = "policy-metrics"

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricReconciler

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

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 uint) 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