community.docker/plugins/module_utils/_api
Felix Fontein 3b6068e44b
Add docker_context_info module (#1039)
* Vendor parts of the Docker SDK for Python

This is a combination of the latest git version
(db7f8b8bb6)
with some fixes to make it compatible with Python 2.7
and adjusting some imports.

* Polishing.

* Fix bug that prevents contexts to be found when no Docker config file is present.

Ref: https://github.com/docker/docker-py/issues/3190

* Linting.

* Fix typos.

* Adjust more to behavior of Docker CLI.

* Add first iteration of docker_context_info module.

* Improvements.

* Add basic CI.

* Add caveat on contexts[].config result.
2025-02-10 21:59:05 +01:00
..
api Improve error handling. (#1035) 2025-01-31 19:39:08 +01:00
context Add docker_context_info module (#1039) 2025-02-10 21:59:05 +01:00
credentials For Python > 2, always use shutil.which instead of custom Windows helper code. (#438) 2022-08-08 20:58:12 +02:00
transport Improve language. 2024-12-28 14:30:49 +01:00
types Improve language. 2024-12-28 14:30:49 +01:00
utils Add docker_context_info module (#1039) 2025-02-10 21:59:05 +01:00
_import_helper.py Make compatible with requests 2.29.0 and urllib3 2.0 (#613) 2023-05-05 22:09:02 +02:00
auth.py Improve language. 2024-12-28 14:30:49 +01:00
constants.py Vendored Docker SDK for Python code: remove unused constants (#1037) 2025-02-01 23:14:19 +01:00
errors.py Improve language. 2024-12-28 14:30:49 +01:00
tls.py Clean up vendored Docker SDK for Python TLS handling code. (#722) 2023-12-09 23:19:36 +01:00