Runbox.ScenarioRelease.SlaveFunc (runbox v26.0.0)

View Source

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

release_info(modules \\ nil)

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

release_modules()

@spec release_modules() :: [module()]

Returns all modules of the scenario app.

scenarios()

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