Documentation
¶
Overview ¶
Package nodecli holds the helpers that the pulsequorum and pulsequorum-probe binaries share: the version line, the healthcheck subcommand and the logger. It must not import voter-only packages, so that the probe binary stays slim (ADR 0043).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Healthcheck ¶
func Healthcheck() int
Healthcheck probes the local liveness endpoint. It is used as container HEALTHCHECK because the distroless image has no shell or curl.
func VersionLine ¶
VersionLine returns the output of the version subcommand for binary.
Types ¶
This section is empty.