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.
- checksums.yaml +4 -4
- data/LICENSE +4 -0
- data/lib/hammer_cli_foreman_docker.rb +4 -0
- data/lib/hammer_cli_foreman_docker/docker.rb +9 -5
- data/lib/hammer_cli_foreman_docker/docker_container.rb +2 -0
- data/lib/hammer_cli_foreman_docker/docker_manifest.rb +50 -0
- data/lib/hammer_cli_foreman_docker/docker_registry.rb +58 -0
- data/lib/hammer_cli_foreman_docker/docker_tag.rb +3 -2
- data/lib/hammer_cli_foreman_docker/i18n.rb +4 -6
- data/lib/hammer_cli_foreman_docker/version.rb +1 -1
- data/locale/de/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/de/hammer_cli_foreman_docker.po +165 -0
- data/locale/en/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/en/hammer_cli_foreman_docker.po +31 -1
- data/locale/en_GB/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/en_GB/hammer_cli_foreman_docker.po +165 -0
- data/locale/es/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/es/hammer_cli_foreman_docker.po +165 -0
- data/locale/fr/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/fr/hammer_cli_foreman_docker.po +165 -0
- data/locale/hammer_cli_foreman_docker.pot +91 -46
- data/locale/it/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/{en/hammer_cli_foreman_docker.edit.po → it/hammer_cli_foreman_docker.po} +30 -20
- data/locale/ja/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/ja/hammer_cli_foreman_docker.po +165 -0
- data/locale/ko/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/ko/hammer_cli_foreman_docker.po +164 -0
- data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/pt_BR/hammer_cli_foreman_docker.po +164 -0
- data/locale/ru/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/ru/hammer_cli_foreman_docker.po +165 -0
- data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/zh_CN/hammer_cli_foreman_docker.po +164 -0
- data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_docker.mo +0 -0
- data/locale/zh_TW/hammer_cli_foreman_docker.po +164 -0
- metadata +35 -12
- data/lib/hammer_cli_foreman_docker/docker_image.rb +0 -43
- 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
|