cswap-bend-cli
Releases (1)
-
0.1.0.0 indexed
Definitions (4,210)
daemon/status.bend
- def pct
- def opt_pct
- def opt_str
- def f
- def entry_json
- def entry_slot
- def entries_chain
- def opt_num
- def str_arr
- def cfg_json
- def to_json
- def writeReplace the status file (temp file + rename, 0600).
daemon/tick.bend
- type Env
- type OutThe tick's events and sleeper facts, the engine's counters for the next tick, and what the status file shows.
- type NextEither the tick is over (nothing to decide) or the decision is ready to act on; `out` carries the poll events so far.
- def env_ctx
- def env_cfg
- def env_dry
- def env_opts
- def env_checked
- def env_skip
- def with_skip
- def env_mem
- def idle_detail
- def idle_reason
- def idle_events
- def idle_out
- def has_live
- def secs
- def opt_secs
- def exhausted_dec
- def left_headroom
- def dec_of
- def active_nat
- def next_poll_of
- def iso_opt
- def sel_bo
- def backoff_iso
- def opt_u
- def entry_of
- def entry_push
- def entries_of
- def poll_event
- def prefix_poll
- def attempted2
- def attempted_now
- def ent_kind
- def opt_pct
- def source_of"usage-endpoint" or "header-probe" when this tick fetched the account (a setup-token is read by the probe), "cache" otherwise.
- def log_one
- def log_push
- def log_accts
- def readable2
- def readable
- def is_api
- def watched
- def all_readableEvery account the guard looks at (switchable, not quarantined, not an API key) has a trusted reading.
- def keep_name
- def lower_names
- def checked_after
- def check_ready
- def miss_pick
- def missing
- def scoped_names
- def names_of
- def seen_names
- def warn_text
- def warn_events
- def warn2
- def model_warning
- def apply_ctx
- def to_dec
- def mem_next
- def entries_for
- def log_for
- def lead_res
- def made_out
- def lead_out
- def decide_out3The tick up to the decision: the poll (and warning) events, the counters, and what to do about it.
- def decide_out2
- def decide_out
- def active_out
- def snap_out2
- def snap_out
- def tickOne tick over a snapshot whose rows are already refreshed (see `collect`).
daemon/view.bend
- def nat
- def strategy2
- def strategy_of
- def pol_cfgserve TTL 180 s; the rest is the settings.
- def sel_mt
- def trigger_of
- def num_nat
- def centi_nat
- def slot_nat
- def snap2
- def snap_of
- def state_of
- def accounts_of
- def oauth_of
- def sel_sn