community.general/lib/ansible/modules/cloud/docker
John R Barker a23c95023b
Module deprecation: docs, scheme and tests (#34100)
Enforce module deprecation.
After module has reached the end of it's deprecation cycle we will replace it with a docs stub.

* Replace deprecated modules with docs-only sub
* Use of deprecated past deprecation cycle gives meaningful message (see examples below)
* Enforce documentation.deprecation dict via `schema.py`
* Update `ansible-doc` and web docs to display documentation.deprecation
* Document that structure in `dev_guide`
* Ensure that all modules starting with `_` have a `deprecation:` block
* Ensure `deprecation:` block is only used on modules that start with `_`
* `removed_in` A string which represents when this module needs **deleting**
* CHANGELOG.md and porting_guide_2.5.rst list removed modules as well as alternatives
* CHANGELOG.md links to porting guide index

To ensure that meaningful messages are given to the user if they try to use a module at the end of it's deprecation cycle we enforce the module to contain:
```python
if __name__ == '__main__':
    removed_module()
```
2018-01-30 12:23:52 +00:00
..
__init__.py
_docker.py Module deprecation: docs, scheme and tests (#34100) 2018-01-30 12:23:52 +00:00
docker_container.py Support domainname in docker_containers (#32292) 2018-01-23 08:24:37 -06:00
docker_image.py Bulk autopep8 (modules) 2017-12-07 20:25:55 +00:00
docker_image_facts.py Bulk autopep8 (modules) 2017-12-07 20:25:55 +00:00
docker_login.py Fix gender pronouns and the odd typo (#31709) 2017-10-13 13:52:38 -04:00
docker_network.py Bulk autopep8 (modules) 2017-12-07 20:25:55 +00:00
docker_secret.py data should be redacted in docker_secret (#31366) 2017-10-05 14:07:23 -04:00
docker_service.py docker_service build command respects the "pull: no" parameter 2017-10-02 11:11:48 -04:00
docker_volume.py Fix error when there are no docker volumes present yet (#28145) 2017-10-30 15:53:08 -04:00