morca · API · ui

orca.ui.run

/runs/<id>, a run's page: its cards (Status, Partitions & trigger, Code, Resources, Settings), its steps as a table, a timeline or a graph, its machines, its snapshots and who acted on it; and its fragments and files: /live, /steps, /metrics, timeline.json, driver.log and each machine's log.

Functions

run_html

def run_html(mut db: State, v: RunView, view: String = "") -> String

A run's page; view (?steps=) is the Steps tab shown without scripts. Its cards' live part is run_state, which /runs/<id>/live refreshes.

run_live

def run_live(mut db: State, id: Int) -> Page

The changing part of a run's page, as a fragment; 286 once it's ended.

run_steps

def run_steps(mut db: State, id: Int) -> Page

The live part of a run's page, as a fragment; 286 once it's ended.

run_metrics

def run_metrics(mut db: State, id: Int) -> Page

The run's machines, as a fragment; 286 once it's ended.

timeline

def timeline(mut db: State, id: Int) -> Page

driver_log

def driver_log(mut db: State, id: Int) -> Page

The run's driver log, as the scheduler kept it under ORCA_LOGS.

cluster_log

def cluster_log(mut db: State, id: Int, name: String) -> Page

An instance's log, as its script kept it under ORCA_LOGS: only the names of the run's own instances are served.