MCPcopy
hub / github.com/fluid-cloudnative/fluid / RequeueAfterInterval

Function RequeueAfterInterval

pkg/utils/crtl_utils.go:65–67  ·  view source on GitHub ↗

RequeueAfterInterval returns the result of a reconcile invocation with a given requeue interval and no err The Object will requeue after the given requeue interval

(interval time.Duration)

Source from the content-addressed store, hash-verified

63// RequeueAfterInterval returns the result of a reconcile invocation with a given requeue interval and no err
64// The Object will requeue after the given requeue interval
65func RequeueAfterInterval(interval time.Duration) (ctrl.Result, error) {
66 return ctrl.Result{RequeueAfter: interval}, nil
67}
68
69// RequeueImmediately returns the result of a reconciler invocation and no err
70// The Object will requeue immediately whether the err is nil or not

Callers 13

ReconcileInternalMethod · 0.92
ReconcileRuntimeMethod · 0.92
ReconcileInternalMethod · 0.92
reconcileDatasetMethod · 0.92
ReconcileMethod · 0.92
ReconcileMethod · 0.92
reconcilePendingMethod · 0.92
reconcileExecutingMethod · 0.92
reconcileCompleteMethod · 0.92
reconcileFailedMethod · 0.92

Calls

no outgoing calls

Tested by 1

TestRequeueAfterIntervalFunction · 0.68