View Source partisan_orchestration_backend behaviour (partisan v5.0.0-rc.8)

Summary

Callbacks

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

Functions

-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.