package
0.0.0-20240822020607-ba854f2ded86
Repository: https://github.com/aliyuncontainerservice/pouch.git
Documentation: pkg.go.dev

# Functions

IsAlreadyExisted checks the error is object AlreadyExisted or not.
IsInUse checks the error is using by others or not.
IsInvalidAuthorization checks the errors is authorization failure or not.
IsInvalidParam checks the error is the parameters are invalid or not.
IsNotfound checks the error is object Notfound or not.
IsNotModified checks the error is not modified error or not.
IsPreCheckFailed checks the error is failed to pre check or not.
IsTimeout checks the error is time out or not.
IsVolumeDriverNotFound is used to check error is driverNotFound or not.
IsVolumeExisted is used to check error is volumeExisted or not.
IsVolumeInUse is used to check error is volume in use.
IsVolumeMetaNotFound is used to check error is localMetaNotFound or not.
IsVolumeNotFound is used to check error is volumeNotFound or not.

# Variables

ErrAlreadyExisted represents the object has already existed.
ErrConflict represents the parameters are invalid.
ErrInUse represents that object is using.
ErrInvalidAuthorization represents that authorization failed.
ErrInvalidParam represents the parameters are invalid.
ErrLockfailed represents that failed to lock.
ErrNotfound represents the object is not found, not exist.
ErrNotImplemented represents that the function is not implemented.
ErrNotModified represents that the resource is not modified.
ErrPreCheckFailed represents that failed to pre check.
ErrTimeout represents the operation is time out.
ErrTooMany reprensents the objects are too many.
ErrVolumeDriverNotFound represents error is "driver not found".
ErrVolumeExisted represents error is "volume exist".
ErrVolumeInUse represents that volume in use.
ErrVolumeMetaNotFound represents error is "local meta not found".
ErrVolumeNotFound represents that no such volume.