Directories
¶
| Path | Synopsis |
|---|---|
|
Package probe defines the core probe abstractions: a status enum, the Probe interface, function adapters and composition helpers.
|
Package probe defines the core probe abstractions: a status enum, the Probe interface, function adapters and composition helpers. |
|
Package reporter defines a side-effect interface invoked on probe status transitions.
|
Package reporter defines a side-effect interface invoked on probe status transitions. |
|
Package runner periodically executes a Probe and pushes the result into a State, invoking Reporters on transitions.
|
Package runner periodically executes a Probe and pushes the result into a State, invoking Reporters on transitions. |
|
Package state holds the cached health status of a probe along with pub/sub semantics so transports (gRPC Watch, log/metric reporters, cached HTTP) can react to changes without re-running the underlying probe.
|
Package state holds the cached health status of a probe along with pub/sub semantics so transports (gRPC Watch, log/metric reporters, cached HTTP) can react to changes without re-running the underlying probe. |
|
transport
|
|
|
http
Package httpprobe exposes probes over HTTP with sensible defaults for Kubernetes liveness/readiness/startup checks, but generic enough for any service.
|
Package httpprobe exposes probes over HTTP with sensible defaults for Kubernetes liveness/readiness/startup checks, but generic enough for any service. |
|
grpc
module
|
Click to show internal directories.
Click to hide internal directories.