Documentation ¶
Index ¶
- type ClusterScope
- type HarvesterClusterReconciler
- func (r *HarvesterClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *HarvesterClusterReconciler) ReconcileDelete(scope ClusterScope) (ctrl.Result, error)
- func (r *HarvesterClusterReconciler) ReconcileNormal(scope ClusterScope) (res ctrl.Result, err error)
- func (r *HarvesterClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
- type HarvesterMachineReconciler
- func (r *HarvesterMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, rerr error)
- func (r *HarvesterMachineReconciler) ReconcileDelete(hvScope Scope) (res ctrl.Result, rerr error)
- func (r *HarvesterMachineReconciler) ReconcileNormal(hvScope *Scope) (res reconcile.Result, rerr error)
- func (r *HarvesterMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
- type Scope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterScope ¶
type HarvesterClusterReconciler ¶
HarvesterClusterReconciler reconciles a HarvesterCluster object.
func (*HarvesterClusterReconciler) ReconcileDelete ¶
func (r *HarvesterClusterReconciler) ReconcileDelete(scope ClusterScope) (ctrl.Result, error)
ReconcileDelete is the part of the Reconcialiation that deletes a HarvesterCluster and everything which depends on it.
func (*HarvesterClusterReconciler) ReconcileNormal ¶
func (r *HarvesterClusterReconciler) ReconcileNormal(scope ClusterScope) (res ctrl.Result, err error)
ReconcileNormal is the reconciliation function when not deleting the HarvesterCluster instance.
func (*HarvesterClusterReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type HarvesterMachineReconciler ¶
HarvesterMachineReconciler reconciles a HarvesterMachine object.
func (*HarvesterMachineReconciler) ReconcileDelete ¶
func (r *HarvesterMachineReconciler) ReconcileDelete(hvScope Scope) (res ctrl.Result, rerr error)
func (*HarvesterMachineReconciler) ReconcileNormal ¶
func (r *HarvesterMachineReconciler) ReconcileNormal(hvScope *Scope) (res reconcile.Result, rerr error)
func (*HarvesterMachineReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type Scope ¶
type Scope struct { Ctx context.Context Cluster *clusterv1.Cluster Machine *clusterv1.Machine HarvesterCluster *infrav1.HarvesterCluster HarvesterMachine *infrav1.HarvesterMachine HarvesterClient *harvclient.Clientset ReconcilerClient client.Client Logger *logr.Logger }
Scope stores context data for the reconciler.
Click to show internal directories.
Click to hide internal directories.