registry/manifest/manifestlist
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.go Handle OCI manifests and image indexes without a media type 2018-06-19 11:24:25 -04:00
manifestlist_test.go Handle OCI manifests and image indexes without a media type 2018-06-19 11:24:25 -04:00