ui

package
v0.46.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterUiRoutes

func RegisterUiRoutes(router chi.Router, apiServer *api.APIServer)

RegisterUiRoutes initializes Ui using apiServer and registers its handlers with the router.

Types

type Ui

type Ui struct {
	API openapi.StrictServerInterface
}

Ui defines all HTTP handlers that render views of the UI.

func (*Ui) Home

func (u *Ui) Home(w http.ResponseWriter, r *http.Request)

Home renders the homepage.

func (*Ui) ResultsIndex

func (u *Ui) ResultsIndex(w http.ResponseWriter, r *http.Request)

ResultsIndex renders the list of results of the latest run of a task.

func (*Ui) RunsIndex

func (u *Ui) RunsIndex(w http.ResponseWriter, r *http.Request)

ListRun renders the list of known runs.

func (*Ui) RunsRepositoryErrorShow

func (u *Ui) RunsRepositoryErrorShow(w http.ResponseWriter, r *http.Request)

func (*Ui) RunsShow

func (u *Ui) RunsShow(w http.ResponseWriter, r *http.Request)

RunsShow renders the details and results of a run.

func (*Ui) StatusIndex

func (u *Ui) StatusIndex(w http.ResponseWriter, r *http.Request)

func (*Ui) TasksFileShow

func (u *Ui) TasksFileShow(w http.ResponseWriter, r *http.Request)

TasksFileShow renders the content of the file of a task.

func (*Ui) TasksIndex

func (u *Ui) TasksIndex(w http.ResponseWriter, r *http.Request)

TasksIndex renders the list of all tasks known to Saturn.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL