Sha256: af6f287093abc21341e4b0c5801bf28c395d8ed9e6c2973d4d9a193b8d791a95

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

require 'nexussw/lxd'

module NexusSW
  module LXD
    class Transport
      def execute(_command, _options = {})
        raise "#{self.class}#execute not implemented"
      end

      def user(_user, _options = {})
        raise "#{self.class}#user not implemented"
      end

      def read_file(_path)
        raise "#{self.class}#read_file not implemented"
      end

      def write_file(_path, _content, _options = {})
        raise "#{self.class}#write_file not implemented"
      end

      def download_file(_path, _local_path)
        raise "#{self.class}#download_file not implemented"
      end

      def upload_file(_local_path, _path, _options = {})
        raise "#{self.class}#upload_file not implemented"
      end

      def upload_folder(_local_path, _path, _options = {})
        raise "#{self.class}#upload_folder not implemented"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lxd-common-0.8.1 lib/nexussw/lxd/transport.rb
lxd-common-0.8.0 lib/nexussw/lxd/transport.rb