View Source Runbox.ScenarioRelease.SlaveFunc (runbox v17.1.0)
Functions which are called on the scenario slave via RPC from the master node.
Summary
Functions
Retrieves information about scenarios in the release.
Returns all modules of the scenario app.
Returns list of IDs of scenarios in the release.
Functions
@spec release_info([module()] | nil) :: [Runbox.Scenario.t()]
Retrieves information about scenarios in the release.
Scenarios with invalid manifests are filtered out. However, scenarios with colliding module names are not.
@spec release_modules() :: [module()]
Returns all modules of the scenario app.
@spec scenarios() :: [scenario_id :: String.t()]
Returns list of IDs of scenarios in the release.
Scenarios with invalid manifests or mutually colliding manifest module names are filtered out.