distribution/registry/storage
Bracken Dawson e72294d075
Split OCI Image Index from Docker Manifest List
Move implementation of the index from the manifestlist package to the ocischema package so that other modules making empty imports support the manifest types their authors would expect. This is a breaking change to distribution as a library but not the registry.

As OCI 1.0 released the manifest and index together, that is a good package from which to initialise both manifests. The docker manifest and manifest list remain in separate packages because one was released later.

The image index and manifest list still share common code in many functions not intended for import by other modules.

Signed-off-by: Bracken Dawson <abdawson@gmail.com>
2023-03-31 11:43:21 +01:00
..
cache format code with gofumpt 2022-11-03 22:48:20 +01:00
driver Merge pull request #3763 from distribution/multipart-upload-empty-files 2023-03-27 10:18:44 +01:00
blob_test.go replace deprecated io/ioutil 2022-11-04 23:47:52 +01:00
blobserver.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
blobstore.go deprecate ReadSeekCloser in favor of io.ReadSeekCloser 2022-11-10 23:10:32 +01:00
blobwriter.go format code with gofumpt 2022-11-03 22:48:20 +01:00
blobwriter_nonresumable.go bump up golang v1.17 2021-10-27 15:51:30 +08:00
blobwriter_resumable.go format code with gofumpt 2022-11-03 22:48:20 +01:00
catalog.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
catalog_test.go format code with gofumpt 2022-11-03 22:48:20 +01:00
doc.go Move storage package under registry package 2015-02-11 12:43:04 -08:00
error.go Remove old walk function 2018-01-18 13:06:07 -08:00
filereader.go replace deprecated io/ioutil 2022-11-04 23:47:52 +01:00
filereader_test.go format code with gofumpt 2022-11-03 22:48:20 +01:00
garbagecollect.go format code with gofumpt 2022-11-03 22:48:20 +01:00
garbagecollect_test.go format code with gofumpt 2022-11-03 22:48:20 +01:00
io.go replace deprecated io/ioutil 2022-11-04 23:47:52 +01:00
linkedblobstore.go deprecate ReadSeekCloser in favor of io.ReadSeekCloser 2022-11-10 23:10:32 +01:00
linkedblobstore_test.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 13:51:11 +01:00
manifestlisthandler.go Split OCI Image Index from Docker Manifest List 2023-03-31 11:43:21 +01:00
manifeststore.go Split OCI Image Index from Docker Manifest List 2023-03-31 11:43:21 +01:00
manifeststore_test.go Split OCI Image Index from Docker Manifest List 2023-03-31 11:43:21 +01:00
ociindexhandler.go Split OCI Image Index from Docker Manifest List 2023-03-31 11:43:21 +01:00
ocimanifesthandler.go format code with gofumpt 2022-11-03 22:48:20 +01:00
ocimanifesthandler_test.go registry: verify digest and check blob presence when put manifest 2021-04-16 16:11:52 +08:00
paths.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 13:51:11 +01:00
paths_test.go format code with gofumpt 2022-11-03 22:48:20 +01:00
purgeuploads.go format code with gofumpt 2022-11-03 22:48:20 +01:00
purgeuploads_test.go format code with gofumpt 2022-11-03 22:48:20 +01:00
registry.go Split OCI Image Index from Docker Manifest List 2023-03-31 11:43:21 +01:00
schema2manifesthandler.go format code with gofumpt 2022-11-03 22:48:20 +01:00
schema2manifesthandler_test.go registry: verify digest and check blob presence when put manifest 2021-04-16 16:11:52 +08:00
signedmanifesthandler.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
tagstore.go format code with gofumpt 2022-11-03 22:48:20 +01:00
tagstore_test.go format code with gofumpt 2022-11-03 22:48:20 +01:00
v1unsupportedhandler.go format code with gofumpt 2022-11-03 22:48:20 +01:00
vacuum.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00