feat: add s3 blob handler(by readll all :( )

This commit is contained in:
loveuer
2024-05-05 19:11:57 +08:00
parent 410a4c0d8d
commit 105d26efe4
30 changed files with 1483 additions and 19 deletions

View File

@ -53,3 +53,9 @@ var ErrDigestInvalid = &RepositoryError{
Code: "NAME_INVALID",
Message: "invalid digest",
}
var ErrUnauthorized = &RepositoryError{
Status: http.StatusUnauthorized,
Code: "UNAUTHORIZED",
Message: "access to the requested resource is not authorized",
}