moto/moto/awslambda
Chih-Hsuan Yen 2000f6654f
Support Podman for mocking Lambda (#3702)
* Support Podman for mocking Lambda

Podman supports all Docker APIs used in moto since version 3.0. Note
that Podman requires pulling the image before creating a container
using a fully-qualified image name (e.g., "docker.io/library/busybox"
instead of "busybox").

Test plan:
$ podman system service -t 0
$ DOCKER_HOST="unix://$XDG_RUNTIME_DIR/podman/podman.sock" pytest

Fixes https://github.com/spulec/moto/issues/3276

* Run black

* Python 2 compatibility

* Address review comments and improve parse_image_ref
2021-02-18 08:58:20 +00:00
..
__init__.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
exceptions.py improves support for AWS lambda policy management 2020-01-24 14:53:16 -05:00
models.py Support Podman for mocking Lambda (#3702) 2021-02-18 08:58:20 +00:00
policy.py don't use table of test cases and reduce duplication in get_policy method 2020-01-27 10:35:46 -05:00
responses.py adding layers support for lambda backend (#3563) 2021-01-17 15:28:49 +00:00
urls.py adding layers support for lambda backend (#3563) 2021-01-17 15:28:49 +00:00
utils.py adding layers support for lambda backend (#3563) 2021-01-17 15:28:49 +00:00