Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { Delay(min int, max int, units time.Duration) Builder ShortDelay() Builder Error(err error) Builder Build() Result }
func NewBuilder ¶
func NewBuilder() Builder
type Result ¶
type Result interface { ShouldRequeue() bool GetCtrlRuntimeResult() ctrl.Result GetError() error IsError() bool }
func NewResultRequeueDelay ¶
NewResultRequeueDelay returns a new Result that will cause requeue after the specified delay
func NewResultShortRequeueDelay ¶
func NewResultShortRequeueDelay() Result
NewResultShortRequeueDelay returns a new Result that will cause requeue after a short delay
func NewResultShortRequeueDelayIfError ¶
NewResultShortRequeueDelayIfError returns a new Result that will cause requeue after a short delay if there is an error
func NewResultShortRequeueDelayWithError ¶
NewResultShortRequeueDelayWithError returns a new Result that will cause requeue after a short delay
Click to show internal directories.
Click to hide internal directories.