Documentation
¶
Index ¶
- type DataProcessReconciler
- func (r *DataProcessReconciler) Build(object client.Object) (dataoperation.OperationInterface, error)
- func (r *DataProcessReconciler) ControllerName() string
- func (r *DataProcessReconciler) Reconcile(context context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *DataProcessReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
- type OnceStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataProcessReconciler ¶
type DataProcessReconciler struct { Scheme *runtime.Scheme *controllers.OperationReconciler }
DataProcessReconciler reconciles a DataProcess object
func NewDataProcessReconciler ¶
func NewDataProcessReconciler(client client.Client, log logr.Logger, scheme *runtime.Scheme, recorder record.EventRecorder) *DataProcessReconciler
func (*DataProcessReconciler) Build ¶
func (r *DataProcessReconciler) Build(object client.Object) (dataoperation.OperationInterface, error)
func (*DataProcessReconciler) ControllerName ¶
func (r *DataProcessReconciler) ControllerName() string
func (*DataProcessReconciler) Reconcile ¶
func (r *DataProcessReconciler) Reconcile(context 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 DataProcess 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://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile
func (*DataProcessReconciler) SetupWithManager ¶
func (r *DataProcessReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type OnceStatusHandler ¶
func (*OnceStatusHandler) GetOperationStatus ¶
func (handler *OnceStatusHandler) GetOperationStatus(ctx runtime.ReconcileRequestContext, opStatus *datav1alpha1.OperationStatus) (result *datav1alpha1.OperationStatus, err error)
GetOperationStatus get operation status according to helm chart status