Documentation
¶
Index ¶
- func RegisterUiRoutes(router chi.Router, apiServer *api.APIServer)
- type Ui
- func (u *Ui) Home(w http.ResponseWriter, r *http.Request)
- func (u *Ui) ResultsIndex(w http.ResponseWriter, r *http.Request)
- func (u *Ui) RunsIndex(w http.ResponseWriter, r *http.Request)
- func (u *Ui) RunsRepositoryErrorShow(w http.ResponseWriter, r *http.Request)
- func (u *Ui) RunsShow(w http.ResponseWriter, r *http.Request)
- func (u *Ui) StatusIndex(w http.ResponseWriter, r *http.Request)
- func (u *Ui) TasksFileShow(w http.ResponseWriter, r *http.Request)
- func (u *Ui) TasksIndex(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUiRoutes ¶
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.
Click to show internal directories.
Click to hide internal directories.