mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
c067798fc5
This change adds the `docker_service` resource for Docker swarm mode services. This branches off some of the common elements (id, exists) into a `DockerObject` module along with a utility function for parsing the image/repo string. That function was implemented separately by `docker_image` and `docker_container`, now with a third resource, it made sense to consolidate that into an included module. I used the most comprehensive implementation. Existing classes had to be slightly modified for the genericization. Signed-off-by: Matt Kulka <mkulka@parchment.com> |
||
---|---|---|
.. | ||
bundles | ||
dependencies | ||
dsl | ||
fetchers | ||
mock | ||
objects | ||
plugins | ||
profiles | ||
resources | ||
source_readers | ||
utils | ||
base_cli_test.rb | ||
file_provider_test.rb | ||
rspec_json_formatter_test.rb | ||
runner_test.rb | ||
shell_detector_test.rb |