summaryrefslogtreecommitdiff
path: root/docker/api/volume.py
Commit message (Collapse)AuthorAgeFilesLines
* 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>