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.8.8 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.8.7 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.8.6 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.8.5 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.8.4 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.8.3 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.8.2 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.8.1 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.8.0 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.7.1 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.7.0 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.6.4 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.6.3 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.6.2 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.6.1 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.6.0 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.5.10 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.5.9 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.5.8 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.5.7 lib/kuber_kit/shell/abstract_shell.rb