Documentation ¶
Index ¶
- Constants
- type OperationReconciler
- func (r *OperationReconciler) AddLogsFinalizer(ctx context.Context, instance *operationv1.Operation) error
- func (r *OperationReconciler) AddNotificationsFinalizer(ctx context.Context, instance *operationv1.Operation) error
- func (r *OperationReconciler) AddStartTime(ctx context.Context, instance *operationv1.Operation) error
- func (r *OperationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *OperationReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const ( // DefaultBackOff is the max backoff period, exported for the e2e test DefaultBackOff = 10 * time.Second // MaxBackOff is the max backoff period, exported for the e2e test MaxBackOff = 360 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationReconciler ¶
type OperationReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Namespace string }
OperationReconciler reconciles a Operation object
func (*OperationReconciler) AddLogsFinalizer ¶
func (r *OperationReconciler) AddLogsFinalizer(ctx context.Context, instance *operationv1.Operation) error
AddLogsFinalizer Adds finalizer by the reconciler
func (*OperationReconciler) AddNotificationsFinalizer ¶
func (r *OperationReconciler) AddNotificationsFinalizer(ctx context.Context, instance *operationv1.Operation) error
AddNotificationsFinalizer Adds finalizer by the reconciler
func (*OperationReconciler) AddStartTime ¶
func (r *OperationReconciler) AddStartTime(ctx context.Context, instance *operationv1.Operation) error
AddStartTime Adds starttime field by the reconciler
func (*OperationReconciler) Reconcile ¶
Reconcile logic for OperationReconciler func (r *OperationReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) {
func (*OperationReconciler) SetupWithManager ¶
func (r *OperationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager register the reconciliation logic
Source Files ¶
Click to show internal directories.
Click to hide internal directories.