Struct boondock::ContainerListOptions
[−]
[src]
pub struct ContainerListOptions { /* fields omitted */ }
Options for Docker::containers
. This uses a "builder" pattern, so
most methods will consume the object and return a new one.
Methods
impl ContainerListOptions
[src]
fn all(self) -> Self
Return all containers, including stopped ones.
fn latest(self) -> Self
Return just the most-recently-started container (even if it has stopped).
fn limit(self, n: u64) -> Self
Limit the number of containers we return.
fn size(self) -> Self
Calculate the total file sizes for our containers. WARNING: This is very expensive.
fn to_url_params(&self) -> String
Convert to URL parameters.
Trait Implementations
impl Debug for ContainerListOptions
[src]
impl Clone for ContainerListOptions
[src]
fn clone(&self) -> ContainerListOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for ContainerListOptions
[src]
fn default() -> ContainerListOptions
Returns the "default value" for a type. Read more