Documentation
¶
Index ¶
- type DolphinschedulerClusterReconciler
- func (r *DolphinschedulerClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *DolphinschedulerClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *DolphinschedulerClusterReconciler) UpdateStatus(ctx context.Context, instance *dolphinv1alpha1.DolphinschedulerCluster) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DolphinschedulerClusterReconciler ¶
type DolphinschedulerClusterReconciler struct { ctrlclient.Client Scheme *runtime.Scheme Log logr.Logger }
DolphinschedulerClusterReconciler reconciles a DolphinschedulerCluster object
func (*DolphinschedulerClusterReconciler) Reconcile ¶
func (r *DolphinschedulerClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the DolphinschedulerCluster object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkgo.dev/sigs.k8s.io/[email protected]/pkg/reconcile
func (*DolphinschedulerClusterReconciler) SetupWithManager ¶
func (r *DolphinschedulerClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*DolphinschedulerClusterReconciler) UpdateStatus ¶
func (r *DolphinschedulerClusterReconciler) UpdateStatus(ctx context.Context, instance *dolphinv1alpha1.DolphinschedulerCluster) error
UpdateStatus updates the status of the DolphionSchedulerCluster resource https://stackoverflow.com/questions/76388004/k8s-controller-update-status-and-condition