Documentation
¶
Overview ¶
Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RetryableError ¶
type RetryableError struct { // The source of the error Source string // The operation type Operation string // The root cause error Cause error // An optional Result type to return to the controllerruntime Result controllerruntime.Result }
RetryableError an error that can be used to indicate to a controller that a requeue is needed, with an optional custom result
func (RetryableError) Error ¶
func (r RetryableError) Error() string
Error implements the basic Go error contract
func (RetryableError) HasCause ¶
func (r RetryableError) HasCause() bool
HasCause indicates whether or not the error has a root cause
Click to show internal directories.
Click to hide internal directories.