librarian v0.1.3 SSH.Api behaviour View Source
You might want to run mocked tests against a component that uses the SSH Api. Here is provided the behaviour module to support this testing pattern.
generally speaking, these sorts of features should not be using the quick-and-dirty banged commands, so only the api for the fully error-tupled forms is provided.
Link to this section Summary
Link to this section Callbacks
Link to this callback
connect(arg1)
View Source (optional)connect(SSH.remote()) :: SSH.connect_result()
Link to this callback
connect(arg1, keyword)
View Sourceconnect(SSH.remote(), keyword()) :: SSH.connect_result()
Link to this callback
connect!(arg1)
View Source (optional)connect!(SSH.remote()) :: SSH.conn() | no_return()
Link to this callback
connect!(arg1, keyword)
View Source (optional)connect!(SSH.remote(), keyword()) :: SSH.conn() | no_return()
Link to this callback
fetch(arg1, arg2)
View Source (optional)fetch(SSH.conn(), Path.t()) :: SSH.fetch_result()
Link to this callback
fetch(arg1, arg2, keyword)
View Sourcefetch(SSH.conn(), Path.t(), keyword()) :: SSH.fetch_result()
Link to this callback
run(arg1, arg2)
View Source (optional)run(SSH.conn(), String.t()) :: SSH.run_result()
Link to this callback
run(arg1, arg2, keyword)
View Sourcerun(SSH.conn(), String.t(), keyword()) :: SSH.run_result()
Link to this callback
send(arg1, iodata, arg3)
View Source (optional)send(SSH.conn(), iodata(), Path.t()) :: SSH.send_result()
Link to this callback
send(arg1, iodata, arg3, keyword)
View Sourcesend(SSH.conn(), iodata(), Path.t(), keyword()) :: SSH.send_result()