community.docker/plugins/module_utils
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 Add docker_context_info module (#1039) 2025-02-10 21:59:05 +01:00
module_container Improve language. 2024-12-28 14:30:49 +01:00
_logfmt.py Improve parsing of warnings and errors (#811) 2024-03-03 13:38:55 +00:00
_platform.py Add proper platform handling. (#705) 2023-12-10 09:03:32 +01:00
_scramble.py Add docker_container_copy_into module (#545) 2023-01-09 11:52:29 +01:00
common_api.py Add docker_context_info module (#1039) 2025-02-10 21:59:05 +01:00
common_cli.py Improve language. 2024-12-28 14:30:49 +01:00
common.py Add docker_context_info module (#1039) 2025-02-10 21:59:05 +01:00
compose_v2.py Determine the compose version via a CLI call and not the docker API. (#1021) 2024-12-29 14:13:39 +01:00
copy.py Add docker_container_copy_into module (#545) 2023-01-09 11:52:29 +01:00
image_archive.py Improve language. 2024-12-28 14:30:49 +01:00
selectors.py Avoid using the deprecated selectors compat module utils. (#871) 2024-05-25 09:00:18 +02:00
socket_handler.py Make sure plugins/module_utils/socket_handler.py works when Docker SDK for Python is not installed. (#620) 2023-05-15 21:43:31 +02:00
socket_helper.py Improve language. 2024-12-28 14:30:49 +01:00
swarm.py Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
util.py Fix label sanitization error handling. (#1029) 2025-01-22 20:45:08 +00:00
version.py Prepare 4.0.0 release. (#971) 2024-10-18 21:01:49 +02:00