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