pub struct DockerCommand {
pub docker_bin: String,
pub verbosity: Verbosity,
}
Fieldsยง
ยงdocker_bin: String
ยงverbosity: Verbosity
Implementationsยง
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, output_stdout: bool, output_stderr: bool, ) -> Result<Output>
pub fn get_manifest_inspect(&self, image: &str) -> Result<Output>
pub fn get_image_inspect(&self, image: &str) -> Result<Output>
pub fn pull_image( &self, image: &str, output_stdout: bool, output_stderr: bool, ) -> 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 Freeze for DockerCommand
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