Expand description
The Cluster tab (doc 34, sections 6.2 and 6.3): the conditions, the nodes, the detail of a node, its
charts and the actions of node and cluster. This file is the state and the keys; view.rs draws it.
Modules§
- view
- The drawing of the Cluster tab: the list of conditions and nodes, the detail of a node and its charts.
Structs§
- Chart
Def - What a chart draws: a title and the lines (one or two) with their legend keys.
- Row
- A node of the table: the same row from
GET /cluster/status(root) orGET /nodes(any token).
Enums§
Constants§
- MON_
CHARTS - The series of a node that can be charted (TUI-MON-01).
Functions§
- allowed_
windows - How many windows of
WINDOWS_MINfit in the retention (never above it, TUI-MON-03); at least one. - call_of
- The call an action’s confirmation runs.
- export_
csv - The visible series as CSV (TUI-MON-07): the time in UTC and one column per line.
- gate
- Whether an action of the Cluster tab can run now, and why not (TUI-CLU-05, TUI-FRM-10).
- line_
points - The points of a line of a chart: the window, up to the instant it was frozen at.
- moved
indexmoved bydeltainside0..count, without going around.- on_
action - The keys of the Cluster tab.
Enteropens the detail; the rest are the actions and the movement. - refuse
- A key that cannot work now says why, in the footer (TUI-FRM-10).
- rows
- The nodes of the table, in the order the server gave them.
- selected_
index - The index of the selected node in
rows; the first one if the selection is gone. - selected_
row - status_
of - watch
- Starts watching a node’s drain until it reaches
goal. - window_
ms - The window in milliseconds, clipped to what is retained.