distribution/manifest
Owen W. Taylor 1d47ef7b80 Check media types when unmarshalling manifests
When unmarshalling manifests from JSON, check that the MediaType field
corresponds to the type that we are unmarshalling as. This makes sure
that when we retrieve a manifest from the manifest store, it will have
the same type as it was handled as before storing it in the manifest
store.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2018-06-19 11:24:25 -04:00
..
manifestlist Check media types when unmarshalling manifests 2018-06-19 11:24:25 -04:00
ocischema Check media types when unmarshalling manifests 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