Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPProbe ¶
type HTTPProbe struct {
// contains filtered or unexported fields
}
HTTPProbe implements the ComponentInterface and provides a component which will handle web request to standard kubernetes probes: liveness, readiness and startup probes.
func NewHTTPProbe ¶
func NewHTTPProbe(readinessChecker ReadinessChecker, port string) HTTPProbe
type ReadinessChecker ¶
type ReadinessChecker func() bool
ReadinessChecker is dependency which is used by HTTPProbe struct to check that application is ready to serve.
Click to show internal directories.
Click to hide internal directories.