View Source amoc_dist (amoc v3.0.0-rc2)

Summary

Types

------------------------------------------------------------------ API ------------------------------------------------------------------

Types

-type cluster_state() :: idle | running | stopped.
------------------------------------------------------------------ API ------------------------------------------------------------------

Functions

-spec add(pos_integer()) -> {ok, any()} | {error, any()}.
-spec add(pos_integer(), [node()]) -> {ok, any()} | {error, any()}.
Link to this function

do(Scenario, Count, Settings)

View Source
-spec do(amoc:scenario(), non_neg_integer(), amoc_config:settings()) -> {ok, any()} | {error, any()}.
-spec get_state() -> cluster_state().
Link to this function

remove(Count, ForceRemove)

View Source
-spec remove(pos_integer(), boolean()) -> {ok, any()} | {error, any()}.
Link to this function

remove(Count, ForceRemove, Nodes)

View Source
-spec remove(pos_integer(), boolean(), [node()]) -> {ok, any()} | {error, any()}.
-spec stop() -> {ok, any()} | {error, any()}.
Link to this function

update_settings(Settings)

View Source
-spec update_settings(amoc_config:settings()) -> {ok, any()} | {error, any()}.
Link to this function

update_settings(Settings, Nodes)

View Source
-spec update_settings(amoc_config:settings(), [node()]) -> {ok, any()} | {error, any()}.