Class: HammerCLIForeman::ComputeResources::GCE::HostHelpExtenstion

Inherits:
Object
  • Object
show all
Defined in:
lib/hammer_cli_foreman/compute_resources/gce/host_help_extenstion.rb

Instance Method Summary collapse

Instance Method Details

#host_create_help(h) ⇒ Object



9
10
11
12
13
14
15
16
17
18
# File 'lib/hammer_cli_foreman/compute_resources/gce/host_help_extenstion.rb', line 9

def host_create_help(h)
  h.section '--compute-attributes' do |h|
    h.list([
      'machine_type',
      'image_id',
      'network',
      'external_ip'
    ])
  end
end

#nameObject



5
6
7
# File 'lib/hammer_cli_foreman/compute_resources/gce/host_help_extenstion.rb', line 5

def name
  _('GCE')
end