mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
af77876306
Go version changed to 1.14.4 Golangci-lint changed to 1.26.0 Bazel version changed to 3.0.0 Bazel rules_go version changed to 0.23.3 Bazel gazelle version changed to v0.21.0 Bazel build tools version changed to 0.25.1 Bazel skylib version changed to 1.0.2
30 lines
1.5 KiB
Go
30 lines
1.5 KiB
Go
package errors
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrBadConfig = errors.New("config: invalid config")
|
|
ErrRepoNotFound = errors.New("repository: not found")
|
|
ErrRepoIsNotDir = errors.New("repository: not a directory")
|
|
ErrRepoBadVersion = errors.New("repository: unsupported layout version")
|
|
ErrManifestNotFound = errors.New("manifest: not found")
|
|
ErrBadManifest = errors.New("manifest: invalid contents")
|
|
ErrUploadNotFound = errors.New("uploads: not found")
|
|
ErrBadUploadRange = errors.New("uploads: bad range")
|
|
ErrBlobNotFound = errors.New("blob: not found")
|
|
ErrBadBlob = errors.New("blob: bad blob")
|
|
ErrBadBlobDigest = errors.New("blob: bad blob digest")
|
|
ErrUnknownCode = errors.New("error: unknown error code")
|
|
ErrBadCACert = errors.New("tls: invalid ca cert")
|
|
ErrBadUser = errors.New("ldap: non-existent user")
|
|
ErrEntriesExceeded = errors.New("ldap: too many entries returned")
|
|
ErrLDAPEmptyPassphrase = errors.New("ldap: empty passphrase")
|
|
ErrLDAPBadConn = errors.New("ldap: bad connection")
|
|
ErrLDAPConfig = errors.New("config: invalid LDAP configuration")
|
|
ErrCacheRootBucket = errors.New("cache: unable to create/update root bucket")
|
|
ErrCacheNoBucket = errors.New("cache: unable to find bucket")
|
|
ErrCacheMiss = errors.New("cache: miss")
|
|
ErrRequireCred = errors.New("ldap: bind credentials required")
|
|
ErrInvalidCred = errors.New("ldap: invalid credentials")
|
|
)
|