Class: DockerCloud::ExternalRepository
- Inherits:
-
Type
- Object
- Type
- DockerCloud::ExternalRepository
show all
- Defined in:
- lib/docker_cloud/external_repository.rb
Instance Attribute Summary
Attributes inherited from Type
#uuid
Instance Method Summary
collapse
Methods inherited from Type
#initialize
Instance Method Details
#in_use ⇒ Object
11
12
13
|
# File 'lib/docker_cloud/external_repository.rb', line 11
def in_use
info[:in_user]
end
|
#name ⇒ Object
7
8
9
|
# File 'lib/docker_cloud/external_repository.rb', line 7
def name
info[:name]
end
|
#registry ⇒ Object
16
17
18
|
# File 'lib/docker_cloud/external_repository.rb', line 16
def registry
@registry ||= client.registries.get_from_uri(info[:registry]) unless info[:registry].nil?
end
|
#resource_uri ⇒ Object
3
4
5
|
# File 'lib/docker_cloud/external_repository.rb', line 3
def resource_uri
info[:resource_uri]
end
|