Class: Conjure::Target
- Inherits:
-
Object
- Object
- Conjure::Target
- Defined in:
- lib/conjure/target.rb
Instance Method Summary collapse
- #docker_host ⇒ Object
-
#initialize(options) ⇒ Target
constructor
A new instance of Target.
- #ip_address ⇒ Object
- #shell ⇒ Object
Constructor Details
#initialize(options) ⇒ Target
Returns a new instance of Target.
3 4 5 |
# File 'lib/conjure/target.rb', line 3 def initialize() @machine_name = [:machine_name] end |
Instance Method Details
#docker_host ⇒ Object
15 16 17 |
# File 'lib/conjure/target.rb', line 15 def docker_host @docker_host ||= Service::DockerHost.new @machine_name end |
#ip_address ⇒ Object
11 12 13 |
# File 'lib/conjure/target.rb', line 11 def ip_address docker_host.ip_address end |
#shell ⇒ Object
7 8 9 |
# File 'lib/conjure/target.rb', line 7 def shell docker_host.shell end |