Skip to main content

router

Function router 

Source
pub fn router<T: Transport + Send + Sync + 'static>(ui: Ui<T>) -> Router
Expand description

The UI’s routes: / (the DAGs), /d/<deployment>/dags/<dag>, /runs, /d/<deployment>/runs/<run> (and its tasks’ panels and log tails), /deployments, /metrics, /workers, /connections (and its checks and tests), the actions (POSTs, see actions), /events, /time, /assets/..., /docs/.... Every answer varies with X-Forwarded-Prefix (its links do), so a cache keeps them apart.