Trait conductor::cmd::CommandRun
[−]
[src]
pub trait CommandRun { fn run<CR>(&self, runner: &CR, ovr: &Override, pod: &str, command: Option<&Command>, opts: &Options) -> Result<()> where CR: CommandRunner; fn test<CR>(&self, runner: &CR, target: &Target) -> Result<()> where CR: CommandRunner; }
We implement conductor run
with a trait so we put it in its own module.
Required Methods
fn run<CR>(&self, runner: &CR, ovr: &Override, pod: &str, command: Option<&Command>, opts: &Options) -> Result<()> where CR: CommandRunner
Run a specific pod as a one-shot task.
fn test<CR>(&self, runner: &CR, target: &Target) -> Result<()> where CR: CommandRunner
Execute tests inside a fresh container.
Implementors
impl CommandRun for Project