File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,16 @@ instead the reconcile function observes this when reading the cluster state and
89
89
*/
90
90
type Reconciler interface {
91
91
// Reconcile performs a full reconciliation for the object referred to by the Request.
92
- // The Controller will requeue the Request to be processed again if an error is non-nil or
93
- // Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
92
+ //
93
+ // If the returned error is non-nil, the Result is ignored and the request will be
94
+ // requeued using exponential backoff. The only exception is if the error is a
95
+ // TerminalError in which case no requeuing happens.
96
+ //
97
+ // If the error is nil and the returned Result has a non-zero result.RequeueAfter, the request
98
+ // will be requeued after the specified duration.
99
+ //
100
+ // If the error is nil and result.RequeueAfter is zero and result.Reque is true, the request
101
+ // will be requeued using exponential backoff.
94
102
Reconcile (context.Context , Request ) (Result , error )
95
103
}
96
104
You can’t perform that action at this time.
0 commit comments