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
#![deny(missing_docs)]
#![deny(warnings)]

//! # Docktape
//!
//! Docktape is a wrapper for the Docker API (https://docs.docker.com/develop/sdk/).
//!
//! This crate is currently using Hyper v0.11.27 (https://docs.rs/crate/hyper/0.11.27) and will be updated very soon.

extern crate futures;
extern crate hyper;
#[cfg(not(target_os = "windows"))]
extern crate hyperlocal;
extern crate tokio_core;
extern crate serde_json;
#[macro_use]
extern crate percent_encoding;
extern crate log;
extern crate url;

mod container;
mod image;
mod network;
mod volume;
mod socket;
mod docker;
mod utils;

pub use futures::Stream;
pub use futures::Future;
pub use hyper::{Client, Result, Request};
pub use tokio_core::reactor::Core;
pub use hyper::Uri;
pub use std::io::{self, Write};
pub use serde_json::Value;
pub use docker::Docker;
pub use hyper::Method;

#[cfg(not(target_os = "windows"))]
pub use hyperlocal::UnixConnector;
pub use socket::{Socket};