Class: DockerCloud::Stack
- Inherits:
-
Type
- Object
- Type
- DockerCloud::Stack
show all
- Defined in:
- lib/docker_cloud/stack.rb
Instance Attribute Summary
Attributes inherited from Type
#uuid
Instance Method Summary
collapse
Methods inherited from Type
#initialize
Instance Method Details
#deployed_date ⇒ Object
30
31
32
|
# File 'lib/docker_cloud/stack.rb', line 30
def deployed_date
info[:deployed_datetime]
end
|
#destroyed_date ⇒ Object
34
35
36
|
# File 'lib/docker_cloud/stack.rb', line 34
def destroyed_date
info[:destroyed_datetime]
end
|
#name ⇒ Object
7
8
9
|
# File 'lib/docker_cloud/stack.rb', line 7
def name
info[:name]
end
|
#nickname ⇒ Object
38
39
40
|
# File 'lib/docker_cloud/stack.rb', line 38
def nickname
info[:nickname]
end
|
#resource_uri ⇒ Object
3
4
5
|
# File 'lib/docker_cloud/stack.rb', line 3
def resource_uri
info[:uui]
end
|
#services ⇒ Object
20
21
22
23
24
25
26
27
28
|
# File 'lib/docker_cloud/stack.rb', line 20
def services
if @services.nil?
@services = []
info[:services].each do |uri|
@services.push(client.services.get_from_uri(uri))
end
end
@services
end
|
#state ⇒ Object
11
12
13
|
# File 'lib/docker_cloud/stack.rb', line 11
def state
info[:state]
end
|
#synchronized ⇒ Object
15
16
17
|
# File 'lib/docker_cloud/stack.rb', line 15
def synchronized
info[:synchronized]
end
|