distribution/registry
yixi zhang abf796d17c
Use app.driver.Stat for registry health check
`app.driver.List` on `"/"` is very expensive if registry contains significant amount of images. And the result isn't used anyways.
In most (if not all) storage drivers, `Stat` has a cheaper implementation, so use it instead to achieve the same goal.

Signed-off-by: yixi zhang <yixi@memsql.com>
2017-03-21 13:11:58 -07:00
..
api Remove support for X-Forwarded-Port 2017-03-20 17:02:58 -07:00
auth Update registry server to support repository class 2016-12-20 15:42:12 -08:00
client Add class to repository scope 2016-12-20 15:42:11 -08:00
handlers Use app.driver.Stat for registry health check 2017-03-21 13:11:58 -07:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware Add support for blobAccessController middleware 2016-05-19 14:02:15 +02:00
proxy Refactor authorization challenges to its own package 2016-11-09 15:27:40 -08:00
storage Use app.driver.Stat for registry health check 2017-03-21 13:11:58 -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 configuration option to disable access logging 2016-09-14 14:33:30 -07:00
registry_test.go Allow registry clients to connect via http2 2016-08-13 22:07:42 -04:00
root.go Remove signature store from registry. Return a generated signature for manifest 2016-05-27 13:19:26 -07:00