View Source amoc_dist (amoc v3.0.0-rc1)
Link to this section Summary
Types
------------------------------------------------------------------ API ------------------------------------------------------------------
Link to this section Types
-type cluster_state() :: idle | running | stopped.
Link to this section Functions
-spec add(pos_integer()) -> {ok, any()} | {error, any()}.
-spec add(pos_integer(), [node()]) -> {ok, any()} | {error, any()}.
-spec do(amoc:scenario(), non_neg_integer(), amoc_config:settings()) -> {ok, any()} | {error, any()}.
-spec get_state() -> cluster_state().
-spec remove(pos_integer(), boolean()) -> {ok, any()} | {error, any()}.
-spec remove(pos_integer(), boolean(), [node()]) -> {ok, any()} | {error, any()}.
-spec stop() -> {ok, any()} | {error, any()}.
-spec update_settings(amoc_config:settings()) -> {ok, any()} | {error, any()}.
-spec update_settings(amoc_config:settings(), [node()]) -> {ok, any()} | {error, any()}.