controller

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller handles all the input HTTP requests.

func NewController

func NewController(
	tagService *tag.Service,
	appService *app.Service,
	runService *run.Service,
	projectService *project.Service,
	dashboardService *dashboard.Service,
	experimentService *experiment.Service,
) *Controller

NewController creates new Controller instance.

func (Controller) ArchiveBatch

func (c Controller) ArchiveBatch(ctx *fiber.Ctx) error

ArchiveBatch handles `POST /runs/archive-batch` endpoint.

func (Controller) CreateApp

func (c Controller) CreateApp(ctx *fiber.Ctx) error

CreateApp handles `POST /apps` endpoint.

func (Controller) CreateDashboard

func (c Controller) CreateDashboard(ctx *fiber.Ctx) error

CreateDashboard handles `POST /dashboards` endpoint.

func (Controller) DeleteApp

func (c Controller) DeleteApp(ctx *fiber.Ctx) error

DeleteApp handles `DELETE /apps/:id` endpoint.

func (Controller) DeleteBatch

func (c Controller) DeleteBatch(ctx *fiber.Ctx) error

DeleteBatch handles `DELETE /runs/delete-batch` endpoint.

func (Controller) DeleteDashboard

func (c Controller) DeleteDashboard(ctx *fiber.Ctx) error

DeleteDashboard handles `DELETE /dashboards/:id` endpoint.

func (Controller) DeleteExperiment

func (c Controller) DeleteExperiment(ctx *fiber.Ctx) error

DeleteExperiment handles `DELETE /experiments/:id` endpoint.

func (Controller) DeleteRun

func (c Controller) DeleteRun(ctx *fiber.Ctx) error

DeleteRun handles `DELETE /runs/:id` endpoint.

func (Controller) GetApp

func (c Controller) GetApp(ctx *fiber.Ctx) error

GetApp handles `GET /apps/:id` endpoint.

func (Controller) GetApps

func (c Controller) GetApps(ctx *fiber.Ctx) error

GetApps handles `GET /apps` endpoint.

func (Controller) GetDashboard

func (c Controller) GetDashboard(ctx *fiber.Ctx) error

GetDashboard handles `GET /dashboard/:id` endpoint.

func (Controller) GetDashboards

func (c Controller) GetDashboards(ctx *fiber.Ctx) error

GetDashboards handles `GET /dashboards` endpoint.

func (Controller) GetExperiment

func (c Controller) GetExperiment(ctx *fiber.Ctx) error

GetExperiment handles `GET /experiments/:id` endpoint.

func (Controller) GetExperimentActivity

func (c Controller) GetExperimentActivity(ctx *fiber.Ctx) error

GetExperimentActivity handles `GET /experiments/:id/activity` endpoint.

func (Controller) GetExperimentRuns

func (c Controller) GetExperimentRuns(ctx *fiber.Ctx) error

GetExperimentRuns handles `GET /experiments/:id/runs` endpoint.

func (Controller) GetExperiments

func (c Controller) GetExperiments(ctx *fiber.Ctx) error

GetExperiments handles `GET /experiments` endpoint.

func (Controller) GetProject

func (c Controller) GetProject(ctx *fiber.Ctx) error

GetProject handles `GET /projects` endpoint.

func (Controller) GetProjectActivity

func (c Controller) GetProjectActivity(ctx *fiber.Ctx) error

GetProjectActivity handles `GET /projects/activity` endpoint.

func (Controller) GetProjectParams

func (c Controller) GetProjectParams(ctx *fiber.Ctx) error

GetProjectParams handles `GET /projects/params` endpoint.

func (Controller) GetProjectPinnedSequences

func (c Controller) GetProjectPinnedSequences(ctx *fiber.Ctx) error

GetProjectPinnedSequences handles `GET /projects/pinned-sequences` endpoint.

func (Controller) GetProjectStatus

func (c Controller) GetProjectStatus(ctx *fiber.Ctx) error

GetProjectStatus handles `PUT /projects/status` endpoint.

func (Controller) GetRunInfo

func (c Controller) GetRunInfo(ctx *fiber.Ctx) error

GetRunInfo handles `GET /runs/:id/info` endpoint.

func (Controller) GetRunMetrics

func (c Controller) GetRunMetrics(ctx *fiber.Ctx) error

GetRunMetrics handles `GET /runs/:id/metric/get-batch` endpoint.

func (Controller) GetRunsActive

func (c Controller) GetRunsActive(ctx *fiber.Ctx) error

GetRunsActive handles `GET /runs/active` endpoint.

func (Controller) GetTags

func (c Controller) GetTags(ctx *fiber.Ctx) error

GetTags fetches run tags for the current namespace.

func (Controller) SearchAlignedMetrics

func (c Controller) SearchAlignedMetrics(ctx *fiber.Ctx) error

SearchAlignedMetrics handles `POST /runs/search/metric/align` endpoint.

func (Controller) SearchMetrics

func (c Controller) SearchMetrics(ctx *fiber.Ctx) error

SearchMetrics handles `POST /runs/search/metric` endpoint.

func (Controller) SearchRuns

func (c Controller) SearchRuns(ctx *fiber.Ctx) error

SearchRuns handles `GET /runs/search` endpoint.

func (Controller) UpdateApp

func (c Controller) UpdateApp(ctx *fiber.Ctx) error

UpdateApp handles `PUT /apps/:id` endpoint.

func (Controller) UpdateDashboard

func (c Controller) UpdateDashboard(ctx *fiber.Ctx) error

UpdateDashboard handles `PUT /dashboard/:id` endpoint.

func (Controller) UpdateExperiment

func (c Controller) UpdateExperiment(ctx *fiber.Ctx) error

UpdateExperiment handles `PUT /experiments/:id` endpoint.

func (Controller) UpdateProjectPinnedSequences

func (c Controller) UpdateProjectPinnedSequences(ctx *fiber.Ctx) error

UpdateProjectPinnedSequences handles `PUT /projects/pinned-sequences` endpoint.

func (Controller) UpdateRun

func (c Controller) UpdateRun(ctx *fiber.Ctx) error

UpdateRun handles `PUT /runs/:id` endpoint.

Jump to

Keyboard shortcuts

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