pub struct Images { /* private fields */ }
Expand description
Interface for docker images
Implementations§
Source§impl Images
impl Images
Sourcepub fn build(
&self,
opts: &BuildOptions,
) -> impl Future<Item = Vec<Top>, Error = Error> + Send
pub fn build( &self, opts: &BuildOptions, ) -> impl Future<Item = Vec<Top>, Error = Error> + Send
Builds a new image build by reading a Dockerfile in a target directory
Sourcepub fn list(
&self,
opts: &ImageListOptions,
) -> impl Future<Item = Vec<ImageRep>, Error = Error> + Send
pub fn list( &self, opts: &ImageListOptions, ) -> impl Future<Item = Vec<ImageRep>, Error = Error> + Send
Lists the docker images on the current docker host
Sourcepub fn search(
&self,
term: &str,
) -> impl Future<Item = Vec<SearchResult>, Error = Error> + Send
pub fn search( &self, term: &str, ) -> impl Future<Item = Vec<SearchResult>, Error = Error> + Send
Search for docker images by term
Auto Trait Implementations§
impl Freeze for Images
impl !RefUnwindSafe for Images
impl Send for Images
impl Sync for Images
impl Unpin for Images
impl !UnwindSafe for Images
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> 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