Sha256: 5e0e3d098826a51be9e08d8a5d3c2492a8dba21f6b38cf7ed400e331bf8e3839

Contents?: true

Size: 524 Bytes

Versions: 9

Compression:

Stored size: 524 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 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
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kuber_kit-0.1.8 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.1.7 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.1.6 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.1.5 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.1.4 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.1.3 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.1.2 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.1.1 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.1.0 lib/kuber_kit/shell/abstract_shell.rb