Class: Train::Transports::KubernetesHack
- Inherits:
-
Object
- Object
- Train::Transports::KubernetesHack
- Defined in:
- lib/kitchen/verifier/train_kubernetes_hack.rb
Defined Under Namespace
Classes: Connection
Instance Method Summary collapse
Instance Method Details
#connection(state = {}) ⇒ Object
34 35 36 37 38 39 40 41 42 43 |
# File 'lib/kitchen/verifier/train_kubernetes_hack.rb', line 34 def connection(state = {}) opts = (, state || {}) (opts) opts[:logger] ||= logger unless @connection && @connection_opts == opts @connection ||= Connection.new(opts) @connection_opts = opts.dup end @connection end |