Class: Runcible::Models::DebImporter

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

Constant Summary collapse

ID =
'deb_importer'.freeze
REPO_TYPE =
'deb-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

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

#initialize

Constructor Details

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

Instance Attribute Details

#allowed_keysObject

Returns the value of attribute allowed_keys.



11
12
13
# File 'lib/runcible/models/deb_importer.rb', line 11

def allowed_keys
  @allowed_keys
end

#architecturesObject

Returns the value of attribute architectures.



11
12
13
# File 'lib/runcible/models/deb_importer.rb', line 11

def architectures
  @architectures
end

#componentsObject

Returns the value of attribute components.



11
12
13
# File 'lib/runcible/models/deb_importer.rb', line 11

def components
  @components
end

#download_policyObject

Returns the value of attribute download_policy.



11
12
13
# File 'lib/runcible/models/deb_importer.rb', line 11

def download_policy
  @download_policy
end

#gpg_keysObject

Returns the value of attribute gpg_keys.



11
12
13
# File 'lib/runcible/models/deb_importer.rb', line 11

def gpg_keys
  @gpg_keys
end

#releasesObject

Returns the value of attribute releases.



11
12
13
# File 'lib/runcible/models/deb_importer.rb', line 11

def releases
  @releases
end

#require_signatureObject

Returns the value of attribute require_signature.



11
12
13
# File 'lib/runcible/models/deb_importer.rb', line 11

def require_signature
  @require_signature
end

Instance Method Details

#configObject



22
23
24
# File 'lib/runcible/models/deb_importer.rb', line 22

def config
  as_json
end

#idObject



14
15
16
# File 'lib/runcible/models/deb_importer.rb', line 14

def id
  DebImporter::ID
end

#repo_typeObject



18
19
20
# File 'lib/runcible/models/deb_importer.rb', line 18

def repo_type
  DebImporter::REPO_TYPE
end