diff options
author | Joffrey F <joffrey@docker.com> | 2016-08-22 19:12:27 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2016-08-23 14:52:07 -0700 |
commit | 775b581c04dfa5f7d421ad74f969f25869fa8151 (patch) | |
tree | 4852aea751667ba0b127c111aac95d61b0e0b96f /docs/api.md | |
parent | 7d5a1eeb7a46f17136aaf1041660d043a85051fc (diff) | |
download | docker-py-1085-service-support.tar.gz |
Private images support in create_service / update_service1085-service-support
Refactor auth header computation
Add tasks methods and documentation.
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docs/api.md')
-rw-r--r-- | docs/api.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md index 12467ed..5857892 100644 --- a/docs/api.md +++ b/docs/api.md @@ -666,6 +666,16 @@ Create a service, similar to the `docker service create` command. See the Retrieve information about the current Swarm. See the [Swarm documentation](swarm.md#clientinspect_swarm). +## inspect_task + +Retrieve information about a task. + +**Params**: + +* task (str): Task identifier + +**Returns** (dict): Task information dictionary + ## inspect_volume Retrieve volume info by name. @@ -1055,6 +1065,17 @@ Tag an image into a repository. Identical to the `docker tag` command. **Returns** (bool): True if successful +## tasks + +Retrieve a list of tasks. + +**Params**: + +* filters (dict): A map of filters to process on the tasks list. Valid filters: + `id`, `name`, `service`, `node`, `label` and `desired-state`. + +**Returns** (list): List of task dictionaries. + ## top Display the running processes of a container. |