Module: Kitchen::Transport
- Defined in:
- lib/kitchen/transport.rb,
lib/kitchen/transport/ssh.rb,
lib/kitchen/transport/base.rb,
lib/kitchen/transport/exec.rb,
lib/kitchen/transport/dummy.rb,
lib/kitchen/transport/winrm.rb
Overview
A transport is responsible for the communication with an instance, that is remote comands and other actions such as file transfer, login, etc.
Defined Under Namespace
Classes: Base, Dummy, Exec, Ssh, SshFailed, TransportFailed, Winrm, WinrmFailed
Constant Summary collapse
- DEFAULT_PLUGIN =
Default transport to use
"ssh".freeze
Class Method Summary collapse
-
.for_plugin(plugin, config) ⇒ Transport::Base
Returns an instance of a transport given a plugin type string.
Class Method Details
.for_plugin(plugin, config) ⇒ Transport::Base
Returns an instance of a transport given a plugin type string.
36 37 38 |
# File 'lib/kitchen/transport.rb', line 36 def self.for_plugin(plugin, config) Kitchen::Plugin.load(self, plugin, config) end |