[][src]Struct async_docker::communicate::images::Images

pub struct Images { /* fields omitted */ }

Interface for docker images

Methods

impl Images[src]

pub fn build(
    &self,
    opts: &BuildOptions
) -> impl Future<Item = Vec<Top>, Error = Error> + Send
[src]

Builds a new image build by reading a Dockerfile in a target directory

pub fn list(
    &self,
    opts: &ImageListOptions
) -> impl Future<Item = Vec<ImageRep>, Error = Error> + Send
[src]

Lists the docker images on the current docker host

pub fn search(
    &self,
    term: &str
) -> impl Future<Item = Vec<SearchResult>, Error = Error> + Send
[src]

Search for docker images by term

pub fn pull(
    &self,
    opts: &PullOptions
) -> impl Future<Item = Value, Error = Error> + Send
[src]

Pull and create a new docker images from an existing image

pub fn export(
    &self,
    names: Vec<&str>
) -> impl Stream<Item = String, Error = Error> + Send
[src]

exports a collection of named images, either by name, name:tag, or image id, into a tarball

Auto Trait Implementations

impl Send for Images

impl Sync for Images

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T