controllerruntime

package
v0.0.0-...-79b441f Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeReconciler

type NodeReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

NodeReconciler is a Reconciler for the Node object.

func (*NodeReconciler) NeedLeaderElection

func (r *NodeReconciler) NeedLeaderElection() bool

NeedLeaderElection implements the LeaderElectionRunnable interface, controllers need to be run in leader election mode.

func (*NodeReconciler) Reconcile

func (r *NodeReconciler) Reconcile(_ context.Context, node *corev1.Node) (ctrl.Result, error)

Reconcile reconciles the Node object.

func (*NodeReconciler) SetupWithManager

func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager setups the NodeReconciler with manager.

func (*NodeReconciler) Start

func (r *NodeReconciler) Start(ctx context.Context) error

Start starts the timed task.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL