Documentation
¶
Overview ¶
Package probe implements liveness probe checkers for node health monitoring.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCmdProbe ¶
RunCmdProbe runs a cmd probe and updates the entry marker on success/failure. It is shared by chainGroup and hopGroup probe loops to avoid duplicated code.
Types ¶
type CmdProber ¶
CmdProber runs a shell command to determine node health. Exit 0 = healthy, non-zero (including timeout) = unhealthy.
type HTTPProber ¶
HTTPProber performs an HTTP GET request over an established tunnel connection and validates the response status code.
func NewHTTPProber ¶
func NewHTTPProber(cfg *chain.ProbeConfig) *HTTPProber