Struct docker::Docker [] [src]

pub struct Docker {
    // some fields omitted
}

Methods

impl Docker

fn connect(addr: &str) -> Result<Docker>

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

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

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

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

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

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

fn get_system_info(&mut self) -> Result<SystemInfo>

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

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

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

fn ping(&mut self) -> Result<String>

fn get_version(&mut self) -> Result<Version>

Trait Implementations

impl Clone for Docker

fn clone(&self) -> Self

fn clone_from(&mut self, source: &Self)