Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prober ¶
type Prober struct {
// contains filtered or unexported fields
}
Prober represents health and readiness status of given component.
func (*Prober) HealthyHandler ¶
func (p *Prober) HealthyHandler() http.HandlerFunc
HealthyHandler returns a HTTP Handler which responds health checks.
func (*Prober) NotHealthy ¶
NotHealthy sets components status to not healthy with given error as a cause.
func (*Prober) ReadyHandler ¶
func (p *Prober) ReadyHandler() http.HandlerFunc
ReadyHandler returns a HTTP Handler which responds readiness checks.
Click to show internal directories.
Click to hide internal directories.