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> |
||
|---|---|---|
| .. | ||
| descriptors.go | ||
| doc.go | ||
| errors.go | ||
| names.go | ||
| names_test.go | ||
| routes.go | ||
| routes_test.go | ||
| urls.go | ||
| urls_test.go | ||