Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControllerLive ¶
func ControllerLive() healthz.HealthzChecker
func HTTPBackendAvailable ¶
func HTTPBackendAvailable(u *url.URL) healthz.HealthzChecker
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(router **templateplugin.TemplatePlugin) healthz.HealthzChecker
HasSynced returns a healthz check that verifies the router has been synced at least once.
func ProxyProtocolHTTPBackendAvailable ¶
func ProxyProtocolHTTPBackendAvailable(u *url.URL) healthz.HealthzChecker
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.HealthzChecker ReadyChecks []healthz.HealthzChecker }
Click to show internal directories.
Click to hide internal directories.