summaryrefslogtreecommitdiff
path: root/docker/api/volume.py
Commit message (Collapse)AuthorAgeFilesLines
* Add 'force' parameter in remove_volumeforce_remove_volumeJoffrey F2017-01-261-4/+14
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add docstrings to low-level APIBen Firshman2016-11-221-0/+85
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* volumes,create: support adding labelsTomas Tomecek2016-07-131-1/+12
| | | | | | Fixes #1102 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* Fix remove_volume return valueSumit Sahrawat2015-12-101-1/+0
| | | | Signed-off-by: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>
* fix typo filter param for `volumes`Nicolas Delaby2015-12-011-1/+1
| | | | | | https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#list-volumes Signed-off-by: Nicolas Delaby <nicolas.delaby@lock8.me>
* Update `Client.create_volume` to use new endpoint819-volumes-createJoffrey F2015-10-211-1/+1
| | | | | | | | New API endpoint is POST /volumes/create (previously just /volumes) Since the feature is yet unreleased (RC), no fallback strategy is implemented. Signed-off-by: Joffrey F <joffrey@docker.com>
* Generic skip decorator for low API version accessible to all testsJoffrey F2015-09-161-19/+5
| | | | | | | | | | Add simpler version comparison functions Add decorator to enforce minimum version in API methods Fix utils imports Add minimum_version decorators on API methods that needed it GroupAdd test requires API version >= 1.20 Signed-off-by: Joffrey F <joffrey@docker.com>
* Modify unit tests suite to allow mock routes to optionally be method-awareJoffrey F2015-09-161-3/+5
| | | | | | | Added mock API routes for volumes API Add unit tests and integration tests for volume API Signed-off-by: Joffrey F <joffrey@docker.com>
* Basic volume API implementation.Joffrey F2015-09-151-0/+48
Signed-off-by: Joffrey F <joffrey@docker.com>