Class: Runcible::Models::DockerImporter

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

Constant Summary collapse

ID =
'docker_importer'
REPO_TYPE =
'docker-repo'

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.



30
31
32
# File 'lib/runcible/models/docker_importer.rb', line 30

def feed
  @feed
end

#mask_idObject

Returns the value of attribute mask_id.



30
31
32
# File 'lib/runcible/models/docker_importer.rb', line 30

def mask_id
  @mask_id
end

#max_downloadsObject

Returns the value of attribute max_downloads.



30
31
32
# File 'lib/runcible/models/docker_importer.rb', line 30

def max_downloads
  @max_downloads
end

#max_speedObject

Returns the value of attribute max_speed.



30
31
32
# File 'lib/runcible/models/docker_importer.rb', line 30

def max_speed
  @max_speed
end

#proxy_passwordObject

Returns the value of attribute proxy_password.



30
31
32
# File 'lib/runcible/models/docker_importer.rb', line 30

def proxy_password
  @proxy_password
end

#proxy_portObject

Returns the value of attribute proxy_port.



30
31
32
# File 'lib/runcible/models/docker_importer.rb', line 30

def proxy_port
  @proxy_port
end

#proxy_usernameObject

Returns the value of attribute proxy_username.



30
31
32
# File 'lib/runcible/models/docker_importer.rb', line 30

def proxy_username
  @proxy_username
end

#upstream_nameObject

Returns the value of attribute upstream_name.



30
31
32
# File 'lib/runcible/models/docker_importer.rb', line 30

def upstream_name
  @upstream_name
end

Instance Method Details

#configObject



41
42
43
# File 'lib/runcible/models/docker_importer.rb', line 41

def config
  as_json
end

#idObject



33
34
35
# File 'lib/runcible/models/docker_importer.rb', line 33

def id
  DockerImporter::ID
end

#repo_typeObject



37
38
39
# File 'lib/runcible/models/docker_importer.rb', line 37

def repo_type
  DockerImporter::REPO_TYPE
end