No description
Find a file
Stephen J Day 2e3ecdca37 Remove size argument and using io.Reader for StorageDriver.WriteStream
We are change the the rpc call for WriteStream to not require the size
argument, opting to drive the process with io.Reader. The main issue was that
io.Reader may return io.EOF before reaching size, making the error handling
around this condition for callers more complex. To complement this, WriteStream
now returns the number of successfully written bytes.

The method no longer requires an io.ReadCloser, opting to require just an
io.Reader. This keeps the reader under the control of the caller, which
provides more flexibility.

This also begins to address some of the problems described in #791.
2014-12-02 21:47:28 -08:00
client Address race condition in client tests (closes #784) 2014-11-26 15:37:27 -08:00
cmd Merge pull request #801 from ahmetalpbalkan/next-generation-azure-storagedriver 2014-12-02 13:45:52 -08:00
common Uses new digest package instead of string digests 2014-11-19 18:54:11 -08:00
configuration configuration.Parse should take io.Reader 2014-12-01 17:32:31 -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 Correct ENV declaration in Dockerfile 2014-11-26 13:19:45 -08:00
storage Avoid manifest verification errors by using Raw 2014-12-01 17:10:33 -08:00
storagedriver Remove size argument and using io.Reader for StorageDriver.WriteStream 2014-12-02 21:47:28 -08:00
.drone.yml Fix goverall 2014-11-22 10:17:14 -08:00
api_test.go Add TODO about manifest tampering test 2014-12-01 17:40:14 -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