distribution/registry/storage
Stephen J Day eee6cad2cf Remove digest package's dependency on external sha implementation
The change relies on a refactor of the upstream resumable sha256/sha512 package
that opts to register implementations with the standard library. This allows
the resumable support to be detected where it matters, avoiding unnecessary and
complex code. It also ensures that consumers of the digest package don't need
to depend on the forked sha implementations.

We also get an optimization with this change. If the size of data written to a
digester is the same as the file size, we check to see if the digest has been
verified. This works if the blob is written and committed in a single request.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-05-20 23:44:08 -07:00
..
cache Merge pull request #387 from dmcgowan/registry-client-update 2015-05-20 15:55:20 -07:00
driver Merge pull request #410 from RichardScothern/driver-context 2015-05-04 19:18:30 -07:00
blob_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
blobcachemetrics.go Open cache interface 2015-05-15 17:56:28 -07:00
blobserver.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
blobstore.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
blobwriter.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
blobwriter_nonresumable.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
blobwriter_resumable.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
doc.go Move storage package under registry package 2015-02-11 12:43:04 -08:00
filereader.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
filereader_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
filewriter_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
linkedblobstore.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
manifeststore.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
manifeststore_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
paths.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
paths_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
purgeuploads.go Make Storage Driver API calls context aware. 2015-04-27 15:58:58 -07:00
purgeuploads_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
registry.go Merge pull request #387 from dmcgowan/registry-client-update 2015-05-20 15:55:20 -07:00
revisionstore.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
signaturestore.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
tagstore.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
util.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
walk.go Make Storage Driver API calls context aware. 2015-04-27 15:58:58 -07:00
walk_test.go Make Storage Driver API calls context aware. 2015-04-27 15:58:58 -07:00