[][src]Struct shiplift::Image

pub struct Image<'a, 'b> { /* fields omitted */ }

Interface for accessing and manipulating a named docker image

Methods

impl<'a, 'b> Image<'a, 'b>[src]

pub fn new<S>(docker: &'a Docker, name: S) -> Image<'a, 'b> where
    S: Into<Cow<'b, str>>, 
[src]

Exports an interface for operations that may be performed against a named image

pub fn inspect(&self) -> impl Future<Item = ImageDetails, Error = Error>[src]

Inspects a named image's details

pub fn history(&self) -> impl Future<Item = Vec<History>, Error = Error>[src]

Lists the history of the images set of changes

pub fn delete(&self) -> impl Future<Item = Vec<Status>, Error = Error>[src]

Deletes an image

pub fn export(&self) -> impl Stream<Item = Vec<u8>, Error = Error>[src]

Export this image to a tarball

pub fn tag(&self, opts: &TagOptions) -> impl Future<Item = (), Error = Error>[src]

Adds a tag to an image

Auto Trait Implementations

impl<'a, 'b> Unpin for Image<'a, 'b>

impl<'a, 'b> Sync for Image<'a, 'b>

impl<'a, 'b> Send for Image<'a, 'b>

impl<'a, 'b> !UnwindSafe for Image<'a, 'b>

impl<'a, 'b> !RefUnwindSafe for Image<'a, 'b>

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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