package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
BadRequestError is error for the case of bad request.
Cause gets the root error.
ConflictError is error for the case of object conflict.
DeniedError is error for the case of denied.
ErrCode returns code of err.
Errorf ...
ForbiddenError is error for the case of forbidden.
IsConflictErr checks whether the err chain contains conflict error.
IsErr checks whether the err chain contains error matches the code.
IsNotFoundErr returns true when the error is NotFoundError.
MethodNotAllowedError is error for the case of forbidden.
New ...
NewErrs ...
NotFoundError is error for the case of object not found.
PreconditionFailedError is error for the case of precondition failed.
UnauthorizedError is error for the case of unauthorized accessing.
UnknownError ...
Wrap ...
Wrapf ...
# Constants
BadRequestCode ...
ConflictCode ...
DENIED it's used by middleware(readonly, vul and content trust) and returned to docker client to index the request is denied.
DIGESTINVALID ...
ForbiddenCode ...
GeneralCode ...
MANIFESTINVALID ...
MethodNotAllowedCode ...
NotFoundCode is code for the error of no object found.
PreconditionCode ...
PROJECTPOLICYVIOLATION ...
UnAuthorizedCode ...
UNSUPPORTED is for digest UNSUPPORTED error.
ViolateForeignKeyConstraintCode is the error code for violating foreign key constraint error.