forked from TrueCloudLab/distribution
60d9c5dfad
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> |
||
---|---|---|
.. | ||
builder.go | ||
builder_test.go | ||
manifest.go | ||
manifest_test.go |