Esempio n. 1
0
func (c *HTTPKubeletClient) HealthCheck(host string) (probe.Result, string, error) {
	return httprobe.DoHTTPProbe(c.url(host, "/healthz", ""), c.Client)
}
func (c *HTTPKubeletClient) HealthCheck(host string) (probe.Result, error) {
	return httprobe.DoHTTPProbe(fmt.Sprintf("%s/healthz", c.url(host)), c.Client)
}