Class: Runcible::Models::YumImporter
- Defined in:
- lib/runcible/models/yum_importer.rb
Constant Summary collapse
- ID =
'yum_importer'.freeze
- REPO_TYPE =
'rpm-repo'.freeze
- DOWNLOAD_IMMEDIATE =
'immediate'.freeze
- DOWNLOAD_ON_DEMAND =
'on_demand'.freeze
- DOWNLOAD_BACKGROUND =
'background'.freeze
- DOWNLOAD_POLICIES =
[DOWNLOAD_IMMEDIATE, DOWNLOAD_ON_DEMAND, DOWNLOAD_BACKGROUND].freeze
Instance Attribute Summary collapse
-
#download_policy ⇒ Object
Returns the value of attribute download_policy.
-
#type_skip_list ⇒ Object
Returns the value of attribute type_skip_list.
Attributes inherited from Importer
#basic_auth_password, #basic_auth_username, #feed, #max_downloads, #max_speed, #proxy_host, #proxy_password, #proxy_port, #proxy_username, #remove_missing, #retain_old_count, #ssl_ca_cert, #ssl_client_cert, #ssl_client_key, #ssl_validation, #validate
Instance Method Summary collapse
Methods inherited from Importer
Constructor Details
This class inherits a constructor from Runcible::Models::Importer
Instance Attribute Details
#download_policy ⇒ Object
Returns the value of attribute download_policy.
11 12 13 |
# File 'lib/runcible/models/yum_importer.rb', line 11 def download_policy @download_policy end |
#type_skip_list ⇒ Object
Returns the value of attribute type_skip_list.
11 12 13 |
# File 'lib/runcible/models/yum_importer.rb', line 11 def type_skip_list @type_skip_list end |
Instance Method Details
#config ⇒ Object
21 22 23 |
# File 'lib/runcible/models/yum_importer.rb', line 21 def config as_json end |
#id ⇒ Object
13 14 15 |
# File 'lib/runcible/models/yum_importer.rb', line 13 def id YumImporter::ID end |
#repo_type ⇒ Object
17 18 19 |
# File 'lib/runcible/models/yum_importer.rb', line 17 def repo_type YumImporter::REPO_TYPE end |