errors

package
v2.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBackupNotfound

func IsBackupNotfound(err error) bool

IsBackupNotfound returns true if the provided error is a backup not found error from fdbbackup.

func IsNetworkError

func IsNetworkError(err error) bool

IsNetworkError returns true if the network is a network error net.Error

func IsQuotaExceeded

func IsQuotaExceeded(err error) bool

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

func IsResourceNotDeleted(err error) bool

IsResourceNotDeleted returns true if provided error is of the type IsResourceNotDeleted.

func IsRestoreDoesNotExist

func IsRestoreDoesNotExist(err error) bool

IsRestoreDoesNotExist returns true if the provided error is a restore not found error from fdbrestore.

func IsSpecialKeysAPIFailureError

func IsSpecialKeysAPIFailureError(err error) bool

IsSpecialKeysAPIFailureError returns true if the observed error was an error from the management API.

func IsTimeoutError

func IsTimeoutError(err error) bool

IsTimeoutError returns true if the observed error was a timeout error

Types

type ResourceNotDeleted

type ResourceNotDeleted struct {
	Resource client.Object
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL