moby--moby/distribution
Brian Goff e443512ce4 Use ocischema package instead of custom handler
Previously we were re-using schema2.DeserializedManifest to handle oci
manifests. The issue lies in the fact that distribution started
validating the media type string during json deserialization. This
change broke our usage of that type.

Instead distribution now provides direct support for oci schemas, so use
that instead of our custom handlers.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2019-10-11 10:19:29 -07:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata goimports: fix imports 2019-09-18 12:56:54 +02:00
utils Add canonical import comment 2018-02-05 16:51:57 -05:00
xfer Adding ability to change max download attempts 2019-09-19 13:51:40 +02:00
config.go Add variant to image.Image and legacy builder 2019-09-24 22:18:16 +00:00
errors.go goimports: fix imports 2019-09-18 12:56:54 +02:00
errors_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
pull.go goimports: fix imports 2019-09-18 12:56:54 +02:00
pull_v2.go Use ocischema package instead of custom handler 2019-10-11 10:19:29 -07:00
pull_v2_test.go Remove unused functions, variables, fields 2019-09-18 12:57:12 +02:00
pull_v2_unix.go Improve 'no matching manifest' error 2019-01-15 18:24:15 +01:00
pull_v2_windows.go Use io.SeekStart instead of os.SEEK_SET 2019-09-18 12:57:31 +02:00
push.go Remove v1 manifest code 2019-06-18 01:40:25 +00:00
push_v2.go goimports: fix imports 2019-09-18 12:56:54 +02:00
push_v2_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
registry.go Fix base.Dial is deprecated: Use DialContext instead 2019-09-20 10:42:13 +08:00
registry_unit_test.go distribution: fix passing platform struct to puller 2018-06-27 14:59:31 -07:00