Documentation ¶
Index ¶
- func WriteStreamingRecord(w *ipc.Writer, r arrow.Record) error
- type Controller
- func (c Controller) CreateExperiment(ctx *fiber.Ctx) error
- func (c Controller) CreateRun(ctx *fiber.Ctx) error
- func (c Controller) DeleteExperiment(ctx *fiber.Ctx) error
- func (c Controller) DeleteRun(ctx *fiber.Ctx) error
- func (c Controller) DeleteRunTag(ctx *fiber.Ctx) error
- func (c Controller) GetArtifact(ctx *fiber.Ctx) error
- func (c Controller) GetExperiment(ctx *fiber.Ctx) error
- func (c Controller) GetExperimentByName(ctx *fiber.Ctx) error
- func (c Controller) GetMetricHistories(ctx *fiber.Ctx) error
- func (c Controller) GetMetricHistory(ctx *fiber.Ctx) error
- func (c Controller) GetMetricHistoryBulk(ctx *fiber.Ctx) error
- func (c Controller) GetRun(ctx *fiber.Ctx) error
- func (c Controller) ListArtifacts(ctx *fiber.Ctx) error
- func (c Controller) LogBatch(ctx *fiber.Ctx) error
- func (c Controller) LogMetric(ctx *fiber.Ctx) error
- func (c Controller) LogParam(ctx *fiber.Ctx) error
- func (c Controller) RestoreExperiment(ctx *fiber.Ctx) error
- func (c Controller) RestoreRun(ctx *fiber.Ctx) error
- func (c Controller) SearchExperiments(ctx *fiber.Ctx) error
- func (c Controller) SearchModelVersions(ctx *fiber.Ctx) error
- func (c Controller) SearchRegisteredModels(ctx *fiber.Ctx) error
- func (c Controller) SearchRuns(ctx *fiber.Ctx) error
- func (c Controller) SetExperimentTag(ctx *fiber.Ctx) error
- func (c Controller) SetRunTag(ctx *fiber.Ctx) error
- func (c Controller) UpdateExperiment(ctx *fiber.Ctx) error
- func (c Controller) UpdateRun(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller handles all the input HTTP requests.
func NewController ¶
func NewController( runService *run.Service, modelService *model.Service, metricService *metric.Service, artifactService *artifact.Service, experimentService *experiment.Service, ) *Controller
NewController creates new Controller instance.
func (Controller) CreateExperiment ¶
func (c Controller) CreateExperiment(ctx *fiber.Ctx) error
CreateExperiment handles `POST /experiments/create` endpoint.
func (Controller) CreateRun ¶
func (c Controller) CreateRun(ctx *fiber.Ctx) error
CreateRun handles `POST /runs/create` endpoint.
func (Controller) DeleteExperiment ¶
func (c Controller) DeleteExperiment(ctx *fiber.Ctx) error
DeleteExperiment handles `POST /experiments/delete` endpoint.
func (Controller) DeleteRun ¶
func (c Controller) DeleteRun(ctx *fiber.Ctx) error
DeleteRun handles `POST /runs/delete` endpoint.
func (Controller) DeleteRunTag ¶
func (c Controller) DeleteRunTag(ctx *fiber.Ctx) error
DeleteRunTag handles `POST /runs/delete-tag` endpoint.
func (Controller) GetArtifact ¶ added in v0.3.2
func (c Controller) GetArtifact(ctx *fiber.Ctx) error
GetArtifact handles `GET /artifacts/get` endpoint.
func (Controller) GetExperiment ¶
func (c Controller) GetExperiment(ctx *fiber.Ctx) error
GetExperiment handles `GET /experiments/get` endpoint.
func (Controller) GetExperimentByName ¶
func (c Controller) GetExperimentByName(ctx *fiber.Ctx) error
GetExperimentByName handles `GET /experiments/get-by-name` endpoint.
func (Controller) GetMetricHistories ¶
func (c Controller) GetMetricHistories(ctx *fiber.Ctx) error
GetMetricHistories handles `POST /metrics/get-histories` endpoint.
func (Controller) GetMetricHistory ¶
func (c Controller) GetMetricHistory(ctx *fiber.Ctx) error
GetMetricHistory handles `GET /metrics/get-history` endpoint.
func (Controller) GetMetricHistoryBulk ¶
func (c Controller) GetMetricHistoryBulk(ctx *fiber.Ctx) error
GetMetricHistoryBulk handles `GET /metrics/get-history-bulk` endpoint.
func (Controller) GetRun ¶
func (c Controller) GetRun(ctx *fiber.Ctx) error
GetRun handles `GET /runs/get` endpoint.
func (Controller) ListArtifacts ¶
func (c Controller) ListArtifacts(ctx *fiber.Ctx) error
ListArtifacts handles `GET /artifacts/list` endpoint.
func (Controller) LogBatch ¶
func (c Controller) LogBatch(ctx *fiber.Ctx) error
LogBatch handles `POST /runs/log-batch` endpoint.
func (Controller) LogMetric ¶
func (c Controller) LogMetric(ctx *fiber.Ctx) error
LogMetric handles `POST /runs/log-metric` endpoint.
func (Controller) LogParam ¶
func (c Controller) LogParam(ctx *fiber.Ctx) error
LogParam handles `POST /runs/log-parameter` endpoint.
func (Controller) RestoreExperiment ¶
func (c Controller) RestoreExperiment(ctx *fiber.Ctx) error
RestoreExperiment handles `POST /experiments/restore` endpoint.
func (Controller) RestoreRun ¶
func (c Controller) RestoreRun(ctx *fiber.Ctx) error
RestoreRun handles `POST /runs/restore` endpoint.
func (Controller) SearchExperiments ¶
func (c Controller) SearchExperiments(ctx *fiber.Ctx) error
SearchExperiments handles `GET /experiments/list`, `GET /experiments/search`, `POST /experiments/search` endpoints.
func (Controller) SearchModelVersions ¶
func (c Controller) SearchModelVersions(ctx *fiber.Ctx) error
SearchModelVersions handles `GET /model-versions/search` endpoint.
func (Controller) SearchRegisteredModels ¶
func (c Controller) SearchRegisteredModels(ctx *fiber.Ctx) error
SearchRegisteredModels handles `GET /registered-models/search` endpoint.
func (Controller) SearchRuns ¶
func (c Controller) SearchRuns(ctx *fiber.Ctx) error
SearchRuns handles `POST /runs/search` endpoint.
func (Controller) SetExperimentTag ¶
func (c Controller) SetExperimentTag(ctx *fiber.Ctx) error
SetExperimentTag handles `POST /experiments/set-experiment-tag` endpoint.
func (Controller) SetRunTag ¶
func (c Controller) SetRunTag(ctx *fiber.Ctx) error
SetRunTag handles `POST /runs/set-tag` endpoint.
func (Controller) UpdateExperiment ¶
func (c Controller) UpdateExperiment(ctx *fiber.Ctx) error
UpdateExperiment handles `POST /experiments/update` endpoint.
func (Controller) UpdateRun ¶
func (c Controller) UpdateRun(ctx *fiber.Ctx) error
UpdateRun handles `POST /runs/update` endpoint.