distribution/registry/handlers
Aaron Lehmann c9bb330b71 Add a read-only mode as a configuration option
Add "readonly" under the storage/maintenance section. When this is set
to true, uploads and deletions will return 503 Service Unavailable
errors.

Document the parameter and add some unit testing.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-09-22 15:47:48 -07:00
..
api_test.go Add a read-only mode as a configuration option 2015-09-22 15:47:48 -07:00
app.go Add a read-only mode as a configuration option 2015-09-22 15:47:48 -07:00
app_test.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
basicauth.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
basicauth_prego14.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
blob.go Add a read-only mode as a configuration option 2015-09-22 15:47:48 -07:00
blobupload.go Add a read-only mode as a configuration option 2015-09-22 15:47:48 -07:00
catalog.go Create Repositories method 2015-07-21 21:45:14 -07:00
context.go Create Repositories method 2015-07-21 21:45:14 -07:00
health_test.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
helpers.go Add a read-only mode as a configuration option 2015-09-22 15:47:48 -07:00
hmac.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hmac_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hooks.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
images.go Add a read-only mode as a configuration option 2015-09-22 15:47:48 -07:00
mail.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
tags.go Allow Manifest Service to be configured with function arguments 2015-07-15 12:25:16 -07:00