Vibe.Remote.Transport.SSH (vibe v0.2.3)

Copy Markdown View Source

SSH transport for constrained remote Vibe commands.

Summary

Types

t()

@type t() :: %Vibe.Remote.Transport.SSH{
  connection: term(),
  host: String.t(),
  port: non_neg_integer(),
  user: String.t()
}

Functions

close(ssh)

@spec close(t()) :: :ok

request(ssh, payload, timeout \\ 5000)

@spec request(t(), map(), timeout()) :: {:ok, map()} | {:error, term()}