Sha256: dcd743d7bc7f9747ffebcdaa13e76011e83b251e3623c9e71032004e80873f85

Contents?: true

Size: 681 Bytes

Versions: 17

Compression:

Stored size: 681 Bytes

Contents

# frozen_string_literal: true

require_relative '../../bolt/logger'
require_relative '../../bolt/node/errors'
require_relative '../../bolt/transport/simple'

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

      def with_connection(target, options = {})
        Bolt::Logger.warn_once("lxd_experimental",
                               "The LXD transport is experimental, and might "\
                               "include breaking changes between minor versions.")
        conn = Connection.new(target, options)
        conn.connect
        yield conn
      end
    end
  end
end

require_relative 'lxd/connection'

Version data entries

17 entries across 17 versions & 1 rubygems

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