Struct shiplift::builder::ExecContainerOptionsBuilder
source · 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