Expand description
Pure helpers for summarizing node and cluster status.
Both the CLI (table rendering) and the server (service::hardware,
service::hw_cluster) call into these. Living in shared/ keeps the
CLI from importing crate::service::* for what are really data-only
helpers.
Functionsยง
- calculate_
hsm_ hw_ component_ summary - Aggregate hardware component counts across nodes (summary view).
- compute_
summary_ status - Compute a summary status from a list of node details.
- get_
cluster_ hw_ pattern - Compute a hardware pattern (component counts with whitespace stripped).