Skip to main content

Module stash

Module stash 

Source
Expand description

Disk-backed result stash for large guest-plugin results.

Large results (above a configurable threshold) are written to a temp file under <work_dir>/_stash/, keyed by an opaque handle. The daemon pulls them via the PullResult gRPC RPC. SDK-written temp files are deleted after a successful pull; plugin-owned files (from PluginResult::File) are referenced by path and left alone.

Structs§

ResultStash
Disk-backed result stash.
StashConfig
Controls when results are stashed to disk and how long they live.
StashEntry
Metadata for a single stashed result (path on disk, ownership, size).

Enums§

StashFormat
On-wire format hint, kept in sync with proto::ResultFormat.

Type Aliases§

Handle
Opaque identifier for a stashed result. A UUID v4 string.