registry/manifest
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
..
manifestlist Handle OCI manifests and image indexes without a media type 2018-06-19 11:24:25 -04:00
ocischema Handle OCI manifests and image indexes without a media type 2018-06-19 11:24:25 -04:00
schema1 context: remove definition of Context 2017-08-11 15:53:31 -07:00
schema2 Check media types when unmarshalling manifests 2018-06-19 11:24:25 -04:00
doc.go Move manifest package to schema1 2015-08-21 16:29:47 -07:00
versioned.go manifest: versioned: fix typo 2016-07-19 13:54:41 +02:00