View Source Runbox.Runtime.Stage.StateGenerator (runbox v21.2.0)

Module generates state of run components running on slave node.

Summary

Functions

Adds state to relevant components of given start_recipe.

Generates state for component template.

Functions

Link to this function

generate(run_id, start_recipe, run_context)

View Source

Adds state to relevant components of given start_recipe.

Link to this function

generate_for_component(arg, run_id)

View Source
@spec generate_for_component(
  {:template, atom()},
  String.t()
) :: {String.t(), Runbox.Runtime.Stage.UnitRegistry.t()}

Generates state for component template.