Module rebar_dist_utils

Function Index

either/3allows to pick whether to use a short or long name, and starts the distributed mode for it.
find_options/1utility function to extract all distribution options from a rebar3 state tuple.
long/2starts a node with a long name.
short/2starts a node with a short name.

Function Details

either/3

either(Name::atom(), SName::atom(), Opts::[{setcookie, term()}]) -> atom()

allows to pick whether to use a short or long name, and starts the distributed mode for it.

find_options/1

find_options(State::rebar_state:t()) -> {Long, Short, Opts}

utility function to extract all distribution options from a rebar3 state tuple.

long/2

long(Name::atom(), Opts::[{setcookie, term()}]) -> term()

starts a node with a long name.

short/2

short(SName::atom(), Opts::[{setcookie, term()}]) -> term()

starts a node with a short name.


Generated by EDoc