pub struct DockerDriver;Implementations§
Source§impl DockerDriver
impl DockerDriver
pub fn has_buildx() -> bool
Trait Implementations§
Source§impl BuildDriver for DockerDriver
impl BuildDriver for DockerDriver
Source§fn pull(opts: PullOpts<'_>) -> Result<ContainerId>
fn pull(opts: PullOpts<'_>) -> Result<ContainerId>
Runs the pull logic for the driver Read more
Source§fn manifest_create(opts: ManifestCreateOpts<'_>) -> Result<()>
fn manifest_create(opts: ManifestCreateOpts<'_>) -> Result<()>
Create a manifest containing all the built images. Read more
Source§fn manifest_push(opts: ManifestPushOpts<'_>) -> Result<()>
fn manifest_push(opts: ManifestPushOpts<'_>) -> Result<()>
Pushes a manifest containing all the built images. Read more
Source§fn build_tag_push(opts: BuildTagPushOpts<'_>) -> Result<Vec<String>>
fn build_tag_push(opts: BuildTagPushOpts<'_>) -> Result<Vec<String>>
Runs the logic for building, tagging, and pushing an image. Read more
Source§impl Debug for DockerDriver
impl Debug for DockerDriver
Source§impl DriverVersion for DockerDriver
impl DriverVersion for DockerDriver
Source§const VERSION_REQ: &'static str = ">=23"
const VERSION_REQ: &'static str = ">=23"
The version req string slice that follows
the semver standard https://semver.org/.
fn is_supported_version() -> bool
Source§impl ImageStorageDriver for DockerDriver
impl ImageStorageDriver for DockerDriver
Source§fn remove_image(opts: RemoveImageOpts<'_>) -> Result<()>
fn remove_image(opts: RemoveImageOpts<'_>) -> Result<()>
Removes an image Read more
Source§impl RunDriver for DockerDriver
impl RunDriver for DockerDriver
Source§fn run(opts: RunOpts<'_>) -> Result<ExitStatus>
fn run(opts: RunOpts<'_>) -> Result<ExitStatus>
Run a container to perform an action. Read more
Source§fn run_output(opts: RunOpts<'_>) -> Result<Output>
fn run_output(opts: RunOpts<'_>) -> Result<Output>
Run a container to perform an action and capturing output. Read more
Source§fn run_detached(opts: RunOpts<'_>) -> Result<DetachedContainer>
fn run_detached(opts: RunOpts<'_>) -> Result<DetachedContainer>
Run a container to perform an action in the background.
The container will be stopped when the returned
DetachedContainer
value is dropped. Read moreSource§fn create_container(opts: CreateContainerOpts<'_>) -> Result<ContainerId>
fn create_container(opts: CreateContainerOpts<'_>) -> Result<ContainerId>
Creates container Read more
Source§fn remove_container(opts: RemoveContainerOpts<'_>) -> Result<()>
fn remove_container(opts: RemoveContainerOpts<'_>) -> Result<()>
Removes a container Read more
Auto Trait Implementations§
impl Freeze for DockerDriver
impl RefUnwindSafe for DockerDriver
impl Send for DockerDriver
impl Sync for DockerDriver
impl Unpin for DockerDriver
impl UnsafeUnpin for DockerDriver
impl UnwindSafe for DockerDriver
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more