Expand description
Wire-level types for the cellos-server HTTP API.
These mirror the projector’s response shape. cellctl is a thin client — these
types exist only to deserialize responses and re-serialize for --output json.
No client-side derivations, no state caching.
Fields are flexible (#[serde(default)]) so that adding fields server-side
does not break older clients. This is the same compatibility contract kubectl
has with the kube-apiserver.
Structs§
- Cell
- Cell view returned by
GET /v1/cells/GET /v1/cells/<id>. - Cells
Snapshot - Snapshot envelope for
GET /v1/cells. Mirror ofFormationsSnapshot— see that type’s docs for the rationale behind splitting the unifiedList<T>into endpoint-specific snapshots (MED-CTL-001-A). The canonical key on the wire iscells; the deserializer also accepts a bare array and the legacy generic{items, cursor?}wrapper, but rejects mixed envelopes that contain more than one recognised list key. - Cloud
Event - CloudEvent envelope — projector emits these on the stream and on
GET /v1/cells/<id>/eventsplus the/ws/eventssocket. - Formation
- Formation view returned by
GET /v1/formations/GET /v1/formations/<id>. - Formations
Snapshot - Snapshot envelope for
GET /v1/formations.