class KuberKit::Shell::AbstractShell

Constants

DirNotFoundError
ShellError

Public Instance Methods

exec!(command) click to toggle source
# File lib/kuber_kit/shell/abstract_shell.rb, line 5
def exec!(command)
  raise KuberKit::NotImplementedError, "must be implemented"
end
interactive!(command) click to toggle source
# File lib/kuber_kit/shell/abstract_shell.rb, line 9
def interactive!(command)
  raise KuberKit::NotImplementedError, "must be implemented"
end
read(file_path) click to toggle source
# File lib/kuber_kit/shell/abstract_shell.rb, line 13
def read(file_path)
  raise KuberKit::NotImplementedError, "must be implemented"
end
recursive_list_files(path, name: nil) click to toggle source
# File lib/kuber_kit/shell/abstract_shell.rb, line 21
def recursive_list_files(path, name: nil)
  raise KuberKit::NotImplementedError, "must be implemented"
end
sync(local_path, remote_path, exclude: nil) click to toggle source
# File lib/kuber_kit/shell/abstract_shell.rb, line 25
def sync(local_path, remote_path, exclude: nil)
  raise KuberKit::NotImplementedError, "must be implemented"
end
write(file_path, content) click to toggle source
# File lib/kuber_kit/shell/abstract_shell.rb, line 17
def write(file_path, content)
  raise KuberKit::NotImplementedError, "must be implemented"
end