Class: DockerCloud::Registry

Inherits:
Type
  • Object
show all
Defined in:
lib/docker_cloud/registry.rb

Instance Attribute Summary

Attributes inherited from Type

#uuid

Instance Method Summary collapse

Methods inherited from Type

#initialize

Constructor Details

This class inherits a constructor from DockerCloud::Type

Instance Method Details

#docker_registry?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/docker_cloud/registry.rb', line 15

def docker_registry?
  info[:is_docker_registry]
end

#hostObject



11
12
13
# File 'lib/docker_cloud/registry.rb', line 11

def host
  info[:host]
end

#nameObject



7
8
9
# File 'lib/docker_cloud/registry.rb', line 7

def name
  info[:name]
end

#portObject



23
24
25
# File 'lib/docker_cloud/registry.rb', line 23

def port
  info[:port]
end

#resource_uriObject



3
4
5
# File 'lib/docker_cloud/registry.rb', line 3

def resource_uri
  info[:resource_uri]
end

#ssl?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/docker_cloud/registry.rb', line 19

def ssl?
  info[:is_ssl]
end