Documentation
¶
Index ¶
- func IsBackupNotfound(err error) bool
- func IsNetworkError(err error) bool
- func IsQuotaExceeded(err error) bool
- func IsResourceNotDeleted(err error) bool
- func IsRestoreDoesNotExist(err error) bool
- func IsSpecialKeysAPIFailureError(err error) bool
- func IsTimeoutError(err error) bool
- type ResourceNotDeleted
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBackupNotfound ¶
IsBackupNotfound returns true if the provided error is a backup not found error from fdbbackup.
func IsNetworkError ¶
IsNetworkError returns true if the network is a network error net.Error
func IsQuotaExceeded ¶
IsQuotaExceeded returns true if the error returned by the Kubernetes API is a forbidden error with the error message that the quota was exceeded
func IsResourceNotDeleted ¶
IsResourceNotDeleted returns true if provided error is of the type IsResourceNotDeleted.
func IsRestoreDoesNotExist ¶
IsRestoreDoesNotExist returns true if the provided error is a restore not found error from fdbrestore.
func IsSpecialKeysAPIFailureError ¶
IsSpecialKeysAPIFailureError returns true if the observed error was an error from the management API.
func IsTimeoutError ¶
IsTimeoutError returns true if the observed error was a timeout error
Types ¶
type ResourceNotDeleted ¶
ResourceNotDeleted can be returned if the resource is not yet deleted.
func (ResourceNotDeleted) Error ¶
func (err ResourceNotDeleted) Error() string
Error returns the error message of the internal timeout error.