Sha256: 2df4de6759cc7c4fefd6d13bf16130b800b7956fd804e22187f6c8325e6b42c1
Contents?: true
Size: 956 Bytes
Versions: 1
Compression:
Stored size: 956 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 def expand_path(relative_path) raise KuberKit::NotImplementedError, "must be implemented" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kuber_kit-0.9.1 | lib/kuber_kit/shell/abstract_shell.rb |