Module fleet_view

Module fleet_view 

Source
Expand description

Read-model views served by CP for operator-facing consumers (/v1/hosts, CLI, metrics exporter). Outstanding-event counts apply resolution-by- replacement (events from older rollouts are considered resolved).

Structs§

HostStatusEntry
HostsResponse
RolloutEventEntry
RolloutEvents
Chronological event-log stream for a single rollout — every row in event_log WHERE rollout_id = ? ORDER BY seq ASC. Engineer-facing replay surface (RFC-0005 §10.5 + Plan 04 §“Event log schema”): reproduces the per-host state evolution by replaying these entries through nixfleet_state_machine::step.
RolloutHostEntry
RolloutHosts
Per-host summary of a single rollout — one entry per (rollout, host) pair, sorted by wave then hostname. Operator-facing view: “what state is each host in for this rollout?”