[−][src]Struct shipliftExp::Image
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]
S: Into<Cow<'b, str>>,
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> Send for Image<'a, 'b>
impl<'a, 'b> Sync for Image<'a, 'b>
impl<'a, 'b> Unpin for Image<'a, 'b>
impl<'a, 'b> !UnwindSafe for Image<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for Image<'a, 'b>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,