UnENVerse 0.84.0
Local-first desktop secrets manager — TypeScript frontend
Loading...
Searching...
No Matches
ops-centre.ts File Reference

Functions

function say (msg:string, kind:'ok'| 'err'='ok')
 One-line summary above the lists.
function export render (o:Overview)
 The page body for an overview.

Variables

 import { html, setHtml } from './html'
 Tools -> Operations (R15): one page for what the app is doing or waiting on.
kind __pad0__
state __pad1__
outcome __pad2__
error_msg __pad3__
created_at __pad4__
finished_at __pad5__
node_id __pad6__
target __pad7__
sha256 __pad8__
field __pad9__
target_id __pad10__
generation __pad11__
result __pad12__
applied_at __pad13__
checked_at __pad14__
field __pad15__
target_id __pad16__
deployed_generation __pad17__
active_generation __pad18__
target __pad19__
holder __pad20__
expires_secs __pad21__
export interface Overview
approvals __pad22__
deployments __pad23__
mismatches __pad24__
leases __pad25__
nodes __pad26__
export const FINAL_STATES = ['succeeded', 'failed', 'skipped_stale', 'cancelled']
 States after which a run no longer changes.
const $ = (id: string) => document.getElementById(id) as HTMLElement

Function Documentation

◆ say()

function say ( msg:string,
kind:'ok'| 'err' = 'ok' )

One-line summary above the lists.

◆ render()

function export render ( o:Overview)

The page body for an overview.

Exported so the markup can be tested without the desktop.

Variable Documentation

◆ import

import { html, setHtml } from './html'

Tools -> Operations (R15): one page for what the app is doing or waiting on.

Backup and restore runs, pushes held for a person's approval, what each node last reported for each secret, secrets that were rotated but not yet redeployed, and the leases holding deployment targets. Names and states only: nothing on this page is a secret value, and every cell goes through the escaping html template, because names come from the vault.

◆ __pad0__

kind __pad0__

◆ __pad1__

state __pad1__

◆ __pad2__

outcome __pad2__

◆ __pad3__

error_msg __pad3__

◆ __pad4__

created_at __pad4__

◆ __pad5__

finished_at __pad5__

◆ __pad6__

node_id __pad6__

◆ __pad7__

target __pad7__

◆ __pad8__

sha256 __pad8__

◆ __pad9__

field __pad9__

◆ __pad10__

target_id __pad10__

◆ __pad11__

generation __pad11__

◆ __pad12__

result __pad12__

◆ __pad13__

applied_at __pad13__

◆ __pad14__

checked_at __pad14__

◆ __pad15__

field __pad15__

◆ __pad16__

target_id __pad16__

◆ __pad17__

deployed_generation __pad17__

◆ __pad18__

active_generation __pad18__

◆ __pad19__

target __pad19__

◆ __pad20__

holder __pad20__

◆ __pad21__

expires_secs __pad21__

◆ Overview

export interface Overview
Initial value:
{
runs: Run[]

◆ __pad22__

approvals __pad22__

◆ __pad23__

deployments __pad23__

◆ __pad24__

mismatches __pad24__

◆ __pad25__

leases __pad25__

◆ __pad26__

nodes __pad26__

◆ FINAL_STATES

export const FINAL_STATES = ['succeeded', 'failed', 'skipped_stale', 'cancelled']

States after which a run no longer changes.

◆ $

const $ = (id: string) => document.getElementById(id) as HTMLElement