[][src]Struct rs_docker::Docker

pub struct Docker { /* fields omitted */ }

Methods

impl Docker[src]

pub fn connect(addr: &str) -> Result<Docker>[src]

pub fn set_tls(&mut self, key: &Path, cert: &Path, ca: &Path) -> Result<()>[src]

pub fn get_networks(&mut self) -> Result<Vec<Network>>[src]

pub fn create_network(&mut self, network: Network) -> Result<Network>[src]

pub fn delete_network(&mut self, id_or_name: &str) -> Result<String>[src]

pub fn get_containers(&mut self, all: bool) -> Result<Vec<Container>>[src]

pub fn get_processes(&mut self, container: &Container) -> Result<Vec<Process>>[src]

pub fn get_stats(&mut self, container: &Container) -> Result<Stats>[src]

pub fn create_image(
    &mut self,
    image: String,
    tag: String
) -> Result<Vec<ImageStatus>>
[src]

pub fn get_images(&mut self, all: bool) -> Result<Vec<Image>>[src]

pub fn get_system_info(&mut self) -> Result<SystemInfo>[src]

pub fn get_container_info(
    &mut self,
    container: &Container
) -> Result<ContainerInfo>
[src]

pub fn get_filesystem_changes(
    &mut self,
    container: &Container
) -> Result<Vec<FilesystemChange>>
[src]

pub fn export_container(&mut self, container: &Container) -> Result<Vec<u8>>[src]

pub fn ping(&mut self) -> Result<String>[src]

pub fn get_version(&mut self) -> Result<Version>[src]

Auto Trait Implementations

impl Send for Docker

impl Sync for Docker

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]