| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Replace references to old Client with APIClient
Moved contents of services.md to appropriate locations
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
|
|
| |
See #1086
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
| |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
|
|
| |
So the cleanup stuff can be reused for model tests.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
|
|
| |
For some reason this was spread across two files.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
| |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
| |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
|
|
| |
Just do Client(version='auto').
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
|
|
|
| |
Because it's ancient. If you're still using it, you can use an old
version of docker-py.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
| |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
| |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|\
| |
| | |
Add support for isolation param in host config
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jamie Greeff <jamie@greeff.me>
|
|\ \
| | |
| | |
| | |
| | | |
TomasTomecek/1265-ssl-test-no-sslX-support-in-openssl
ssl,test: OpenSSL may not support ssl2
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #1265
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
|
|/ /
| |
| |
| |
| |
| |
| | |
This seems to have been ignored by older versions of flake8, and fixed
in version 3.1.0 or 3.1.1.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ryan Belgrave <Ryan.Belgrave@target.com>
|
| |
| |
| |
| |
| |
| | |
Introduced by https://github.com/docker/docker-py/pull/1230
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|\ \
| | |
| | | |
enable setting of node labels #1225
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added update_node function to enable setting labels on nodes. This
exposes the Update a Node function from the Docker API and should
enable promoting/demoting manager nodes inside a swarm.
Signed-off-by: Nathan Shirlberg <nshirlberg@labattfood.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- update config structure has new members
- service name update is no longer supported
Signed-off-by: Alessandro Boch <aboch@docker.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \ \
| | | |
| | | | |
Do not break when calling format_environment with unicode values
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Because it's a helper, not a base thing. In preparation for
moving/deleting the unit test base classes.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Because two things called `BaseTestCase` is quite confusing.
I haven't bothered refactoring the other `BaseTestCase` because
that disappears anyway when we drop Python 2.6 support.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|\ \
| | |
| | | |
Add support for restart policy update
|
| |/
| |
| |
| | |
Signed-off-by: Maxime Feron <maxime.feron@corp.ovh.com>
|
|/
|
|
|
|
|
| |
- to account for API change: IPAM class will now
also include a Data class, besides Config.
Signed-off-by: Alessandro Boch <aboch@docker.com>
|
|\
| |
| | |
Add support for identity tokens in config file
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\ \
| | |
| | | |
Fix a few pep8 issues
|
| |/
| |
| |
| |
| |
| | |
autopep8 --in-place --recursive --experimental -aaa --ignore E309 .
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|\ \
| | |
| | | |
Parse JSON API errors
|
| |/
| |
| |
| | |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|/
|
|
|
|
|
|
|
| |
Real errors were getting swallowed in these tests, producing
other confusing cascading errors. This makes it much easier to
make sure a node is not in a Swarm, while also handling other
errors correctly.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
|
|
|
| |
It also overrode the fake API inspect endpoint with a broken
response.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
| |
* Complete main LICENSE
* Remove unnecessary licenses from individual files
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
| |
Tests + docs
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
Support version parameter in `Client.from_env`
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|