[−][src]Struct shipliftExp::Containers
Interface for docker containers
Methods
impl<'a> Containers<'a>
[src]
pub fn new(docker: &'a Docker) -> Containers<'a>
[src]
Exports an interface for interacting with docker containers
pub fn list(
&self,
opts: &ContainerListOptions
) -> impl Future<Item = Vec<ContainerRep>, Error = Error>
[src]
&self,
opts: &ContainerListOptions
) -> impl Future<Item = Vec<ContainerRep>, Error = Error>
Lists the container instances on the docker host
pub fn get<'b>(&self, name: &'b str) -> Container<'a, 'b>
[src]
Returns a reference to a set of operations available to a specific container instance
pub fn create(
&self,
opts: &ContainerOptions
) -> impl Future<Item = ContainerCreateInfo, Error = Error>
[src]
&self,
opts: &ContainerOptions
) -> impl Future<Item = ContainerCreateInfo, Error = Error>
Returns a builder interface for creating a new container instance
Auto Trait Implementations
impl<'a> Send for Containers<'a>
impl<'a> Sync for Containers<'a>
impl<'a> Unpin for Containers<'a>
impl<'a> !UnwindSafe for Containers<'a>
impl<'a> !RefUnwindSafe for Containers<'a>
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,