distribution/registry
Wei Fu 9e618c90c3 registry: verify digest and check blob presence when put manifest
According to OCI image spec, the descriptor's digest field is required.
For the normal config/layer blobs, the valivation should check the
presence of the blob when put manifest.

REF: https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md

Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com>
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2021-04-16 16:11:52 +08:00
..
api go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
auth go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
client go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
handlers Merge pull request #3174 from adamwg/manifest-delete-by-tag 2021-03-01 17:21:03 +00:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
proxy go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
storage registry: verify digest and check blob presence when put manifest 2021-04-16 16:11:52 +08:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Merge pull request #3364 from Agilicus/escape-json 2021-03-24 11:16:55 +08:00
registry_test.go log: Include configured fields in all logs 2021-03-01 14:44:56 -07:00
root.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00