pub struct DockerProvider { /* private fields */ }Expand description
Docker-CLI provider. Local CLI does not select this automatically.
Implementations§
Source§impl DockerProvider
impl DockerProvider
Sourcepub fn with_runner(
job: impl Into<String>,
runner: Box<dyn CommandRunner>,
) -> Self
pub fn with_runner( job: impl Into<String>, runner: Box<dyn CommandRunner>, ) -> Self
Inject the external-command boundary and skip real-clock readiness.
Sourcepub fn health_timeout_secs(self, seconds: u64) -> Self
pub fn health_timeout_secs(self, seconds: u64) -> Self
Override the per-service readiness timeout.
Trait Implementations§
Source§impl Debug for DockerProvider
impl Debug for DockerProvider
Source§impl ServiceProvider for DockerProvider
impl ServiceProvider for DockerProvider
Source§fn up(&self, services: &[Service]) -> Result<RunningServices, ServiceError>
fn up(&self, services: &[Service]) -> Result<RunningServices, ServiceError>
Start all requested services.
Source§fn down(&self, running: RunningServices) -> Result<(), ServiceError>
fn down(&self, running: RunningServices) -> Result<(), ServiceError>
Stop services from one successful
up call.Auto Trait Implementations§
impl !RefUnwindSafe for DockerProvider
impl !UnwindSafe for DockerProvider
impl Freeze for DockerProvider
impl Send for DockerProvider
impl Sync for DockerProvider
impl Unpin for DockerProvider
impl UnsafeUnpin for DockerProvider
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