Documentation
¶
Overview ¶
Package availability holds the shell scripts the e2e suite runs inside an HAProxy pod to prove a route keeps answering while a test injects a fault.
Index ¶
Constants ¶
const FailureMarker = "HAPTIC_AVAILABILITY_FAILED"
FailureMarker prefixes the line MonitorScript writes to stderr when a probe gets anything but 200. Every other non-zero exit is a monitor fault.
const MonitorScript = `` /* 2481-byte string literal not displayed */
MonitorScript probes http://127.0.0.1$2 with Host $1 until it is stopped, keeping its state in directory $3 under token $4. It prints READY after the first 200 and exits 1 with FailureMarker on any other status.
const StopScript = `` /* 1977-byte string literal not displayed */
StopScript stops the MonitorScript whose state directory is $1 and token is $2, then removes that directory. With $3 set to 1 it first waits for the monitor to create its state.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.