Expand description
Fault configuration DSL — declarative fault injection rules.
Users describe fault injection scenarios in a structured config that can
be serialized to/from YAML, TOML, or JSON. The FaultConfig is used by
all layers (SDK traits, syscall interceptor, WASM sandbox) to decide when
and how to inject faults.
Structs§
- Alloc
Fault Config - Memory allocator fault injection configuration.
- Clock
Fault Config - Clock fault injection configuration.
- Config
Error - A validation error in a fault configuration.
- Fault
Config - Top-level fault configuration.
- FsFault
Config - Filesystem fault injection configuration.
- FsFault
Rule - A single filesystem fault rule.
- Network
Fault Config - Network fault injection configuration (for local loopback interception).
- Network
Fault Rule - A single network fault rule.
- Process
Fault Config - Subprocess fault injection configuration.
- Process
Fault Rule - A single subprocess fault rule.
- Thread
Scheduling Config - Thread scheduling configuration for deterministic thread interleaving.
Enums§
- FsError
- Filesystem error to inject.
- FsOp
- Filesystem operation to target.
- Network
Fault - Types of network faults.
- Process
Fault - Types of subprocess faults.
- Scheduling
Strategy - Strategy for choosing which thread to schedule next.