Class: Kitsune::Kit::Adapters::Transport
- Inherits:
-
Object
- Object
- Kitsune::Kit::Adapters::Transport
show all
- Defined in:
- lib/kitsune/kit/adapters/transport.rb
Instance Method Summary
collapse
Instance Method Details
#execute(command, arguments: [], timeout: 30, stdin: nil) ⇒ Object
17
|
# File 'lib/kitsune/kit/adapters/transport.rb', line 17
def execute(command, arguments: [], timeout: 30, stdin: nil) = raise NotImplementedError
|
#reachable? ⇒ Boolean
16
|
# File 'lib/kitsune/kit/adapters/transport.rb', line 16
def reachable? = raise NotImplementedError
|
#upload(content:, remote_path:, mode: "0600") ⇒ Object
18
|
# File 'lib/kitsune/kit/adapters/transport.rb', line 18
def upload(content:, remote_path:, mode: "0600") = raise NotImplementedError
|
#with_session ⇒ Object
15
|
# File 'lib/kitsune/kit/adapters/transport.rb', line 15
def with_session = yield
|