Trait conductor::cmd::CommandExec [] [src]

pub trait CommandExec {
    fn exec<CR>(&self, runner: &CR, target: &Target, command: &Command, opts: &Options) -> Result<()Error> where CR: CommandRunner;
    fn shell<CR>(&self, runner: &CR, target: &Target, opts: &Options) -> Result<()Error> where CR: CommandRunner;
}

We implement conductor exec with a trait so we can put it in its own module.

Required Methods

Exectute a command inside a running container. Even though we package up most of our arguments into structs, we still have a ridiculous number of arguments.

Execute an interactive shell inside a running container.

Implementors