nodemetric

package
v1.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Name = "nodemetric"

Variables

This section is empty.

Functions

func Add added in v1.1.0

func Add(mgr ctrl.Manager) error

Types

type EnqueueRequestForNode

type EnqueueRequestForNode struct {
	client.Client
}

func (*EnqueueRequestForNode) Create

func (*EnqueueRequestForNode) Delete

func (*EnqueueRequestForNode) Generic

func (*EnqueueRequestForNode) Update

type NodeMetricReconciler

type NodeMetricReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	Recorder record.EventRecorder
	// contains filtered or unexported fields
}

NodeMetricReconciler reconciles a NodeMetric object

func (*NodeMetricReconciler) Reconcile

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

func (*NodeMetricReconciler) SetupWithManager

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