amoc_code_server (amoc v4.1.1)

View Source

Summary

Types

state/0

-type state() :: map().

uploaded_module/0

-type uploaded_module() ::
          #uploaded_module{module :: module(),
                           beam_filename :: file:filename(),
                           binary :: binary(),
                           md5 :: binary()}.

Functions

add_module(Module)

-spec add_module(module()) -> ok | {error, term()}.

distribute_modules(Node)

-spec distribute_modules(node()) -> [{module(), ok | {error, term()}}].

does_scenario_exist(Scenario)

-spec does_scenario_exist(module()) -> boolean().

handle_call(_, _, State)

-spec handle_call(any(), any(), state()) -> {reply, any(), state()}.

handle_cast(_, State)

-spec handle_cast(any(), state()) -> {noreply, state()}.

init(_)

-spec init([]) -> {ok, state()}.

list_configurable_modules()

-spec list_configurable_modules() -> [module()].

list_scenario_modules()

-spec list_scenario_modules() -> [module()].

start_link()

-spec start_link() -> {ok, pid()} | ignore | {error, term()}.