zhouhaibing089
c9495f13a0
fixes the wrong doc in package healthz
2016-07-18 22:46:09 +08:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Clayton Coleman
c54097d96c
DefaultMux should only register the first time
2015-05-16 16:11:24 -04:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Clayton Coleman
015bc3b7bd
Remove global map from healthz
...
It currently is impossible to use two healthz handlers on different
ports in the same process. This removes the global variables in favor
of requiring the consumer to specify all health checks up front.
2015-03-19 19:49:44 -04:00
Mike Danese
400e7e4145
support user supplied health functions in pkg/healthz
2015-03-09 19:26:07 -07:00
Claire Li
eafd142dfa
Fix healthz test error handling
2014-11-02 22:26:45 -08:00
Clayton Coleman
bbf3b55e76
Extract RESTHandler and allow API groupings
...
Prepare for running multiple API versions on the same HTTP server
by decoupling some of the mechanics of apiserver. Define a new
APIGroup object which represents a version of the API.
2014-08-13 10:53:34 -04:00
Kelsey Hightower
713cadac52
add tests for the healthz package
...
Currently there are no tests for the healthz package. This patch adds
an initial set of tests and improves test coverage.
2014-07-20 12:28:02 -07:00
Yuki Sonoda (Yugui)
1395b0fbf0
Fixes golint errors in pkg/healthz
2014-07-16 21:59:23 +09:00
Daniel Smith
90afdb06c1
Move logger to own package; clean up apiserver to use serve mux.
2014-07-15 21:25:33 -07:00
Brendan Burns
ae179121c6
Address comments.
2014-07-14 20:38:43 -07:00