Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NmstateUpdater ¶
type NmstateUpdater func( client client.Client, node *corev1.Node, observedState shared.State, nns *nmstatev1beta1.NodeNetworkState, versions *nmstate.DependencyVersions, ) error
Added for test purposes
type NmstatectlShow ¶
type NodeNetworkConfigurationEnactmentReconciler ¶
type NodeNetworkConfigurationEnactmentReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme }
NodeReconciler reconciles a Node object
func (*NodeNetworkConfigurationEnactmentReconciler) Reconcile ¶
func (r *NodeNetworkConfigurationEnactmentReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile reads that state of the cluster for a NodeNetworkConfigurationEnactment object and makes cleanup if needed. 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 (*NodeNetworkConfigurationEnactmentReconciler) SetupWithManager ¶
func (r *NodeNetworkConfigurationEnactmentReconciler) SetupWithManager(mgr ctrl.Manager) error
type NodeNetworkConfigurationPolicyReconciler ¶
type NodeNetworkConfigurationPolicyReconciler struct { client.Client // APIClient controller-runtime client without cache, it will be used at // places where whole cluster resources need to be retrieved but not cached. APIClient client.Client Log logr.Logger Scheme *runtime.Scheme }
NodeNetworkConfigurationPolicyReconciler reconciles a NodeNetworkConfigurationPolicy object
func (*NodeNetworkConfigurationPolicyReconciler) Reconcile ¶
func (r *NodeNetworkConfigurationPolicyReconciler) Reconcile(_ context.Context, request ctrl.Request) (ctrl.Result, error)
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 ¶
func (r *NodeNetworkConfigurationPolicyReconciler) 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 ¶
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