diff options
author | Joffrey F <joffrey@docker.com> | 2016-06-02 16:28:52 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2016-06-02 17:59:50 -0700 |
commit | a34e0cbfaaa72d045a049848f6d55eebabc9a156 (patch) | |
tree | 5de8a9f19c5551ced1237a746ce38d72d617da90 /docker/constants.py | |
parent | 88811a26593e8a87e8d820d8820736fea6d8d20a (diff) | |
download | docker-py-a34e0cbfaaa72d045a049848f6d55eebabc9a156.tar.gz |
Experimental npipe:// support
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/constants.py')
-rw-r--r-- | docker/constants.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/constants.py b/docker/constants.py index 6c381de..0388f70 100644 --- a/docker/constants.py +++ b/docker/constants.py @@ -1,3 +1,5 @@ +import sys + DEFAULT_DOCKER_API_VERSION = '1.22' DEFAULT_TIMEOUT_SECONDS = 60 STREAM_HEADER_SIZE_BYTES = 8 @@ -8,3 +10,5 @@ CONTAINER_LIMITS_KEYS = [ INSECURE_REGISTRY_DEPRECATION_WARNING = \ 'The `insecure_registry` argument to {} ' \ 'is deprecated and non-functional. Please remove it.' + +IS_WINDOWS_PLATFORM = (sys.platform == 'win32') |