View Source amoc_code_server (amoc v3.3.0)

Summary

Types

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

Functions

-spec add_module(module()) -> ok | {error, term()}.
Link to this function

distribute_modules(Node)

View Source
-spec distribute_modules(node()) -> [{module(), ok | {error, term()}}].
Link to this function

does_scenario_exist(Scenario)

View Source
-spec does_scenario_exist(module()) -> boolean().
Link to this function

handle_call(_, _, State)

View Source
-spec handle_call(any(), any(), state()) -> {reply, any(), state()}.
-spec handle_cast(any(), state()) -> {noreply, state()}.
-spec init([]) -> {ok, state()}.
Link to this function

list_configurable_modules()

View Source
-spec list_configurable_modules() -> [module()].
-spec list_scenario_modules() -> [module()].
-spec start_link() -> {ok, pid()} | ignore | {error, term()}.