1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/registry/proxy
Richard Scothern cb6f002350 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
..
scheduler Buffer writing the scheduler entry state to disk by periodically checking for 2015-10-29 11:35:52 -07:00
proxyauth.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxyblobstore_test.go Simplify digest.FromBytes calling convention 2015-12-14 14:30:51 -08:00
proxyblobstore.go Fix a race condition in pull through cache population by removing the functionality 2015-10-08 16:12:29 -07:00
proxymanifeststore_test.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
proxymanifeststore.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
proxymetrics.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxyregistry.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
proxytagservice_test.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00
proxytagservice.go Implementation of the Manifest Service API refactor. 2015-12-17 17:09:14 -08:00