Sha256: 1527c479c5add3378063436c631b4ec333c3c162428a4128927f2d41f2369d02

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

require 'json'
require 'shellwords'
require 'bolt/transport/base'

module Bolt
  module Transport
    class Docker < Simple
      def provided_features
        ['shell']
      end

      def with_connection(target)
        conn = Connection.new(target)
        conn.connect
        yield conn
      end
    end
  end
end

require 'bolt/transport/docker/connection'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bolt-3.5.0 lib/bolt/transport/docker.rb
bolt-3.4.0 lib/bolt/transport/docker.rb
bolt-3.3.0 lib/bolt/transport/docker.rb
bolt-3.1.0 lib/bolt/transport/docker.rb