Sha256: bfd3d28a2b589e01fce363621c3e99542b41c2fc75903c301c161c4a6d06e1ae

Contents?: true

Size: 853 Bytes

Versions: 35

Compression:

Stored size: 853 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 replace!(shell_name: nil, env: [])
    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

35 entries across 35 versions & 1 rubygems

Version Path
kuber_kit-1.1.2 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-1.2.1 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-1.2.0 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-1.1.1 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-1.0.1 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-1.0.0 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.9 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.8 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.7 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.6 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.5 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.4 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.3 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.2 lib/kuber_kit/shell/abstract_shell.rb
kuber_kit-0.9.0 lib/kuber_kit/shell/abstract_shell.rb