Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComplianceOperatorNamespace ¶
func GetComplianceOperatorNamespace() string
GetComplianceOperatorNamespace gets the namespace that the operator is currently running on.
func IsRetriable ¶
IsRetriable returns whether the error is retriable or not using the NonRetriableCtrlError interface
Types ¶
type NonRetriableCtrlError ¶
type NonRetriableCtrlError struct {
// contains filtered or unexported fields
}
NonRetriableCtrlError wraps errors with the addition of having the information for the error being non-retriable
func NewNonRetriableCtrlError ¶ added in v0.1.9
func NewNonRetriableCtrlError(errorFmt string, args ...interface{}) *NonRetriableCtrlError
NewNonRetriableCtrlError creates an error with the RetriableCtrlError interface
func WrapNonRetriableCtrlError ¶
func WrapNonRetriableCtrlError(err error) *NonRetriableCtrlError
WrapNonRetriableCtrlError wraps an error with the RetriableCtrlError interface
func (NonRetriableCtrlError) Error ¶
func (cerr NonRetriableCtrlError) Error() string
func (NonRetriableCtrlError) IsRetriable ¶
func (cerr NonRetriableCtrlError) IsRetriable() bool
IsRetriable exposes if the error is retriable or not
Click to show internal directories.
Click to hide internal directories.