pub struct DirectoryTerminalOpts<'a> {
pub cmd: Option<Vec<&'a str>>,
pub container: Option<ContainerId>,
pub experimental_privileged_nesting: Option<bool>,
pub insecure_root_capabilities: Option<bool>,
}
Fields§
§cmd: Option<Vec<&'a str>>
If set, override the container’s default terminal command and invoke these command arguments instead.
container: Option<ContainerId>
If set, override the default container used for the terminal.
experimental_privileged_nesting: Option<bool>
Provides Dagger access to the executed command.
insecure_root_capabilities: Option<bool>
Execute the command with all root capabilities. This is similar to running a command with “sudo” or executing “docker run” with the “–privileged” flag. Containerization does not provide any security guarantees when using this option. It should only be used when absolutely necessary and only with trusted commands.
Trait Implementations§
Source§impl<'a> Debug for DirectoryTerminalOpts<'a>
impl<'a> Debug for DirectoryTerminalOpts<'a>
Source§impl<'a> PartialEq for DirectoryTerminalOpts<'a>
impl<'a> PartialEq for DirectoryTerminalOpts<'a>
impl<'a> StructuralPartialEq for DirectoryTerminalOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirectoryTerminalOpts<'a>
impl<'a> RefUnwindSafe for DirectoryTerminalOpts<'a>
impl<'a> Send for DirectoryTerminalOpts<'a>
impl<'a> Sync for DirectoryTerminalOpts<'a>
impl<'a> Unpin for DirectoryTerminalOpts<'a>
impl<'a> UnwindSafe for DirectoryTerminalOpts<'a>
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