|
| std::vector< LaunchUnit > | launch_units (const Deployment &deployment) |
| | Every launch file a deployment makes: one per platform, or per module where a platform has modules.
|
| |
| std::vector< std::string > | auto_hold (const LaunchUnit &unit) |
| | gobyd's hold: applications with a required intervehicle subscription, which must be subscribed before anything is published to them, and goby_intervehicle_portal, which carries their subscriptions
|
| |
| std::vector< std::string > | auto_expected (const LaunchUnit &unit, const LaunchEntry &coroner) |
| | goby_coroner's expected names: every Goby application in the unit but the coroner itself and those marked expected: false
|
| |
| std::vector< LaunchLine > | launch_lines (const LaunchUnit &unit) |
| | The goby_launch lines for a unit, in run: order (disabled entries included)
|
| |
| std::string | launch_line_text (const LaunchLine &line) |
| | "[kill=..., name=..., env=...] command", as goby_launch reads it
|
| |
| std::string | render_launch (const LaunchUnit &unit, const std::string &deployment_file) |
| | A goby_launch file for the unit.
|
| |
| void | check_launch (const Deployment &deployment, Issues &issues) |
| | Problems with a deployment's launch data: anything goby_launch would cut at a '#', a Goby application listed before gobyd, a hold list that misses a required intervehicle subscriber, and an expected list that differs from what is launched.
|
| |
| std::vector< ParsedLaunchLine > | parse_launch_file (const std::string &text) |
| |
| std::vector< LaunchDifference > | check_launch_file (const LaunchUnit &unit, const std::string &launch_text) |
| | Compare a hand-written launch file with what the deployment would launch.
|
| |
| void | add_issue (Issues &issues, Issue::Severity severity, std::string code, std::string message, std::string location="") |
| |
| std::ostream & | operator<< (std::ostream &os, const Issue &issue) |
| |
| bool | has_errors (const Issues &issues) |
| |
| Deployment | load_deployment (const std::string &path, Issues &issues, const LoadParams ¶ms=LoadParams()) |
| | Load a deployment file, or a single interface file as a one-platform stub deployment.
|
| |
| std::string | layer_name (Layer layer) |
| |
| char | layer_code (Layer layer) |
| |
| std::string | necessity_name (goby::middleware::Necessity n) |
| |
| goby::middleware::Necessity | necessity_from_name (const std::string &s) |
| |
| std::string | compact_numerics (const std::set< std::uint32_t > &values) |
| | e.g. {1, 2, 3, 7} -> "1-3,7"
|
| |
| GroupMatch | group_match (const PubSubEntry &a, const PubSubEntry &b) |
| |
| std::ostream & | operator<< (std::ostream &os, const PubSubEntry &e) |
| |
| bool | operator< (const PubSubEntry &a, const PubSubEntry &b) |
| |
| GroupMatch | connection (const PubSubEntry &a, const PubSubEntry &b) |
| | Would a publication a reach subscription b (or vice versa) if they share a scope?
|
| |
| bool | connects (const PubSubEntry &a, const PubSubEntry &b) |
| |
| void | write_d2 (std::ostream &os, const Deployment &deployment, const Resolution &resolution, const D2Params ¶ms) |
| | Write a D2 diagram of the deployment's publish/subscribe connections.
|
| |
| void | write_dot (std::ostream &os, const Deployment &deployment, const Resolution &resolution, const DotParams ¶ms) |
| | Write a Graphviz digraph of the deployment's publish/subscribe connections.
|
| |
| bool | in_scope (Layer layer, const Endpoint &pub, const Endpoint &sub) |
| | Can a publication made at pub reach a subscription made at sub on layer?
|
| |
| void | collect_entries (const Deployment &deployment, std::vector< Unmatched > &pubs, std::vector< Unmatched > &subs) |
| | Every publication and subscription in a deployment, with where it is made.
|
| |
| Resolution | resolve (const Deployment &deployment) |
| | Match every publication to the subscriptions it reaches.
|
| |
| bool | is_goby_application (const Application &app) |
| | Goby's own applications, which a diagram draws as one node without their threads.
|
| |
| bool | is_goby_thread (const std::string &name) |
| | A thread from Goby itself: a goby:: class, or a lambda in one of Goby's headers.
|
| |
| std::string | display_thread_name (const std::string &name) |
| | A thread's name as drawn: a lambda by its file and line, a template without its arguments.
|
| |
| std::string | systemd_target (const Deployment &deployment, const LaunchUnit &unit) |
| | The target (generated, or the platform's systemd: target:) that a unit's services belong to.
|
| |
| std::vector< SystemdUnitFile > | render_systemd (const Deployment &deployment, const LaunchUnit &unit, Issues &issues) |
| | The systemd units that start a launch unit: one service per enabled entry and, unless the platform names its own, a target that brings them all up.
|
| |
| ValidationSummary | validate (const Deployment &deployment, const Resolution &resolution, const ValidateParams ¶ms, Issues &issues) |
| | Check every required and recommended subscription in a resolved deployment.
|
| |