Documentation ¶
Index ¶
- func ControllerLive() healthz.HealthChecker
- func HTTPBackendAvailable(u *url.URL) healthz.HealthChecker
- func HasSynced(routerPtr **templateplugin.TemplatePlugin) (healthz.HealthChecker, error)
- func ProcessRunning(stopCh <-chan struct{}) healthz.HealthChecker
- func ProxyProtocolHTTPBackendAvailable(u *url.URL) healthz.HealthChecker
- type Listener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControllerLive ¶
func ControllerLive() healthz.HealthChecker
func HTTPBackendAvailable ¶
func HTTPBackendAvailable(u *url.URL) healthz.HealthChecker
HTTPBackendAvailable returns a healthz check that verifies a backend responds to a GET to the provided URL with 2xx or 3xx response.
func HasSynced ¶
func HasSynced(routerPtr **templateplugin.TemplatePlugin) (healthz.HealthChecker, error)
HasSynced returns a healthz check that verifies the router has been synced at least once. routerPtr is a pointer because it may not yet be defined (there's a chicken-and-egg problem with when the health checker and router object are set up).
func ProcessRunning ¶
func ProcessRunning(stopCh <-chan struct{}) healthz.HealthChecker
ProcessRunning returns a healthz check that returns true as long as the provided stopCh is not closed.
func ProxyProtocolHTTPBackendAvailable ¶
func ProxyProtocolHTTPBackendAvailable(u *url.URL) healthz.HealthChecker
ProxyProtocolHTTPBackendAvailable returns a healthz check that verifies a backend supporting the HAProxy PROXY protocol responds to a GET to the provided URL with 2xx or 3xx response.
Types ¶
type Listener ¶
type Listener struct { Addr string TLSConfig *tls.Config Username string Password string Authenticator authenticator.Request Authorizer authorizer.Authorizer Record authorizer.AttributesRecord LiveChecks []healthz.HealthChecker ReadyChecks []healthz.HealthChecker }
Directories ¶
Path | Synopsis |
---|---|
Package haproxy is inspired by https://github.com/prometheus/haproxy_exporter
|
Package haproxy is inspired by https://github.com/prometheus/haproxy_exporter |
package probehttp is vendored from k8s.io/kubernetes/pkg/probe and k8s.io/kubernetes/pkg/probe/http
|
package probehttp is vendored from k8s.io/kubernetes/pkg/probe and k8s.io/kubernetes/pkg/probe/http |