distribution/registry
Aaron Lehmann 6acb3a0d7e Avoid importing "testing" in externally-facing code
The "testing" package adds some flags in its init function, so utilities
that import distribution code may print a page of extra testing flags in
their help output.

This commit solves the issue by moving an import of "testing" in the
registry/storage/cache package to a new
registry/storage/cache/cachecheck package, which is only imported by
tests.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-09-29 10:06:39 -07:00
..
api Change some incorrect error types in proxy stores from API errors to 2015-08-11 14:16:24 -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 WithVersion to context and other cleanup 2015-09-14 17:14:31 -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 Avoid importing "testing" in externally-facing code 2015-09-29 10:06:39 -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