| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
|
|\
| |
| | |
Return node id on swarm init
|
| |
| |
| |
| | |
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
|
|/
|
|
| |
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
|
|
|
|
| |
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
|
|
|
|
|
|
|
|
| |
Following https://github.com/docker/docker-py/pull/2201#pullrequestreview-192571911
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
Co-authored-by: Hannes Ljungberg <hannes@5monkeys.se>
Co-authored-by: bluikko <14869000+bluikko@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Also corrected a documentation error: the default API version from
constants is currently 1.35, not 1.30 as was sometimes listed.
Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
Removed accidental whitespace.
Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
|
|
|
|
| |
Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
|
|\
| |
| | |
Add join_swarm default listen address
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since the docker CLI adds a default listen address (0.0.0.0:2377)
when joining a node to the swarm, the docker-py api will support
the same behavior to easy configuration.
Signed-off-by: Maxime Belanger <maxime.b.belanger@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
Implement swarm node removal
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/
|
|
|
|
| |
Makefile now runs tests against Docker 1.13 RC
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
| |
docker.types
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
| |
Add Client.update_swarm method
Add test for Client.update_swarm
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
| |
Rename swarm methods to be more explicit
Utility methods / types to create swarm spec objects
Integration tests
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
|
|
| |
3 API are added
swarm_init()
swarm_leave()
swarm_join()
Signed-off-by: Min Zhang <virgilerin@gmail.com>
Signed-off-by: Min Zhang <virgilerin@gmail.com>
|
|
3 API are added
swarm_init()
swarm_leave()
swarm_join()
Signed-off-by: Min Zhang<minzhang.work@gmail.com>
Signed-off-by: Min Zhang <virgilerin@gmail.com>
|