No description
Find a file
Stephen J Day e809796f59 Initial implementation of Manifest HTTP API
Push, pull and delete of manifest files in the registry have been implemented
on top of the storage services. Basic workflows, including reporting of missing
manifests are tested, including various proposed response codes. Common testing
functionality has been collected into shared methods. A test suite may be
emerging but it might better to capture more edge cases (such as resumable
upload, range requests, etc.) before we commit to a full approach.

To support clearer test cases and simpler handler methods, an application aware
urlBuilder has been added. We may want to export the functionality for use in
the client, which could allow us to abstract away from gorilla/mux.

A few error codes have been added to fill in error conditions missing from the
proposal. Some use cases have identified some problems with the approach to
error reporting that requires more work to reconcile. To resolve this, the
mapping of Go errors into error types needs to pulled out of the handlers and
into the application. We also need to move to type-based errors, with rich
information, rather than value-based errors. ErrorHandlers will probably
replace the http.Handlers to make this work correctly.

Unrelated to the above, the "length" parameter has been migrated to "size" for
completing layer uploads. This change should have gone out before but these
diffs ending up being coupled with the parameter name change due to updates to
the layer unit tests.
2014-11-26 13:35:07 -08:00
client Correct references after move of Manifest into storage package 2014-11-24 16:38:33 -08:00
cmd Expects storage driver executables to be of the form registry-storage-name 2014-11-06 18:32:06 -08:00
common Uses new digest package instead of string digests 2014-11-19 18:54:11 -08:00
configuration Lots of various golint fixes 2014-11-17 15:46:06 -08:00
digest Clean up layer storage layout 2014-11-25 09:57:43 -08:00
open-design Initial open-design proposal 2014-11-10 09:39:20 -08:00
project/dev-image Fix goverall 2014-11-22 10:17:14 -08:00
storage Rich error reporting for manifest push 2014-11-26 12:57:14 -08:00
storagedriver [IPC] Tiny cleaning 2014-11-22 23:23:03 +03:00
.drone.yml Fix goverall 2014-11-22 10:17:14 -08:00
api_test.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
app.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
app_test.go Update routes to reflect specification changes 2014-11-18 20:39:32 -08:00
context.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
CONTRIBUTING.md Initial open-design proposal 2014-11-10 09:39:20 -08:00
errors.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
errors_test.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
helpers.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
images.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
layer.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
layerupload.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
LICENSE + license 2014-10-21 13:25:04 -07:00
MAINTAINERS Initial open-design proposal 2014-11-06 13:28:27 -08:00
README.md Test drone 2014-11-13 13:58:52 -08:00
routes.go Update routes to reflect specification changes 2014-11-18 20:39:32 -08:00
routes_test.go Update routes to reflect specification changes 2014-11-18 20:39:32 -08:00
tags.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
urls.go Initial implementation of Manifest HTTP API 2014-11-26 13:35:07 -08:00
util.go Carve out initial application structure 2014-11-10 19:03:49 -08:00

docker-registry

Coverage Status Build Status

## TL;DR

License

Apache License