distribution/docs
Josh Hawn 826bde851b 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
..
v2 Remove dependencies on registry packages 2015-01-15 14:05:05 -08:00
auth.go Get token on each request 2015-01-15 14:05:05 -08:00
auth_test.go Fix format calls as suggested by vet 2015-01-14 14:12:03 -08:00
authchallenge.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
config.go Allow private V2 registry endpoints 2015-01-15 14:05:05 -08:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
endpoint.go Add Tarsum Calculation during v2 Pull operation 2015-01-15 14:05:05 -08:00
endpoint_test.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
httpfactory.go registry.Registry -> registry.Session 2014-08-13 09:27:43 -04:00
MAINTAINERS update go import path and libcontainer 2014-07-24 22:19:50 +00:00
registry.go Moving NewIndexInfo, NewRepositoryInfo and associated helpers into config.go 2015-01-08 20:15:00 +00:00
registry_mock_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
registry_test.go Moving NewIndexInfo, NewRepositoryInfo and associated helpers into config.go 2015-01-08 20:15:00 +00:00
service.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
session.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
session_v2.go Add Tarsum Calculation during v2 Pull operation 2015-01-15 14:05:05 -08:00
token.go Update token response handling 2015-01-15 14:05:05 -08:00
types.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00