distribution/registry
Stephen J Day 2f2445a335 Refactor handling of hmac state packing
This refactors the hmac state token to take control of the layerUploadState
json message, which has been removed from the storage backend. It also moves
away from the concept of a LayerUploadStateStore callback object, which was
short-lived. This allows for upload offset to be managed by the web application
logic in the face of an inconsistent backend. By controlling the upload offset
externally, we reduce the possibility of misreporting upload state to a client.

We may still want to modify the way this works after getting production
experience.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-01-09 14:50:39 -08:00
..
api_test.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
app_test.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
app.go Fixes tests, moves layerhandler in config file 2015-01-08 17:29:22 -08:00
context.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
helpers.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
hmac_test.go Refactor handling of hmac state packing 2015-01-09 14:50:39 -08:00
hmac.go Refactor handling of hmac state packing 2015-01-09 14:50:39 -08:00
images.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
layer.go Fixes tests, moves layerhandler in config file 2015-01-08 17:29:22 -08:00
layerupload.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
tags.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
util.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00