module Kitchen::Transport
A transport is responsible for the communication with an instance, that is remote comands and other actions such as file transfer, login, etc.
@author Salim Afiune <salim@afiunemaya.com.mx>
Constants
- DEFAULT_PLUGIN
Default transport to use
Public Class Methods
for_plugin(plugin, config)
click to toggle source
Returns an instance of a transport given a plugin type string.
@param plugin [String] a transport plugin type, to be constantized @param config [Hash] a configuration hash to initialize the transport @return [Transport::Base] a transport instance @raise [ClientError] if a transport instance could not be created
# File lib/kitchen/transport.rb, line 36 def self.for_plugin(plugin, config) Kitchen::Plugin.load(self, plugin, config) end