pub struct CloudSandboxRuntimeOptions {
pub workdir: Option<String>,
pub shell: Option<String>,
pub scripts: BTreeMap<String, String>,
pub entrypoint: Option<Vec<String>>,
pub cmd: Option<Vec<String>>,
pub user: Option<String>,
pub log_level: Option<SandboxLogLevel>,
}Expand description
Cloud guest runtime options. Mirrors SandboxRuntimeOptions but omits the
platform-controlled fields: the hostname (pinned to the sandbox id) and the
metrics-sampling knobs (metering integrity). deny_unknown_fields.
Fields§
§workdir: Option<String>Working directory for guest commands.
shell: Option<String>Default shell.
scripts: BTreeMap<String, String>Named in-guest scripts.
entrypoint: Option<Vec<String>>Entrypoint override.
cmd: Option<Vec<String>>Command override.
user: Option<String>Guest user.
log_level: Option<SandboxLogLevel>Runtime log level.
Trait Implementations§
Source§impl Clone for CloudSandboxRuntimeOptions
impl Clone for CloudSandboxRuntimeOptions
Source§fn clone(&self) -> CloudSandboxRuntimeOptions
fn clone(&self) -> CloudSandboxRuntimeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudSandboxRuntimeOptions
impl Debug for CloudSandboxRuntimeOptions
Source§impl Default for CloudSandboxRuntimeOptions
impl Default for CloudSandboxRuntimeOptions
Source§fn default() -> CloudSandboxRuntimeOptions
fn default() -> CloudSandboxRuntimeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CloudSandboxRuntimeOptionswhere
CloudSandboxRuntimeOptions: Default,
impl<'de> Deserialize<'de> for CloudSandboxRuntimeOptionswhere
CloudSandboxRuntimeOptions: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CloudSandboxRuntimeOptions
impl RefUnwindSafe for CloudSandboxRuntimeOptions
impl Send for CloudSandboxRuntimeOptions
impl Sync for CloudSandboxRuntimeOptions
impl Unpin for CloudSandboxRuntimeOptions
impl UnsafeUnpin for CloudSandboxRuntimeOptions
impl UnwindSafe for CloudSandboxRuntimeOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more