Documentation ¶
Index ¶
- func NewHealthHandler(ctx context.Context, probes map[string]ServiceProber) http.HandlerFunc
- func NewLivenessHandler(ctx context.Context, isAlive func() error) http.HandlerFunc
- func NewReadinessHandler(ctx context.Context, probes map[string]ServiceProber) http.HandlerFunc
- func NewSingleReadinessHandler(ctx context.Context, probes map[string]ServiceProber) http.HandlerFunc
- type ServiceProber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthHandler ¶
func NewHealthHandler(ctx context.Context, probes map[string]ServiceProber) http.HandlerFunc
func NewLivenessHandler ¶
func NewLivenessHandler(ctx context.Context, isAlive func() error) http.HandlerFunc
func NewReadinessHandler ¶
func NewReadinessHandler(ctx context.Context, probes map[string]ServiceProber) http.HandlerFunc
func NewSingleReadinessHandler ¶
func NewSingleReadinessHandler(ctx context.Context, probes map[string]ServiceProber) http.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.