Runbox.Runtime.Stage.StateGenerator (runbox v26.0.0)

View Source

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

generate(run_id, start_recipe, run_context)

Adds state to relevant components of given start_recipe.

generate_for_component(arg, run_id)

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

Generates state for component template.