pub type ExecContainerOptionsBuilder = ExecContainerOptionsBuilder;
👎Deprecated since 0.8.0: Please use
docker_sdk::exec::ExecContainerOptionsBuilder
. This will be removed in 0.9.0.Aliased Type§
pub struct ExecContainerOptionsBuilder { /* private fields */ }
Implementations
Source§impl ExecContainerOptionsBuilder
impl ExecContainerOptionsBuilder
Sourcepub fn env(&mut self, envs: Vec<&str>) -> &mut Self
pub fn env(&mut self, envs: Vec<&str>) -> &mut Self
A list of environment variables in the form “VAR=value”
Sourcepub fn attach_stdout(&mut self, stdout: bool) -> &mut Self
pub fn attach_stdout(&mut self, stdout: bool) -> &mut Self
Attach to stdout of the exec command
Sourcepub fn attach_stderr(&mut self, stderr: bool) -> &mut Self
pub fn attach_stderr(&mut self, stderr: bool) -> &mut Self
Attach to stderr of the exec command
pub fn build(&self) -> ExecContainerOptions
Trait Implementations
Source§impl Default for ExecContainerOptionsBuilder
impl Default for ExecContainerOptionsBuilder
Source§fn default() -> ExecContainerOptionsBuilder
fn default() -> ExecContainerOptionsBuilder
Returns the “default value” for a type. Read more