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>. - 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>. - List
- Server response envelope for list endpoints. Some endpoints return a bare
array; others wrap in
{"items": [...]}.List<T>accepts either via custom deserialize.