Struct dagger_sdk::ContainerExecOptsBuilder
source · pub struct ContainerExecOptsBuilder<'a> { /* private fields */ }Expand description
Builder for ContainerExecOpts.
Implementations§
source§impl<'a> ContainerExecOptsBuilder<'a>
impl<'a> ContainerExecOptsBuilder<'a>
pub fn args<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
pub fn stdin<VALUE: Into<&'a str>>(&mut self, value: VALUE) -> &mut Self
pub fn redirect_stdout<VALUE: Into<&'a str>>( &mut self, value: VALUE ) -> &mut Self
pub fn redirect_stderr<VALUE: Into<&'a str>>( &mut self, value: VALUE ) -> &mut Self
pub fn experimental_privileged_nesting<VALUE: Into<bool>>( &mut self, value: VALUE ) -> &mut Self
sourcepub fn build(
&self
) -> Result<ContainerExecOpts<'a>, ContainerExecOptsBuilderError>
pub fn build( &self ) -> Result<ContainerExecOpts<'a>, ContainerExecOptsBuilderError>
Trait Implementations§
source§impl<'a> Clone for ContainerExecOptsBuilder<'a>
impl<'a> Clone for ContainerExecOptsBuilder<'a>
source§fn clone(&self) -> ContainerExecOptsBuilder<'a>
fn clone(&self) -> ContainerExecOptsBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more