Expand description
Orchestrator for manipulating nodes and recording results during a run of HotShot tests
ModulesΒ§
- client
- The orchestratorβs clients
StructsΒ§
- Orchestrator
State π - The state of the orchestrator
TraitsΒ§
- Orchestrator
Api - An api exposed by the orchestrator
FunctionsΒ§
- api_
router π - Builds the
apimoduleβs routes. Existing clients call these both directly (e.g.api/identity) and under a major-version prefix (v0/api/identity), so the/apitree is mounted at the root and under/v0. - app π
- Builds the full router: the app-level
healthcheck, plus theapimodule served both unversioned and under/v0. Every response carries permissive CORS headers. - decode_
wrapped_ πbody - Decode a POST body from
OrchestratorClient. - decode_
wrapped_ πpeer_ config - Like
decode_wrapped_body, but for thereadyroute, whose inner payload is a rawPeerConfig::to_bytesblob rather than a second vbs-serialized value. - get_
builders π - get_
start π - get_
tmp_ πnode_ index - healthcheck π
- libp2p_
generate_ indexed_ identity - Generate an keypair based on a
seedand anindex - malformed_
body π - peer_
pubconfig_ πready - post_
builder π - post_
config_ πafter_ peer_ collected - post_
getconfig π - post_
identity π - post_
manual_ πstart - post_
pubkey π - post_
ready π - post_
results π - run_
orchestrator - Runs the orchestrator
Type AliasesΒ§
- Orchestrator
Version - VBS framing version for orchestrator request bodies and the client in
client.rs. - Shared
Orchestrator πState - Shared, lock-guarded orchestrator state, cloned into every axum handler via
State.