Struct docker_pose::DockerCommand
source · pub struct DockerCommand {
pub docker_bin: String,
pub verbosity: Verbosity,
}Fields§
§docker_bin: String§verbosity: VerbosityImplementations§
source§impl DockerCommand
impl DockerCommand
pub fn new(verbosity: Verbosity) -> Self
pub fn call_to_string(&self, args: &[&str]) -> String
pub fn call_cmd( &self, args: &[&str], output_stdout: bool, output_stderr: bool ) -> Result<Output>
pub fn call_compose_cmd( &self, cmd: &str, filenames: &[&str], args: &[&str], cmd_args: &[&str], output_stdout: bool, output_stderr: bool ) -> Result<Output>
pub fn call_compose_config( &self, filenames: &[&str], no_consistency: bool, no_interpolate: bool, no_normalize: bool, output_stdout: bool, output_stderr: bool ) -> Result<Output>
pub fn get_manifest_inspect(&self, image: &str) -> Result<Output>
pub fn write_stderr(&self, stderr: &[u8])
pub fn write_stdout(&self, stdout: &[u8])
pub fn exit_code(&self, output: &Output) -> i32
Auto Trait Implementations§
impl RefUnwindSafe for DockerCommand
impl Send for DockerCommand
impl Sync for DockerCommand
impl Unpin for DockerCommand
impl UnwindSafe for DockerCommand
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