pub struct SandboxImageCommand {
pub command: Vec<String>,
pub env: BTreeMap<String, String>,
pub working_directory: String,
}Expand description
Root-owned metadata copied from the base image at bundle creation, never from an exec caller.
Fields§
§command: Vec<String>OCI Entrypoint followed by Cmd; empty means there is no image command.
env: BTreeMap<String, String>Image environment only, before runtime authorization and provider variables are added.
working_directory: StringOCI WorkingDir, or / if the image does not declare one.
Trait Implementations§
Source§impl Clone for SandboxImageCommand
impl Clone for SandboxImageCommand
Source§impl Debug for SandboxImageCommand
impl Debug for SandboxImageCommand
Source§impl Default for SandboxImageCommand
impl Default for SandboxImageCommand
Source§impl<'de> Deserialize<'de> for SandboxImageCommand
impl<'de> Deserialize<'de> for SandboxImageCommand
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 SandboxImageCommand
impl RefUnwindSafe for SandboxImageCommand
impl Send for SandboxImageCommand
impl Sync for SandboxImageCommand
impl Unpin for SandboxImageCommand
impl UnsafeUnpin for SandboxImageCommand
impl UnwindSafe for SandboxImageCommand
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