pub struct SandboxRuntimeOptions {
pub workdir: Option<String>,
pub shell: Option<String>,
pub scripts: BTreeMap<String, String>,
pub entrypoint: Option<Vec<String>>,
pub cmd: Option<Vec<String>>,
pub hostname: Option<String>,
pub user: Option<String>,
pub log_level: Option<SandboxLogLevel>,
pub metrics_sample_interval_ms: Option<u64>,
pub disable_metrics_sample: bool,
}Expand description
Guest runtime options for a sandbox.
Fields§
§workdir: Option<String>Working directory inside the guest.
In Rust SDK creation from a concrete SandboxConfig, None inherits defaults; use a sparse patch to clear.
shell: Option<String>Default shell for scripts and interactive sessions.
In Rust SDK creation from a concrete SandboxConfig, None explicitly clears lower-layer defaults; managed overrides still apply.
scripts: BTreeMap<String, String>Named scripts available inside the guest.
entrypoint: Option<Vec<String>>Image entrypoint override.
cmd: Option<Vec<String>>Image command override.
hostname: Option<String>Guest hostname override.
user: Option<String>Guest user identity override.
log_level: Option<SandboxLogLevel>Runtime log verbosity.
In Rust SDK creation from a concrete SandboxConfig, None explicitly clears lower-layer defaults; managed overrides still apply.
metrics_sample_interval_ms: Option<u64>Metrics sampling interval in milliseconds. None disables sampling.
In Rust SDK creation from a concrete SandboxConfig, None explicitly clears lower-layer defaults; managed overrides still apply.
disable_metrics_sample: boolForce-disable metrics sampling regardless of metrics_sample_interval_ms.