distribution/registry/api/v2
Christy Perez 0810eba2ad Better error message for BuildManifestURL if not tagged or digested
Since there's no default case, if there's not a tag or digest you get
back a confusing error from the router about it not matching the
expected pattern.

Also redoing the tests for URLs a bit so that they can handle checking
for failures.

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
2017-03-02 11:27:23 -06:00
..
descriptors.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
doc.go Move registry api definitions under registry package 2015-02-10 17:32:22 -08:00
errors.go Typo fixes in comments 2016-02-10 16:26:29 -08:00
headerparser.go Honor X-Forwarded-Port and Forwarded headers 2016-11-02 16:49:42 +01:00
headerparser_test.go Honor X-Forwarded-Port and Forwarded headers 2016-11-02 16:49:42 +01:00
routes.go Catalog for V2 API Implementation 2015-07-21 21:45:14 -07:00
routes_test.go Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
urls.go Better error message for BuildManifestURL if not tagged or digested 2017-03-02 11:27:23 -06:00
urls_test.go Better error message for BuildManifestURL if not tagged or digested 2017-03-02 11:27:23 -06:00