controllers

package
v0.47.8 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: GPL-2.0 Imports: 42 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NMStateReconciler

type NMStateReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

NMStateReconciler reconciles a NMState object

func (*NMStateReconciler) Reconcile

func (r *NMStateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*NMStateReconciler) SetupWithManager

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

type NmstateUpdater

type NmstateUpdater func(client client.Client, node *corev1.Node, namespace client.ObjectKey, observedState shared.State) error

Added for test purposes

type NmstatectlShow added in v0.36.0

type NmstatectlShow func() (string, error)

type NodeNetworkConfigurationPolicyReconciler

type NodeNetworkConfigurationPolicyReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

NodeNetworkConfigurationPolicyReconciler reconciles a NodeNetworkConfigurationPolicy object

func (*NodeNetworkConfigurationPolicyReconciler) Reconcile

Reconcile reads that state of the cluster for a NodeNetworkConfigurationPolicy object and makes changes based on the state read and what is in the NodeNetworkConfigurationPolicy.Spec 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 (*NodeNetworkConfigurationPolicyReconciler) SetupWithManager

type NodeNetworkStateReconciler added in v0.36.0

type NodeNetworkStateReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

NodeNetworkStateReconciler reconciles a NodeNetworkState object

func (*NodeNetworkStateReconciler) Reconcile added in v0.36.0

func (r *NodeNetworkStateReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a NodeNetworkState object and makes changes based on the state read and what is in the NodeNetworkState.Spec 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 (*NodeNetworkStateReconciler) SetupWithManager added in v0.36.0

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

type NodeReconciler

type NodeReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

NodeReconciler reconciles a Node object

func (*NodeReconciler) Reconcile

func (r *NodeReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a Node object and makes changes based on the state read and what is in the Node.Spec 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 (*NodeReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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