distribution/registry
Owen W. Taylor 60d9c5dfad Handle OCI manifests and image indexes without a media type
In the OCI image specification, the MediaType field is reserved
and otherwise undefined; assume that manifests without a media
in storage are OCI images or image indexes, and determine which
by looking at what fields are in the JSON. We do keep a check
that when unmarshalling an OCI image or image index, if it has
a MediaType field, it must match that media type of the upload.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2018-06-19 11:24:25 -04:00
..
api registry: feed the linter by removing redundant err check 2017-09-29 13:27:49 -07:00
auth context: remove definition of Context 2017-08-11 15:53:31 -07:00
client Fix minor "Challanges" typo 2018-03-01 11:25:05 -08:00
handlers folow commit 9c88801a12 2018-06-18 13:55:24 -05:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware context: remove definition of Context 2017-08-11 15:53:31 -07:00
proxy registry: feed the linter by removing redundant err check 2017-09-29 13:27:49 -07:00
storage Handle OCI manifests and image indexes without a media type 2018-06-19 11:24:25 -04: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 #2466 from tifayuki/prometheus_go_metrics 2018-02-09 15:49:04 -08:00
registry_test.go Allow registry clients to connect via http2 2016-08-13 22:07:42 -04:00
root.go add possibility to clean untagged manifests 2018-01-05 12:20:01 +02:00