Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RequeueAfterError ¶
type RequeueAfterError struct {
// contains filtered or unexported fields
}
An error to instruct controller-runtime to requeue the processing item after specified duration without been logged as error. This should be used when a "error condition" occurrence is sort of expected and can be resolved by retry. e.g. a dependency haven't been fulfilled yet, and expected it to be fulfilled after duration. Note: use this with care,a simple wait might suits your use case better.
func NewRequeueAfterError ¶
func NewRequeueAfterError(err error, duration time.Duration) *RequeueAfterError
NewRequeueAfterError constructs new RequeueAfterError to instruct controller-runtime to requeue the processing item after specified duration without been logged as error.
func (*RequeueAfterError) Duration ¶
func (e *RequeueAfterError) Duration() time.Duration
func (*RequeueAfterError) Error ¶
func (e *RequeueAfterError) Error() string
func (*RequeueAfterError) Unwrap ¶
func (e *RequeueAfterError) Unwrap() error
type RequeueError ¶
type RequeueError struct {
// contains filtered or unexported fields
}
An error to instruct controller-runtime to requeue the processing item without been logged as error. This should be used when a "error condition" occurrence is sort of expected and can be resolved by retry. e.g. a dependency haven't been fulfilled yet.
func NewRequeueError ¶
func NewRequeueError(err error) *RequeueError
NewRequeueError constructs new RequeueError to instruct controller-runtime to requeue the processing item without been logged as error.
func (*RequeueError) Error ¶
func (e *RequeueError) Error() string
func (*RequeueError) Unwrap ¶
func (e *RequeueError) Unwrap() error