Class: Runcible::Models::IsoImporter

Inherits:
Importer
  • Object
show all
Defined in:
lib/runcible/models/iso_importer.rb

Constant Summary collapse

ID =
'iso_importer'

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Importer

#initialize

Constructor Details

This class inherits a constructor from Runcible::Models::Importer

Instance Attribute Details

#feedObject

Returns the value of attribute feed.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def feed
  @feed
end

#max_speedObject

Returns the value of attribute max_speed.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def max_speed
  @max_speed
end

#num_threadsObject

Returns the value of attribute num_threads.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def num_threads
  @num_threads
end

#proxy_passObject

Returns the value of attribute proxy_pass.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def proxy_pass
  @proxy_pass
end

#proxy_portObject

Returns the value of attribute proxy_port.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def proxy_port
  @proxy_port
end

#proxy_urlObject

Returns the value of attribute proxy_url.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def proxy_url
  @proxy_url
end

#proxy_userObject

Returns the value of attribute proxy_user.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def proxy_user
  @proxy_user
end

#remove_missing_unitsObject

Returns the value of attribute remove_missing_units.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def remove_missing_units
  @remove_missing_units
end

#ssl_ca_certObject

Returns the value of attribute ssl_ca_cert.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def ssl_ca_cert
  @ssl_ca_cert
end

#ssl_client_certObject

Returns the value of attribute ssl_client_cert.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def ssl_client_cert
  @ssl_client_cert
end

#ssl_client_keyObject

Returns the value of attribute ssl_client_key.



29
30
31
# File 'lib/runcible/models/iso_importer.rb', line 29

def ssl_client_key
  @ssl_client_key
end

Instance Method Details

#configHash

generate the pulp config for the iso importer

Returns:

  • (Hash)


43
44
45
# File 'lib/runcible/models/iso_importer.rb', line 43

def config
    as_json
end

#idstring

Importer Type id

Returns:

  • (string)


36
37
38
# File 'lib/runcible/models/iso_importer.rb', line 36

def id
  IsoImporter::ID
end