distribution/registry/handlers
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_test.go Add shutdown to test environment 2016-08-26 16:23:07 -07:00
app.go Use app.driver.Stat for registry health check 2017-03-21 13:11:58 -07:00
app_test.go Add shutdown to test environment 2016-08-26 16:23:07 -07:00
basicauth.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
basicauth_prego14.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
blob.go Add an "enabled" parameter under "readonly", and make it as if the mutable handlers don't exist when read-only mode is enabled 2015-09-22 15:49:26 -07:00
blobupload.go registry: avoid formatting errors with %#v 2016-07-01 11:30:58 -03:00
catalog.go Stop ErrFinishedWalk from escaping from Repositories walk 2016-08-05 17:21:48 -07:00
context.go Update auth context keys to use constant 2016-01-28 17:02:09 -08:00
health_test.go Disable upload purging during test 2016-08-26 16:23:07 -07:00
helpers.go fix typos 2016-06-02 23:03:27 +08:00
hmac.go handlers: provide better log message on mismatched secret 2016-09-02 15:24:35 -07:00
hmac_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hooks.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
images.go Update registry server to support repository class 2016-12-20 15:42:12 -08:00
mail.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
tags.go Pass through known errors 2016-04-29 23:34:24 +02:00