Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComplianceOperatorNamespace ¶
func GetComplianceOperatorNamespace() string
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 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.