Runbox.RunNode (runbox v1.2.0)

Module contains common functions called on run slave node.

Link to this section Summary

Functions

Starts run component under run scenario.

Starts supervisor for run.

Link to this section Functions

Link to this function

start_run_component(map, runbox_ctx, start_ctx)

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).