Aaron Lehmann b09b0ffcf9 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
..
2015-04-09 17:50:46 -07:00
2015-06-15 14:39:33 -07:00
2015-08-06 17:35:36 -07:00
2015-08-04 23:02:34 -07:00
2015-06-15 14:39:33 -07:00
2015-06-17 17:31:13 -07:00
2015-08-10 13:57:35 -07:00
2015-08-11 17:48:53 -07:00
2015-08-10 13:57:35 -07:00
2015-06-15 14:39:33 -07:00
2015-06-15 14:39:33 -07:00
2015-08-10 13:57:35 -07:00
2015-06-08 15:57:05 -07:00
2015-08-11 17:48:53 -07:00
2015-08-10 13:57:35 -07:00
2015-06-15 14:39:33 -07:00
2015-07-31 13:22:56 +08:00
2015-08-04 23:02:34 -07:00
2015-08-04 23:02:34 -07:00