Documentation
¶
Index ¶
- Constants
- func Add(mgr ctrl.Manager) error
- type EnqueueRequestForNode
- func (n *EnqueueRequestForNode) Create(ctx context.Context, e event.CreateEvent, q workqueue.RateLimitingInterface)
- func (n *EnqueueRequestForNode) Delete(ctx context.Context, e event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (n *EnqueueRequestForNode) Generic(ctx context.Context, e event.GenericEvent, q workqueue.RateLimitingInterface)
- func (n *EnqueueRequestForNode) Update(ctx context.Context, e event.UpdateEvent, q workqueue.RateLimitingInterface)
- type NodeMetricReconciler
Constants ¶
View Source
const Name = "nodemetric"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnqueueRequestForNode ¶
func (*EnqueueRequestForNode) Create ¶
func (n *EnqueueRequestForNode) Create(ctx context.Context, e event.CreateEvent, q workqueue.RateLimitingInterface)
func (*EnqueueRequestForNode) Delete ¶
func (n *EnqueueRequestForNode) Delete(ctx context.Context, e event.DeleteEvent, q workqueue.RateLimitingInterface)
func (*EnqueueRequestForNode) Generic ¶
func (n *EnqueueRequestForNode) Generic(ctx context.Context, e event.GenericEvent, q workqueue.RateLimitingInterface)
func (*EnqueueRequestForNode) Update ¶
func (n *EnqueueRequestForNode) Update(ctx context.Context, e event.UpdateEvent, q workqueue.RateLimitingInterface)
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.
Click to show internal directories.
Click to hide internal directories.