Runbox.RunNode (runbox v7.0.1)
Module contains common functions called on run slave node.
Link to this section Summary
Link to this section Functions
Link to this function
start_run_component(map, runbox_ctx, start_ctx)
@spec start_run_component( Runbox.Scenario.component_def(), Runbox.RunContext.t(), Runbox.RunStartContext.t() ) :: Supervisor.on_start_child()
Starts run component under run scenario.
Link to this function
start_run_sup(run_id)
@spec start_run_sup(String.t()) :: Supervisor.on_start_child()
Starts supervisor for run.
All components of run running on slave node will run under this supervisor. OneForAll strategy with 0 max restart stops supervisor if any component crashes. Because run manager process running on master is linked with this supervisor, it also crashes (and it what we want).