Sha256: 4ce2a93b7dabf92ceca66c768ecccb0e9d55e1a078387532352a677ad91ba6b4

Contents?: true

Size: 627 Bytes

Versions: 41

Compression:

Stored size: 627 Bytes

Contents

# frozen_string_literal: true

require 'bolt/error'
require 'bolt/config/transport/base'

module Bolt
  class Config
    module Transport
      class Docker < Base
        OPTIONS = %w[
          cleanup
          host
          interpreters
          service-url
          shell-command
          tmpdir
          tty
        ].freeze

        DEFAULTS = {
          'cleanup' => true
        }.freeze

        private def validate
          super

          if @config['interpreters']
            @config['interpreters'] = normalize_interpreters(@config['interpreters'])
          end
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
bolt-3.8.1 lib/bolt/config/transport/docker.rb
bolt-3.8.0 lib/bolt/config/transport/docker.rb
bolt-3.7.1 lib/bolt/config/transport/docker.rb
bolt-3.7.0 lib/bolt/config/transport/docker.rb
bolt-3.6.1 lib/bolt/config/transport/docker.rb
bolt-3.6.0 lib/bolt/config/transport/docker.rb
bolt-3.5.0 lib/bolt/config/transport/docker.rb
bolt-3.4.0 lib/bolt/config/transport/docker.rb
bolt-3.3.0 lib/bolt/config/transport/docker.rb
bolt-3.1.0 lib/bolt/config/transport/docker.rb
bolt-3.0.1 lib/bolt/config/transport/docker.rb
bolt-3.0.0 lib/bolt/config/transport/docker.rb
bolt-2.44.0 lib/bolt/config/transport/docker.rb
bolt-2.42.0 lib/bolt/config/transport/docker.rb
bolt-2.40.2 lib/bolt/config/transport/docker.rb
bolt-2.40.1 lib/bolt/config/transport/docker.rb
bolt-2.38.0 lib/bolt/config/transport/docker.rb
bolt-2.37.0 lib/bolt/config/transport/docker.rb
bolt-2.36.0 lib/bolt/config/transport/docker.rb
bolt-2.35.0 lib/bolt/config/transport/docker.rb