1
0
Fork 1
mirror of https://github.com/distribution/distribution synced 2024-09-22 02:19:42 +00:00
docker-distribution/registry
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 Add a read-only mode as a configuration option 2015-09-22 15:47:48 -07:00
auth Switch tests to import "github.com/docker/distribution/context" 2015-08-20 14:50:12 -07:00
client Merge pull request #934 from stevvooe/sanitize-url-correctly 2015-08-27 22:30:21 -07:00
handlers Add a read-only mode as a configuration option 2015-09-22 15:47:48 -07:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxy Move manifest package to schema1 2015-08-21 16:29:47 -07:00
storage Allow interface{} keys when using logger 2015-09-11 11:33:55 -07:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Add WithVersion to context and other cleanup 2015-09-14 17:14:31 -07:00