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
..
2015-08-28 12:46:53 -07:00
2015-09-18 17:27:01 +08:00
2015-08-28 12:46:53 -07:00
2015-06-15 14:39:33 -07:00
2015-08-28 12:48:55 -07:00
2015-08-28 12:46:53 -07:00
2015-08-04 23:02:34 -07:00
2015-06-15 14:39:33 -07:00
2015-08-28 12:46:53 -07:00
2015-08-28 12:46:53 -07:00
2015-08-28 12:46:53 -07:00
2015-08-28 12:46:53 -07:00
2015-06-15 14:39:33 -07:00
2015-06-15 14:39:33 -07:00
2015-08-28 12:47:39 -07:00
2015-08-28 12:48:55 -07:00
2015-08-28 12:48:55 -07:00
2015-08-28 12:48:55 -07:00
2015-08-28 12:46:53 -07:00
2015-08-04 23:02:34 -07:00
2015-08-04 23:02:34 -07:00