community.docker/tests
Felix Fontein 4d508b4c37
Vendor API connection code from Docker SDK for Python (#398)
* Vendor parts of the Docker SDK for Python

This is a combination of the latest git version
(a48a5a9647)
and the version before Python 2.7 support was removed
(650aad3a5f),
including some modifications to work with Ansible module_utils's
system (i.e. third-party imports are guarded, and errors are
reported during runtime through a new exception
MissingRequirementException).

* Create module_utils and plugin_utils for working with the vendored code.

The delete call cannot be called delete() since that method already exists from requests.

* Vendor more code from Docker SDK for Python.

* Adjust code from common module_utils.

* Add unit tests from Docker SDK for Python.

* Make test compile with Python 2.6, but skip them on Python 2.6.

* Skip test that requires a network server.

* Add changelog.

* Update changelogs/fragments/398-docker-api.yml

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>

* Minimum API version is 1.25.

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
2022-07-02 16:40:44 +02:00
..
ee Add EE support, support GHA in current_container_facts (#336) 2022-04-18 22:54:00 +02:00
integration/targets Revert "Revert "Remove deprecations from docker_container, bump collection version to 3.0.0 (#399)"" 2022-07-02 14:28:27 +02:00
sanity Add EE support, support GHA in current_container_facts (#336) 2022-04-18 22:54:00 +02:00
unit Vendor API connection code from Docker SDK for Python (#398) 2022-07-02 16:40:44 +02:00
utils requests drops support for older Python. (#380) 2022-06-11 18:14:18 +00:00
config.yml Add ansible-test config file. (#132) 2021-05-01 22:37:18 +02:00
requirements.yml Initial cleanup. 2020-10-30 07:05:51 +01:00