Struct shiplift::image::Image [−][src]
pub struct Image<'docker> { /* fields omitted */ }
Interface for accessing and manipulating a named docker image
Implementations
impl<'docker> Image<'docker>
[src]
impl<'docker> Image<'docker>
[src]pub fn new<S>(docker: &'docker Docker, name: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
Exports an interface for operations that may be performed against a named image
pub async fn inspect(&self) -> Result<ImageDetails>
[src]
Inspects a named image’s details
pub async fn history(&self) -> Result<Vec<History>>
[src]
Lists the history of the images set of changes
pub async fn delete(&self) -> Result<Vec<Status>>
[src]
Deletes an image
pub fn export(&self) -> impl Stream<Item = Result<Vec<u8>>> + Unpin + 'docker
[src]
Export this image to a tarball
pub async fn tag(&self, opts: &TagOptions) -> Result<()>
[src]
Adds a tag to an image
Auto Trait Implementations
impl<'docker> !RefUnwindSafe for Image<'docker>
impl<'docker> Send for Image<'docker>
impl<'docker> Sync for Image<'docker>
impl<'docker> Unpin for Image<'docker>
impl<'docker> !UnwindSafe for Image<'docker>
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]