Liking cljdoc? Tell your friends :D

hive-olympus.model

Roster + Olympus state -> GridModel, and the pure navigation transitions over OlympusState. Placement is hive-olympus.layout; nothing here re-derives a grid.

Roster + Olympus state -> GridModel, and the pure navigation transitions
over OlympusState. Placement is `hive-olympus.layout`; nothing here
re-derives a grid.
raw docstring

clamp-tabclj

(clamp-tab tab tab-count)

TAB bounded to [0, TAB-COUNT - 1].

TAB bounded to [0, TAB-COUNT - 1].
sourceraw docstring

countsclj

(counts agents)

Status histogram of AGENTS plus :total.

Status histogram of AGENTS plus :total.
sourceraw docstring

focusclj

(focus state roster agent-id)

STATE focused on AGENT-ID, jumping to its tab when it is rostered. A nil or unknown AGENT-ID clears focus and keeps the active tab.

STATE focused on AGENT-ID, jumping to its tab when it is rostered. A nil
or unknown AGENT-ID clears focus and keeps the active tab.
sourceraw docstring

grid-modelclj

(grid-model roster state)

The GridModel of ROSTER under STATE. Always at least one tab; the active tab is clamped; a focus naming no rostered agent reads as nil.

The GridModel of ROSTER under STATE. Always at least one tab; the active
tab is clamped; a focus naming no rostered agent reads as nil.
sourceraw docstring

initial-stateclj

Navigation state before any interaction.

Navigation state before any interaction.
sourceraw docstring

next-tabclj

(next-tab state tab-count)

STATE advanced one tab, wrapping after the last of TAB-COUNT.

STATE advanced one tab, wrapping after the last of TAB-COUNT.
sourceraw docstring

prev-tabclj

(prev-tab state tab-count)

STATE moved back one tab, wrapping before the first of TAB-COUNT.

STATE moved back one tab, wrapping before the first of TAB-COUNT.
sourceraw docstring

routeclj

(route {:agent/keys [provider model]})

The provider/model label an AGENT runs on, or nil when neither is known.

The provider/model label an AGENT runs on, or nil when neither is known.
sourceraw docstring

routesclj

(routes agents)

[label count] for every route among AGENTS, most used first, then by label.

[label count] for every route among AGENTS, most used first, then by label.
sourceraw docstring

statusesclj

Every agent status, in header order.

Every agent status, in header order.
sourceraw docstring

tab-ofclj

(tab-of roster agent-id)

Tab index holding AGENT-ID in ROSTER's layout, or nil.

Tab index holding AGENT-ID in ROSTER's layout, or nil.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close