Documentation
¶
Overview ¶
Package tortureu holds only the go:embed directive for registry.yaml (R-COV-8): a static binary that depends on a file it does not ship is not one.
This file lives at the repo root, not in internal/doctor, because go:embed can only reference files inside its own source file's directory tree — it cannot climb out via "..". registry.yaml stays at the repo root as the single editable source of truth (R-COV-1; check.py validates it there); this embeds that exact file rather than a copy, so there is nothing to drift.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegistryYAML []byte
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
benchmarks
|
|
|
b1
command
Generic docker/compose plumbing this harness needs to bring up and tear down real stacks through the SAME production code paths internal/run's own Docker-backed tests use (ComposeTopologyApplier.Apply, ToxiproxyApplier, DockerApplier).
|
Generic docker/compose plumbing this harness needs to bring up and tear down real stacks through the SAME production code paths internal/run's own Docker-backed tests use (ComposeTopologyApplier.Apply, ToxiproxyApplier, DockerApplier). |
|
b2
command
Generic docker/compose plumbing this harness needs to bring up and tear down real stacks through the SAME production code paths internal/run's own Docker-backed tests use (ComposeTopologyApplier.Apply, ToxiproxyApplier, DockerApplier).
|
Generic docker/compose plumbing this harness needs to bring up and tear down real stacks through the SAME production code paths internal/run's own Docker-backed tests use (ComposeTopologyApplier.Apply, ToxiproxyApplier, DockerApplier). |
|
cmd
|
|
|
tortureu
command
Command tortureu is the single front door to TortureU's 151 tools across 19 capability domains (R-SCOPE-3): one CLI, three tool depths (drive, delegate, know).
|
Command tortureu is the single front door to TortureU's 151 tools across 19 capability domains (R-SCOPE-3): one CLI, three tool depths (drive, delegate, know). |
|
internal
|
|
|
applier
Package applier provides the two real Applier implementations R-EXE-19 requires so a passed-over verb is actually routed to its owner instead of vanishing: WireMockApplier for error_rate (the mock provider, internal/egress's territory) and BrokerApplier for poison_pill and duplicate (internal/queuefault's queuefault.Applier seam).
|
Package applier provides the two real Applier implementations R-EXE-19 requires so a passed-over verb is actually routed to its owner instead of vanishing: WireMockApplier for error_rate (the mock provider, internal/egress's territory) and BrokerApplier for poison_pill and duplicate (internal/queuefault's queuefault.Applier seam). |
|
capture
Package doc lives in scrub.go; this file is the capturing proxy.
|
Package doc lives in scrub.go; this file is the capturing proxy. |
|
ci
Package ci generates the CI pipeline `tortureu init --ci` writes (R-CLI-11).
|
Package ci generates the CI pipeline `tortureu init --ci` writes (R-CLI-11). |
|
config
Package config parses and validates torture.yaml (SPEC.md §4).
|
Package config parses and validates torture.yaml (SPEC.md §4). |
|
contracts
Package contracts implements `tortureu check contracts` (R-CLI-7): the delegate-tier breaking-change detectors registry.yaml names as oasdiff (spec:openapi) and buf-breaking (spec:proto).
|
Package contracts implements `tortureu check contracts` (R-CLI-7): the delegate-tier breaking-change detectors registry.yaml names as oasdiff (spec:openapi) and buf-breaking (spec:proto). |
|
detect
Package detect turns a repo into a System description.
|
Package detect turns a repo into a System description. |
|
doctor
Package doctor is a static resilience audit and registry coverage report.
|
Package doctor is a static resilience audit and registry coverage report. |
|
egress
Package egress implements DC-2's default-deny egress guarantee: every host the system under test can reach is classified, and anything left unclassified aborts the run rather than being let through (R-DC2-1, R-DC2-2).
|
Package egress implements DC-2's default-deny egress guarantee: every host the system under test can reach is classified, and anything left unclassified aborts the run rather than being let through (R-DC2-1, R-DC2-2). |
|
emit
RESTler — stateful REST API fuzzing from an OpenAPI document (registry.yaml: tier delegate, when: spec:openapi, how: "tortureu emit restler", note "stateful: infers request SEQUENCES").
|
RESTler — stateful REST API fuzzing from an OpenAPI document (registry.yaml: tier delegate, when: spec:openapi, how: "tortureu emit restler", note "stateful: infers request SEQUENCES"). |
|
fault
Package fault translates config.Fault into Toxiproxy toxics and Docker actions (SPEC.md §4.4, §5), and tears every applied fault down on exit (R-EXE-5, R-EXE-16).
|
Package fault translates config.Fault into Toxiproxy toxics and Docker actions (SPEC.md §4.4, §5), and tears every applied fault down on exit (R-EXE-5, R-EXE-16). |
|
k6
Package k6 compiles the load block of a parsed torture.yaml into a k6 script, and models k6's machine-readable output (SPEC.md §4.3, §5, §6).
|
Package k6 compiles the load block of a parsed torture.yaml into a k6 script, and models k6's machine-readable output (SPEC.md §4.3, §5, §6). |
|
mcp
Package mcp implements TortureU's MCP surface: exactly five tools (R-MCP-1), no more, whose nouns are TortureU's own — experiment, fault, slo, verdict — never k6's (script, test, threshold), per DC-1 (R-DC1-1, R-MCP-5).
|
Package mcp implements TortureU's MCP surface: exactly five tools (R-MCP-1), no more, whose nouns are TortureU's own — experiment, fault, slo, verdict — never k6's (script, test, threshold), per DC-1 (R-DC1-1, R-MCP-5). |
|
queuefault
Package queuefault translates config.Fault into broker-producer actions for the two verbs R-EXE-15 assigns to it: poison_pill and duplicate (SPEC.md §4.4 / R-CFG-14, RESEARCH.md §18).
|
Package queuefault translates config.Fault into broker-producer actions for the two verbs R-EXE-15 assigns to it: poison_pill and duplicate (SPEC.md §4.4 / R-CFG-14, RESEARCH.md §18). |
|
run
DockerApplier is the real implementation of fault.Applier's ApplyDocker for container/cgroup-scoped faults (R-EXE-6: container scope only, never the host — every action below names a single container, never touches host tc/cgroups/processes).
|
DockerApplier is the real implementation of fault.Applier's ApplyDocker for container/cgroup-scoped faults (R-EXE-6: container scope only, never the host — every action below names a single container, never touches host tc/cgroups/processes). |
|
smoke
Reachability for `smoke`'s HTTP client.
|
Reachability for `smoke`'s HTTP client. |
|
trace
Package trace ingests distributed traces from a running trace backend so a finding can carry a real causal chain (R-VER-13) and, when one is built, the `caused` confidence D-4 reserves for evidence of the request path (R-VER-14).
|
Package trace ingests distributed traces from a running trace backend so a finding can carry a real causal chain (R-VER-13) and, when one is built, the `caused` confidence D-4 reserves for evidence of the request path (R-VER-14). |
|
trend
Package trend is the local verdict store for cross-commit trend tracking (SPEC.md §7, R-CLI-14..R-CLI-17; resolves TBD-1).
|
Package trend is the local verdict store for cross-commit trend tracking (SPEC.md §7, R-CLI-14..R-CLI-17; resolves TBD-1). |
|
verdict
Package verdict defines the normalized verdict document (VERDICT.md §1): the one shape a TortureU run emits, that both machine (JSON) and human consumers read.
|
Package verdict defines the normalized verdict document (VERDICT.md §1): the one shape a TortureU run emits, that both machine (JSON) and human consumers read. |
Click to show internal directories.
Click to hide internal directories.