distribution/registry/handlers
Adam Wolfe Gordon 95f1eea5f5 manifests: Return UNSUPPORTED when deleting manifests by tag
The OCI distribution spec allows implementations to support deleting manifests
by tag, but also permits returning the `UNSUPPORTED` error code for such
requests. docker/distribution has never supported deleting manifests by tag, but
previously returned `DIGEST_INVALID`.

The `Tag` and `Digest` fields of the `manifestHandler` are already correctly
populated based on which kind of reference was given in the request URL. Return
`UNSUPPORTED` if the `Tag` field is populated.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
2020-08-04 11:40:27 -06:00
..
api_test.go Migrate to golangci-lint 2020-02-14 08:11:16 +11:00
app.go Use go-events package 2020-03-04 12:49:32 -08:00
app_test.go Migrate to golangci-lint 2020-02-14 08:11:16 +11:00
basicauth.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
basicauth_prego14.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
blob.go Migrate to golangci-lint 2020-02-14 08:11:16 +11:00
blobupload.go extract blob upload resume into its own method 2019-06-25 09:25:56 +02:00
catalog.go registry: fix binary JSON content-type 2019-01-14 09:04:42 +00:00
context.go Migrate to golangci-lint 2020-02-14 08:11:16 +11:00
health_test.go Disable upload purging during test 2016-08-26 16:23:07 -07:00
helpers.go remove closenotifier 2018-09-11 16:14:10 -07:00
hmac.go handlers: provide better log message on mismatched secret 2016-09-02 15:24:35 -07:00
hmac_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hooks.go Fix gometalint errors 2019-02-04 16:01:04 -08:00
mail.go Fix gometalint errors 2019-02-04 16:01:04 -08:00
manifests.go manifests: Return UNSUPPORTED when deleting manifests by tag 2020-08-04 11:40:27 -06:00
tags.go Migrate to golangci-lint 2020-02-14 08:11:16 +11:00