nodekeeper

package
v0.0.0-...-94cf433 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreMasterPredicate

func IgnoreMasterPredicate() predicate.Predicate

IgnoreMasterPredicate holds predicate funcs

Types

type ReconcileNodeKeeper

type ReconcileNodeKeeper struct {
	Client                      client.Client
	ConfigManagerBuilder        configmanager.ConfigManagerBuilder
	Machinery                   machinery.Machinery
	MetricsClientBuilder        metrics.MetricsBuilder
	DrainstrategyBuilder        drain.NodeDrainStrategyBuilder
	UpgradeConfigManagerBuilder upgradeconfigmanager.UpgradeConfigManagerBuilder
	Scheme                      *runtime.Scheme
}

ReconcileNodeKeeper reconciles a NodeKeeper object

func (*ReconcileNodeKeeper) Reconcile

func (r *ReconcileNodeKeeper) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*ReconcileNodeKeeper) SetupWithManager

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