Expand description
v2 broker protocol module.
Houses the prost-generated types for the running_process.broker.v2
package — currently the ServiceDefinition envelope and the
HttpServerCapability optional sub-message introduced in #483.
v2 runs in parallel with v1 (super::protocol) through the broker
v2 rollout; v1’s types are FROZEN FOREVER (#228) so all new
capability fields land here instead.
Structs§
- Backend
Http Ready - Notification frame sent from a daemon to its broker once the daemon’s
HTTP server has bound a port.
portisu16in Rust; proto’s narrowest integer isuint32so the wire type isuint32and the broker validates the range on receipt. - GetBroker
Http Endpoint Request - CLI→broker request for the broker’s own HTTP endpoint. Empty marker — no fields are necessary; the broker fronts exactly one HTTP server.
- GetBroker
Http Endpoint Response - Broker→CLI response carrying the resolved HTTP endpoint.
portis the port the broker is currently bound on (after env-override / config resolution per #483 §3);pidis the broker’s process id, included so a mid-restart consumer can distinguish a stale answer from a live one without needing a separate liveness probe. - Http
Server Capability - Optional per-backend HTTP server capability.
- Service
Definition - v2 service definition envelope.