distribution/docs/storage
Richard Scothern 8efb9ca329 Implementation of the Manifest Service API refactor.
Add a generic Manifest interface to represent manifests in the registry and
remove references to schema specific manifests.

Add a ManifestBuilder to construct Manifest objects. Concrete manifest builders
will exist for each manifest type and implementations will contain manifest
specific data used to build a manifest.

Remove Signatures() from Repository interface.

Signatures are relevant only to schema1 manifests.  Move access to the signature
store inside the schema1 manifestStore.  Add some API tests to verify
signature roundtripping.

schema1
-------

Change the way data is stored in schema1.Manifest to enable Payload() to be used
to return complete Manifest JSON from the HTTP handler without knowledge of the
schema1 protocol.

tags
----

Move tag functionality to a seperate TagService and update ManifestService
to use the new interfaces.  Implement a driver based tagService to be backward
compatible with the current tag service.

Add a proxyTagService to enable the registry to get a digest for remote manifests
from a tag.

manifest store
--------------

Remove revision store and move all signing functionality into the signed manifeststore.

manifest registration
---------------------

Add a mechanism to register manifest media types and to allow different manifest
types to be Unmarshalled correctly.

client
------

Add ManifestServiceOptions to client functions to allow tags to be passed into Put and
Get for building correct registry URLs.  Change functional arguments to be an interface type
to allow passing data without mutating shared state.

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>

Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2015-12-17 17:09:14 -08:00
..
cache Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
driver Merge pull request #1187 from stevvooe/check-storage-drivers-list-path-not-found 2015-12-08 16:32:02 -08:00
blob_test.go Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
blobcachemetrics.go Open cache interface 2015-05-15 17:56:28 -07:00
blobserver.go Add a generic error type to capture non-typed errors 2015-11-03 11:19:44 -08:00
blobstore.go Simplify digest.FromBytes calling convention 2015-12-14 14:30:51 -08:00
blobwriter_nonresumable.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
blobwriter_resumable.go registry/storage: close filereader after allocation 2015-11-02 11:55:11 -08:00
blobwriter.go Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
catalog_test.go Functional options for NewRegistryWithDriver 2015-08-19 11:06:30 -07:00
catalog.go Make the catalog more efficient 2015-12-07 12:33:01 -08:00
doc.go Move storage package under registry package 2015-02-11 12:43:04 -08:00
filereader_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
filereader.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
filewriter_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
filewriter.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
linkedblobstore.go Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
manifeststore_test.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
manifeststore.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
paths_test.go Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
paths.go Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
purgeuploads_test.go Remove pathMapper object 2015-08-17 18:51:05 -07:00
purgeuploads.go Remove pathMapper object 2015-08-17 18:51:05 -07:00
registry.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
signaturestore.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
tagstore_test.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
tagstore.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
util.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
vacuum.go Remove pathMapper object 2015-08-17 18:51:05 -07:00
walk_test.go storage: add further tests for Walk implementation 2015-12-01 16:55:10 -08:00
walk.go storage: enforce sorted traversal during Walk 2015-12-01 16:25:30 -08:00