Class: Kitchen::Transport::Dokken
- Inherits:
-
Base
- Object
- Base
- Kitchen::Transport::Dokken
- Defined in:
- lib/kitchen/transport/dokken.rb
Overview
A Transport which uses Docker tricks to execute commands and transfer files.
Defined Under Namespace
Classes: Connection
Instance Method Summary collapse
Instance Method Details
#connection(state, &block) ⇒ Object
46 47 48 49 50 51 52 53 54 |
# File 'lib/kitchen/transport/dokken.rb', line 46 def connection(state, &block) = (config.to_hash.merge(state)) if @connection && @connection_options == reuse_connection(&block) else create_new_connection(, &block) end end |