Vibe.Remote (vibe v0.2.0)

Copy Markdown View Source

Remote Vibe connection facade.

The existing implementation is the trusted Erlang distribution transport. It is kept for local server mode and internal/trusted BEAM nodes while user-facing remote access can grow as a separate transport.

Summary

Types

transport()

@type transport() :: :distribution | :ssh

Functions

connect(opts \\ [])

@spec connect(keyword()) ::
  {:ok, node() | Vibe.Remote.Transport.SSH.t()} | {:error, term()}

connect_node(node, opts \\ [])

@spec connect_node(
  node() | String.t() | {String.t(), non_neg_integer()},
  keyword()
) :: {:ok, node() | Vibe.Remote.Transport.SSH.t()} | {:error, term()}