Documentation ¶
Index ¶
- type CronStatusHandler
- type DataLoadReconciler
- func (r *DataLoadReconciler) Build(object client.Object) (dataoperation.OperationInterface, error)
- func (r *DataLoadReconciler) ControllerName() string
- func (r *DataLoadReconciler) Reconcile(context context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *DataLoadReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
- type OnEventStatusHandler
- type OnceStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronStatusHandler ¶ added in v1.0.0
func (*CronStatusHandler) GetOperationStatus ¶ added in v1.0.0
func (c *CronStatusHandler) GetOperationStatus(ctx cruntime.ReconcileRequestContext, opStatus *datav1alpha1.OperationStatus) (result *datav1alpha1.OperationStatus, err error)
type DataLoadReconciler ¶
type DataLoadReconciler struct { Scheme *runtime.Scheme *controllers.OperationReconciler }
DataLoadReconciler reconciles a DataLoad object
func NewDataLoadReconciler ¶
func NewDataLoadReconciler(client client.Client, log logr.Logger, scheme *runtime.Scheme, recorder record.EventRecorder) *DataLoadReconciler
NewDataLoadReconciler returns a DataLoadReconciler
func (*DataLoadReconciler) Build ¶ added in v1.0.0
func (r *DataLoadReconciler) Build(object client.Object) (dataoperation.OperationInterface, error)
func (*DataLoadReconciler) ControllerName ¶ added in v0.9.0
func (r *DataLoadReconciler) ControllerName() string
func (*DataLoadReconciler) Reconcile ¶
func (r *DataLoadReconciler) Reconcile(context context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups=data.fluid.io,resources=dataloads,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=data.fluid.io,resources=dataloads/status,verbs=get;update;patch Reconcile reconciles the DataLoad object
func (*DataLoadReconciler) SetupWithManager ¶
func (r *DataLoadReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the given controller manager
type OnEventStatusHandler ¶ added in v1.0.0
func (*OnEventStatusHandler) GetOperationStatus ¶ added in v1.0.0
func (o *OnEventStatusHandler) GetOperationStatus(ctx cruntime.ReconcileRequestContext, opStatus *datav1alpha1.OperationStatus) (result *datav1alpha1.OperationStatus, err error)
type OnceStatusHandler ¶ added in v1.0.0
func (*OnceStatusHandler) GetOperationStatus ¶ added in v1.0.0
func (r *OnceStatusHandler) GetOperationStatus(ctx cruntime.ReconcileRequestContext, opStatus *datav1alpha1.OperationStatus) (result *datav1alpha1.OperationStatus, err error)
Click to show internal directories.
Click to hide internal directories.