Documentation ¶
Overview ¶
Package ctrlrequeue provides helper functions with clear names for informing the controller when to requeue (or not) reconciliations.
Index ¶
- func NoRequeue() (ctrl.Result, error)
- func Requeue(requeue bool) (ctrl.Result, error)
- func RequeueAfter(interval time.Duration) (ctrl.Result, error)
- func RequeueAfterError(interval time.Duration, err error) (ctrl.Result, error)
- func RequeueError(err error) (ctrl.Result, error)
- func RequeueImmediately() (ctrl.Result, error)
- func ShouldRequeue(result ctrl.Result, err error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequeueAfter ¶
RequeueAfter represents that a request should be requeued for further processing after the given interval has passed.
func RequeueAfterError ¶
RequeueAfterError represents that a request should be requeued for further processing after the given interval has passed due to an error.
func RequeueError ¶
RequeueError represents that a request should be requeued for further processing due to an error.
func RequeueImmediately ¶
RequeueImmediately represents that a request should be requeued immediately for further processing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.