class DockerCloud::Container
Public Instance Methods
autodestroy()
click to toggle source
# File lib/docker_cloud/container.rb, line 162 def autodestroy info[:autodestroy] end
autorestart()
click to toggle source
# File lib/docker_cloud/container.rb, line 158 def autorestart info[:autorestart] end
bindings()
click to toggle source
# File lib/docker_cloud/container.rb, line 13 def bindings info[:bindings] end
cap_add()
click to toggle source
# File lib/docker_cloud/container.rb, line 110 def cap_add info[:cap_add] end
cap_drop()
click to toggle source
# File lib/docker_cloud/container.rb, line 114 def cap_drop info[:cap_drop] end
cgroup_name()
click to toggle source
# File lib/docker_cloud/container.rb, line 90 def cgroup_name info[:cgroup_name] end
cpuset()
click to toggle source
# File lib/docker_cloud/container.rb, line 142 def cpuset info[:cpuset] end
deployed_date()
click to toggle source
# File lib/docker_cloud/container.rb, line 46 def deployed_date info[:deployed_datetime] end
destroyed_date()
click to toggle source
# File lib/docker_cloud/container.rb, line 58 def destroyed_date info[:destroyed_datetime] end
devices()
click to toggle source
# File lib/docker_cloud/container.rb, line 118 def devices info[:devices] end
dns()
click to toggle source
# File lib/docker_cloud/container.rb, line 102 def dns info[:dns] end
dns_search()
click to toggle source
# File lib/docker_cloud/container.rb, line 106 def dns_search info[:dns_search] end
domain_name()
click to toggle source
# File lib/docker_cloud/container.rb, line 82 def domain_name info[:domainname] end
entry_point()
click to toggle source
# File lib/docker_cloud/container.rb, line 130 def entry_point info[:entrypoint] end
env_vars()
click to toggle source
# File lib/docker_cloud/container.rb, line 62 def env_vars info[:container_envvars] end
exit_code()
click to toggle source
# File lib/docker_cloud/container.rb, line 38 def exit_code info[:exit_code] end
exit_code_msg()
click to toggle source
# File lib/docker_cloud/container.rb, line 42 def exit_code_msg info[:exit_code_msg] end
extra_hosts()
click to toggle source
# File lib/docker_cloud/container.rb, line 122 def extra_hosts info[:extra_hosts] end
host_name()
click to toggle source
# File lib/docker_cloud/container.rb, line 78 def host_name info[:hostname] end
image_name()
click to toggle source
# File lib/docker_cloud/container.rb, line 9 def image_name info[:image_name] end
labels()
click to toggle source
# File lib/docker_cloud/container.rb, line 66 def labels info[:labels] end
last_metric()
click to toggle source
# File lib/docker_cloud/container.rb, line 154 def last_metric info[:last_metric] end
link_variables()
click to toggle source
# File lib/docker_cloud/container.rb, line 170 def link_variables info[:link_variables] end
linked_to_container()
click to toggle source
# File lib/docker_cloud/container.rb, line 166 def linked_to_container info[:linked_to_container] end
mac_address()
click to toggle source
# File lib/docker_cloud/container.rb, line 86 def mac_address info[:mac_address] end
memory()
click to toggle source
# File lib/docker_cloud/container.rb, line 146 def memory info[:memory] end
memory_swap()
click to toggle source
# File lib/docker_cloud/container.rb, line 150 def memory_swap info[:memory_swap] end
name()
click to toggle source
# File lib/docker_cloud/container.rb, line 17 def name info[:name] end
net()
click to toggle source
# File lib/docker_cloud/container.rb, line 182 def net info[:net] end
node()
click to toggle source
# File lib/docker_cloud/container.rb, line 190 def node @node ||= client.nodes.get_from_uri(info[:node]) unless info[:node].nil? end
pid()
click to toggle source
# File lib/docker_cloud/container.rb, line 186 def pid info[:pid] end
private_ip()
click to toggle source
# File lib/docker_cloud/container.rb, line 178 def private_ip info[:private_ip] end
public_dns()
click to toggle source
# File lib/docker_cloud/container.rb, line 26 def public_dns info[:public_dns] end
read_only()
click to toggle source
# File lib/docker_cloud/container.rb, line 174 def read_only info[:read_only] end
resource_uri()
click to toggle source
# File lib/docker_cloud/container.rb, line 5 def resource_uri info[:resource_uri] end
run_command()
click to toggle source
# File lib/docker_cloud/container.rb, line 134 def run_command info[:run_command] end
security_opt()
click to toggle source
# File lib/docker_cloud/container.rb, line 126 def security_opt info[:security_opt] end
service()
click to toggle source
def service; info; end
# File lib/docker_cloud/container.rb, line 22 def service @service ||= client.services.get_from_uri(info[:service]) unless info[:service].nil? end
started_date()
click to toggle source
# File lib/docker_cloud/container.rb, line 50 def started_date info[:started_datetime] end
state()
click to toggle source
# File lib/docker_cloud/container.rb, line 30 def state info[:state] end
stdin_open()
click to toggle source
# File lib/docker_cloud/container.rb, line 98 def stdin_open info[:stdin_open] end
stopped_date()
click to toggle source
# File lib/docker_cloud/container.rb, line 54 def stopped_date info[:stopped_datetime] end
synchronized()
click to toggle source
# File lib/docker_cloud/container.rb, line 34 def synchronized info[:state] end
tty()
click to toggle source
# File lib/docker_cloud/container.rb, line 94 def tty info[:tty] end
user()
click to toggle source
# File lib/docker_cloud/container.rb, line 74 def user info[:user] end
working_dir()
click to toggle source
# File lib/docker_cloud/container.rb, line 70 def working_dir info[:working_dir] end
Private Instance Methods
api()
click to toggle source
# File lib/docker_cloud/container.rb, line 196 def api client.containers end