distribution/docs/handlers
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
..
api_test.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
app.go Merge pull request #827 from aaronlehmann/read-only-mode-2 2015-10-15 11:50:31 -07:00
app_test.go Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
basicauth.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
basicauth_prego14.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
blob.go Add an "enabled" parameter under "readonly", and make it as if the mutable handlers don't exist when read-only mode is enabled 2015-09-22 15:49:26 -07:00
blobupload.go Add an "enabled" parameter under "readonly", and make it as if the mutable handlers don't exist when read-only mode is enabled 2015-09-22 15:49:26 -07:00
catalog.go Create Repositories method 2015-07-21 21:45:14 -07:00
context.go Create Repositories method 2015-07-21 21:45:14 -07:00
health_test.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
helpers.go Add an "enabled" parameter under "readonly", and make it as if the mutable handlers don't exist when read-only mode is enabled 2015-09-22 15:49:26 -07:00
hmac.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hmac_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hooks.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
images.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
mail.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
tags.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00