summaryrefslogtreecommitdiff
path: root/docker/constants.py
diff options
context:
space:
mode:
authorSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 11:55:21 -0700
committerSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 11:55:21 -0700
commit0c74f7ce9339080d4f27ee39365bc109bada0efb (patch)
tree05ed2be1f5c3a96255baeaa638d2e477ce894ab7 /docker/constants.py
parent7cd7ca7e903ee2dfb1a91ec118f8653b2310ec7d (diff)
Imported Upstream version 1.2.2
Diffstat (limited to 'docker/constants.py')
-rw-r--r--docker/constants.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/constants.py b/docker/constants.py
new file mode 100644
index 0000000..233d9b1
--- /dev/null
+++ b/docker/constants.py
@@ -0,0 +1,6 @@
+DEFAULT_DOCKER_API_VERSION = '1.18'
+DEFAULT_TIMEOUT_SECONDS = 60
+STREAM_HEADER_SIZE_BYTES = 8
+CONTAINER_LIMITS_KEYS = [
+ 'memory', 'memswap', 'cpushares', 'cpusetcpus'
+]