hammer_cli_foreman_docker 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +4 -0
  3. data/lib/hammer_cli_foreman_docker.rb +4 -0
  4. data/lib/hammer_cli_foreman_docker/docker.rb +9 -5
  5. data/lib/hammer_cli_foreman_docker/docker_container.rb +2 -0
  6. data/lib/hammer_cli_foreman_docker/docker_manifest.rb +50 -0
  7. data/lib/hammer_cli_foreman_docker/docker_registry.rb +58 -0
  8. data/lib/hammer_cli_foreman_docker/docker_tag.rb +3 -2
  9. data/lib/hammer_cli_foreman_docker/i18n.rb +4 -6
  10. data/lib/hammer_cli_foreman_docker/version.rb +1 -1
  11. data/locale/de/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  12. data/locale/de/hammer_cli_foreman_docker.po +165 -0
  13. data/locale/en/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  14. data/locale/en/hammer_cli_foreman_docker.po +31 -1
  15. data/locale/en_GB/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  16. data/locale/en_GB/hammer_cli_foreman_docker.po +165 -0
  17. data/locale/es/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  18. data/locale/es/hammer_cli_foreman_docker.po +165 -0
  19. data/locale/fr/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  20. data/locale/fr/hammer_cli_foreman_docker.po +165 -0
  21. data/locale/hammer_cli_foreman_docker.pot +91 -46
  22. data/locale/it/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  23. data/locale/{en/hammer_cli_foreman_docker.edit.po → it/hammer_cli_foreman_docker.po} +30 -20
  24. data/locale/ja/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  25. data/locale/ja/hammer_cli_foreman_docker.po +165 -0
  26. data/locale/ko/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  27. data/locale/ko/hammer_cli_foreman_docker.po +164 -0
  28. data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  29. data/locale/pt_BR/hammer_cli_foreman_docker.po +164 -0
  30. data/locale/ru/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  31. data/locale/ru/hammer_cli_foreman_docker.po +165 -0
  32. data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  33. data/locale/zh_CN/hammer_cli_foreman_docker.po +164 -0
  34. data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
  35. data/locale/zh_TW/hammer_cli_foreman_docker.po +164 -0
  36. metadata +35 -12
  37. data/lib/hammer_cli_foreman_docker/docker_image.rb +0 -43
  38. data/locale/en/hammer_cli_foreman_docker.po.time_stamp +0 -0
@@ -1,43 +0,0 @@
1
- begin
2
- require 'hammer_cli_katello'
3
-
4
- module HammerCLIForemanDocker
5
- class DockerImageCommand < HammerCLIForeman::Command
6
- resource :docker_images
7
- command_name 'image'
8
- desc _('Manage docker images')
9
-
10
- class ListCommand < HammerCLIKatello::ListCommand
11
- include ::HammerCLIKatello::LifecycleEnvironmentNameResolvable
12
- output do
13
- field :id, _("ID")
14
- field :image_id, _("Image ID")
15
- field :size, _("Size")
16
- end
17
-
18
- build_options do |o|
19
- o.expand.including(:products, :organizations, :content_views)
20
- end
21
- end
22
-
23
- class InfoCommand < HammerCLIKatello::InfoCommand
24
- output do
25
- field :id, _("ID")
26
- field :image_id, _("Image ID")
27
- field :size, _("Size")
28
-
29
- collection :tags, _("Tags") do
30
- field :repository_id, _("Repository ID")
31
- field :tag, _("Tag")
32
- end
33
- end
34
-
35
- build_options
36
- end
37
-
38
- autoload_subcommands
39
- end
40
- end
41
- rescue LoadError
42
- warn _("'hammer_cli_katello' needs to be installed for %s command to work") % 'image'
43
- end
File without changes