1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/registry
Stephen J Day 5d029fb807 Add error return to Repository method on Registry
The method (Registry).Repository may now return an error. This is too allow
certain implementationt to validate the name or opt to not return a repository
under certain conditions.

In conjunction with this change, error declarations have been moved into a
single file in the distribution package. Several error declarations that had
remained in the storage package have been moved into distribution, as well. The
declarations for Layer and LayerUpload have also been moved into the main
registry file, as a result.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-02-13 16:27:33 -08:00
..
api/v2 Add error return to Repository method on Registry 2015-02-13 16:27:33 -08:00
auth Run goimports/gofmt on previous changes 2015-02-11 12:43:04 -08:00
client Run goimports/gofmt on previous changes 2015-02-11 12:43:04 -08:00
handlers Add error return to Repository method on Registry 2015-02-13 16:27:33 -08:00
storage Add error return to Repository method on Registry 2015-02-13 16:27:33 -08:00
doc.go Move registry package into handler package 2015-02-10 17:25:40 -08:00