distribution/docs
Aaron Lehmann c48e460933 Add configurable file-existence and HTTP health checks
Add a section to the config file called "health". Within this section,
"filecheckers" and "httpcheckers" list checks to run. Each check
specifies a file or URI, a time interval for the check, and a threshold
specifying how many times the check must fail to reach an unhealthy
state.

Document the new options in docs/configuration.md.

Add unit testing for both types of checkers. Add an UnregisterAll
function in the health package to support the unit tests, and an
Unregister function for consistency with Register.

Fix a string conversion problem in the health package's HTTP checker.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-08-20 14:50:12 -07:00
..
api Change some incorrect error types in proxy stores from API errors to 2015-08-11 14:16:24 -07:00
auth auth.AccessController interface now uses distribution/context 2015-07-23 19:48:47 -07:00
client Move common error codes to errcode package 2015-08-11 11:50:58 -07:00
handlers Add configurable file-existence and HTTP health checks 2015-08-20 14:50:12 -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 Functional options for NewRegistryWithDriver 2015-08-19 11:06:30 -07:00
storage Functional options for NewRegistryWithDriver 2015-08-19 11:06:30 -07:00
doc.go Integrate layer info cache with registry and storage 2015-04-02 20:15:16 -07:00