Sha256: 88a2d804a8775496cb70aef4274f9ecae03031ac59df943ae4c4115d437ae9da

Contents?: true

Size: 655 Bytes

Versions: 10

Compression:

Stored size: 655 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
        ].concat(RUN_AS_OPTIONS).sort.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

10 entries across 10 versions & 1 rubygems

Version Path
bolt-3.17.0 lib/bolt/config/transport/docker.rb
bolt-3.16.1 lib/bolt/config/transport/docker.rb
bolt-3.16.0 lib/bolt/config/transport/docker.rb
bolt-3.15.0 lib/bolt/config/transport/docker.rb
bolt-3.14.1 lib/bolt/config/transport/docker.rb
bolt-3.13.0 lib/bolt/config/transport/docker.rb
bolt-3.12.0 lib/bolt/config/transport/docker.rb
bolt-3.11.0 lib/bolt/config/transport/docker.rb
bolt-3.10.0 lib/bolt/config/transport/docker.rb
bolt-3.9.2 lib/bolt/config/transport/docker.rb