Sha256: 8b1dc46569cfaff45067732c87894e3c0b5d0fe12cbd6fb2654a8dbcfa8914a1

Contents?: true

Size: 742 Bytes

Versions: 48

Compression:

Stored size: 742 Bytes

Contents

class KuberKit::Shell::AbstractShell
  ShellError = Class.new(KuberKit::Error)
  DirNotFoundError = Class.new(ShellError)

  def exec!(command)
    raise KuberKit::NotImplementedError, "must be implemented"
  end

  def interactive!(command)
    raise KuberKit::NotImplementedError, "must be implemented"
  end

  def read(file_path)
    raise KuberKit::NotImplementedError, "must be implemented"
  end

  def write(file_path, content)
    raise KuberKit::NotImplementedError, "must be implemented"
  end

  def recursive_list_files(path, name: nil)
    raise KuberKit::NotImplementedError, "must be implemented"
  end

  def sync(local_path, remote_path, exclude: nil)
    raise KuberKit::NotImplementedError, "must be implemented"
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
kuber_kit-0.3.8 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.3.7 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.3.6 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.3.5 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.3.4 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.3.3 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.3.2 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.3.1 lib/kuber_kit/shell/abstract_shell.rb