Sha256: 08dc2b30a5381a6a80299e923e4c0bcdf87df7d04dd1d926bf74489da6868adc

Contents?: true

Size: 691 Bytes

Versions: 18

Compression:

Stored size: 691 Bytes

Contents

# frozen_string_literal: true

require_relative '../../../bolt/error'
require_relative '../../../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

18 entries across 18 versions & 1 rubygems

Version Path
bolt-4.0.0 lib/bolt/config/transport/docker.rb
bolt-3.29.0 lib/bolt/config/transport/docker.rb
bolt-3.28.0 lib/bolt/config/transport/docker.rb
bolt-3.27.4 lib/bolt/config/transport/docker.rb
bolt-3.27.2 lib/bolt/config/transport/docker.rb
bolt-3.27.1 lib/bolt/config/transport/docker.rb
bolt-3.26.2 lib/bolt/config/transport/docker.rb
bolt-3.26.1 lib/bolt/config/transport/docker.rb
bolt-3.25.0 lib/bolt/config/transport/docker.rb
bolt-3.24.0 lib/bolt/config/transport/docker.rb
bolt-3.23.1 lib/bolt/config/transport/docker.rb
bolt-3.23.0 lib/bolt/config/transport/docker.rb
bolt-3.22.1 lib/bolt/config/transport/docker.rb
bolt-3.22.0 lib/bolt/config/transport/docker.rb
bolt-3.21.0 lib/bolt/config/transport/docker.rb
bolt-3.20.0 lib/bolt/config/transport/docker.rb
bolt-3.19.0 lib/bolt/config/transport/docker.rb
bolt-3.18.0 lib/bolt/config/transport/docker.rb