View Source partisan_orchestration_backend behaviour (partisan v5.0.0-beta.14)

Link to this section Summary

Link to this section Callbacks

-callback clients(term()) -> term().
-callback download_artifact(term(), node()) -> term().
-callback servers(term()) -> term().
-callback upload_artifact(term(), node(), term()) -> term().

Link to this section Functions

Link to this function

debug_get_tree(Root, Nodes)

View Source
-spec debug_get_tree(node(), [node()]) -> [{node(), {ordsets:ordset(node()), ordsets:ordset(node())}}].
-spec nodes() -> {ok, [node()]}.
-spec servers() -> {ok, [node()]}.
-spec start_link() -> {ok, pid()} | ignore | {error, term()}.
Same as start_link([]).
-spec start_link(list()) -> {ok, pid()} | ignore | {error, term()}.
Start and link to calling process.