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
60
61
62
#![cfg_attr(docsrs, feature(doc_cfg))]
pub static VERSION: &str = "v1.41";
macro_rules! version {
() => {
"v1.41"
};
}
#[macro_use]
mod builder;
mod util;
pub mod api;
pub mod conn;
pub mod docker;
pub mod errors;
pub use crate::{
api::{
container::{self, Container, Containers},
exec::{self, Exec, ExecContainerOpts},
image::{self, Image, Images},
network::{self, Network, Networks},
volume::{self, Volume, Volumes},
},
docker::Docker,
errors::{Error, Result},
};
#[cfg(feature = "swarm")]
#[cfg_attr(docsrs, doc(cfg(feature = "swarm")))]
pub use crate::api::{
config::{self, Config, Configs},
node::{self, Node, Nodes},
plugin::{self, Plugin, Plugins},
secret::{self, Secret, Secrets},
service::{self, Service, Services},
swarm::{self, Swarm},
task::{self, Task, Tasks},
};