availability

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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

View Source
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.

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

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