isothrum-runner
Executes the run manifest Isoloom writes next to a target's
generated files (.isoloom/<target>/run.json, manifest_version 1): bring an environment up,
check it, park, resume, update and tear it down with Docker Compose, Vagrant or Terraform. The
runner keeps each run's state and lock under a home folder, delivers params and secrets without
ever putting a value on a command line, and reports every operation as a stream of JSON events.
It is the library behind the isothrum command line;
embed it to drive runs from your own program.
Install
The runner is async, on Tokio.
Example
use Path;
use ;
async
Feature flags
| Feature | What it adds |
|---|---|
fake |
Test doubles for embedders' tests: isothrum_runner::fake::{FakeProcesses, Reply, Call} (scripted tools answering at once, every call recorded) and FakePorts (the free host ports a run is handed, in order; none taken, no address answering). Set them on RunnerConfig::processes and RunnerConfig::ports. |
fuzzing |
Internal: the pure cores the repository's fuzz targets drive. Hidden from the docs and not part of the public API. |
No feature is on by default.
Documentation
- API: https://docs.rs/isothrum-runner
- The event stream's JSON Schema:
schema/events-v0.schema.json - Guides and reference: https://github.com/Isothrum/isothrum/blob/main/docs/README.md
Minimum Rust: 1.90. Licence: Apache-2.0.