Class: Runcible::Models::DockerImporter

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

Constant Summary collapse

ID =
'docker_importer'.freeze
REPO_TYPE =
'docker-repo'.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

#enable_v1Object

Returns the value of attribute enable_v1.



7
8
9
# File 'lib/runcible/models/docker_importer.rb', line 7

def enable_v1
  @enable_v1
end

#mask_idObject

Returns the value of attribute mask_id.



7
8
9
# File 'lib/runcible/models/docker_importer.rb', line 7

def mask_id
  @mask_id
end

#upstream_nameObject

Returns the value of attribute upstream_name.



7
8
9
# File 'lib/runcible/models/docker_importer.rb', line 7

def upstream_name
  @upstream_name
end

Instance Method Details

#configObject



17
18
19
# File 'lib/runcible/models/docker_importer.rb', line 17

def config
  as_json
end

#idObject



9
10
11
# File 'lib/runcible/models/docker_importer.rb', line 9

def id
  DockerImporter::ID
end

#repo_typeObject



13
14
15
# File 'lib/runcible/models/docker_importer.rb', line 13

def repo_type
  DockerImporter::REPO_TYPE
end