Expand description
The routes the screens call (doc 34, section 3), typed, over Client::call: each ApiCall becomes a
taba_client::Call and each reply is read into a small struct. Nothing is added to taba-client.
Structs§
- Backup
- The S3 backup of a node (
GET /nodes/{id}/backup). - Cluster
Status - Condition
- Drain
GET,POSTandDELETE /nodes/{id}/drain.- Flush
Node - What one node reported on a backup flush.
- Flush
Report - Me
- Who the token is (
GET /auth/me). - Missing
- A node that did not answer in a consolidated read.
- Node
Info - An item of
GET /nodes. - Node
Status - One member of
GET /cluster/status: the node, and itsNodeStatuswhen it answered. - Nodes
- Publish
Spec - What the publish form asks to send.
- Published
- What a publication answered: the id (queue), whether it was a duplicate (FIFO) and how many queues matched (distributor).
- Stop
Report - Token
- A token of
GET /tokens(never with the secret). - Token
Page - A page of tokens and where the next one starts.
- Topic
- A topic of
GET /topics(doc 16): its definition, as the server keeps it. - Topic
Numbers - The numbers of one topic in the list (
GET /stats/topics). A distributor has no queue, so no numbers. - Topic
Page - A page of topics and where the next one starts.
- Topic
Sample - One reading of a queue for its charts (
GET /stats/topics/{name}): the counts, the rates, the age of the oldest message and that of the largest groups. - Topic
Stats Page - A page of statistics and where the next one starts.
Enums§
- ApiCall
- What a call is for; it comes back with the reply so
updateknows what to do with it. - Severity
warningorcritical; the order is the severity.
Constants§
- RECEIVE_
HOLD_ SECS - How long the messages of a reading stay invisible to the others, in seconds.
- RECEIVE_
MAX - How many messages one reading takes.
Functions§
- parse_
backup - parse_
cluster_ status - parse_
drain - parse_
flush - The reply of a flush of one node (the report itself) or of the cluster (a
nodeslist). - parse_
me - parse_
nodes - parse_
pruned - How many messages a prune removed.
- parse_
published - parse_
received - The messages of a reading (
GET /topics/{name}/messages). - parse_
stop - parse_
token_ created - The reply of
POST /tokens: the token and its secret, which exists only here. - parse_
tokens - parse_
topic - The reply of
POST /topicsandPATCH /topics/{name}: the topic as it is now. - parse_
topic_ sample - parse_
topic_ stats - parse_
topics