1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//! Docker Engine API client

// for the `error_chain` crate.
#![recursion_limit = "1024"]

extern crate base64;
extern crate byteorder;
extern crate chrono;
#[macro_use]
extern crate failure;
extern crate futures;
extern crate http;
extern crate hyper;
#[cfg(feature = "openssl")]
extern crate hyper_tls;
#[cfg(unix)]
extern crate hyperlocal;
extern crate hyperx;
#[macro_use]
extern crate log;
extern crate mime;
#[cfg(windows)]
extern crate named_pipe;
#[cfg(feature = "openssl")]
extern crate native_tls;
extern crate nix;
#[cfg(feature = "openssl")]
extern crate openssl;
extern crate serde;
#[macro_use]
extern crate serde_derive;
extern crate dirs;
extern crate serde_json;
extern crate tar;
extern crate tokio;
#[cfg(unix)]
extern crate unix_socket;
extern crate url;

pub mod container;
pub mod credentials;
mod docker;
pub mod errors;
pub mod filesystem;
mod header;
mod http_client;
mod hyper_client;
pub mod image;
mod options;
pub mod process;
mod response;
pub mod signal;
pub mod stats;
pub mod system;
mod test;
pub mod version;

pub use docker::Docker;
pub use options::*;