summaryrefslogtreecommitdiff
path: root/docker/api/image.py
Commit message (Collapse)AuthorAgeFilesLines
* Add example for tag()Ben Firshman2016-11-281-0/+5
| | | | | | Carrying #1120. Thanks @Faylixe! Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Add docstrings to low-level APIBen Firshman2016-11-221-0/+244
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Make docker.auth a single fileBen Firshman2016-11-221-4/+3
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Remove dead code in import_image_from_dataBen Firshman2016-10-131-3/+0
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Add support for changes param in import_image* methodsJoffrey F2016-09-061-75/+97
| | | | | | Reduce code duplication in import_image* methods Signed-off-by: Joffrey F <joffrey@docker.com>
* Private images support in create_service / update_service1085-service-supportJoffrey F2016-08-231-35/+6
| | | | | | | | Refactor auth header computation Add tasks methods and documentation. Signed-off-by: Joffrey F <joffrey@docker.com>
* Add optional auth config to docker pushKeerthan Reddy Mala2016-07-221-10/+17
| | | | Signed-off-by: Keerthan Reddy Mala <kmala@deis.com>
* Use decode on push and pull operations.Aleksandar Topuzovic2016-03-011-4/+4
| | | | | | | Stream helper has the ability to decode the responses from strings to JSON. This commit enables this functionality on push and pull operations. Signed-off-by: Aleksandar Topuzovic <aleksandar.topuzovic@gmail.com>
* Update auth.resolve_repository_nameJoffrey F2015-11-231-3/+2
| | | | | | | | | | | More relaxed version that matches the constraints imposed by the current version of the docker daemon. Few unit tests to verify the new cases. Client.pull was trying to set the tag value when it wasn't supposed to, fixed now. utils.parse_repository_tag is simpler and supports @sha... notation Signed-off-by: Joffrey F <joffrey@docker.com>
* Generic skip decorator for low API version accessible to all testsJoffrey F2015-09-161-7/+7
| | | | | | | | | | 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>
* Split different APIs into several mixins for clarity / easier maintenanceJoffrey F2015-09-111-0/+271
Signed-off-by: Joffrey F <joffrey@docker.com>