pkg/tarsum
Josh Hawn 328a6bbf4e Add Tarsum Calculation during v2 Pull operation
While the v2 pull operation is writing the body of the layer blob to disk
it now computes the tarsum checksum of the archive before extracting it to
the backend storage driver. If the checksum does not match that from the
image manifest an error is raised.

Also adds more debug logging to the pull operation and fixes existing test
cases which were failing. Adds a reverse lookup constructor to the tarsum
package so that you can get a tarsum object using a checksum label.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-01-15 14:05:05 -08:00
..
testdata tarsum: name collision fix 2014-09-17 14:37:46 -04:00
builder_context.go Have .dockerignore support Dockerfile/.dockerignore 2015-01-06 10:57:48 -08:00
fileinfosums.go tarsum: name collision fix 2014-09-17 14:37:46 -04:00
fileinfosums_test.go tarsum: name collision fix 2014-09-17 14:37:46 -04:00
MAINTAINERS pkg/tarsum: add maintainers & add missing s 2014-11-26 00:44:16 +02:00
tarsum.go Add Tarsum Calculation during v2 Pull operation 2015-01-15 14:05:05 -08:00
tarsum_spec.md tarsum: updates for jamtur01 comments 2014-11-24 23:18:48 -05:00
tarsum_test.go Correctly close generated benchmark archives 2014-12-03 22:26:06 -08:00
versioning.go Add Tarsum Calculation during v2 Pull operation 2015-01-15 14:05:05 -08:00
versioning_test.go Finalize TarSum Version 1 w/ refactor 2014-11-04 21:38:52 -08:00
writercloser.go TarSum: versioning 2014-09-10 15:41:52 -04:00