pkg/

directory
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: MIT

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL