Documentation
¶
Index ¶
- func BuildRoutes(f *fiber.App, middlewares ...fiber.Handler) error
- type ArtifactsResponse
- type BechmarkBestRequest
- type BenchmarkBestResponse
- type BenchmarkResponse
- type BenchmarkRunsResponse
- type BenchmarkToggleResponse
- type BenchmarkUpdateResponse
- type BenchmarksResponse
- type CreateBenchmarkRequest
- type CreateBenchmarkResponse
- type ErrorResponse
- type ExperimentResponse
- type ExperimentsResponse
- type MetricResponse
- type MetricsResponse
- type RegistriesResponse
- type RegistryResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArtifactsResponse ¶ added in v0.1.4
type ArtifactsResponse struct {
Details string `json:"details"`
Artifacts map[string][]string `json:"artifacts"`
}
ArtifactsResponse response to artifacts request.
type BechmarkBestRequest ¶ added in v0.1.3
type BechmarkBestRequest struct {
Metrics []string
}
BechmarkBestRequest represents a request to pull best models for each metric.
type BenchmarkBestResponse ¶ added in v0.1.4
type BenchmarkBestResponse struct {
Details string `json:"details"`
Runs map[string]*types.BenchRun `json:"runs"`
}
BenchmarkBestResponse response to benchmark best request.
type BenchmarkResponse ¶ added in v0.1.4
type BenchmarkResponse struct {
Details string `json:"details"`
Benchmark types.Bench `json:"benchmark"`
}
BenchmarkResponse response returned for Benchmark endpoint.
type BenchmarkRunsResponse ¶ added in v0.1.4
type BenchmarkRunsResponse struct {
Details string `json:"details"`
Runs []*types.BenchRun `json:"runs"`
}
BenchmarkRunsResponse response to benchmark runs request.
type BenchmarkToggleResponse ¶ added in v0.1.4
type BenchmarkToggleResponse struct {
Details string `json:"details"`
}
BenchmarkToggleResponse response to benchmark toggle request.
type BenchmarkUpdateResponse ¶ added in v0.1.4
type BenchmarkUpdateResponse struct {
Details string `json:"details"`
}
BenchmarkUpdateResponse response to Benchmark update request.
type BenchmarksResponse ¶ added in v0.1.4
type BenchmarksResponse struct {
Details string `json:"details"`
Benchmarks []string `json:"benchmarks"`
}
BenchmarksResponse response returned for Benchmarks endpoint.
type CreateBenchmarkRequest ¶ added in v0.1.3
type CreateBenchmarkRequest struct {
Name string
EagerStart bool
AutoTag bool
Tag string
DecisionMetric string
Registries []string
Metrics []types.BenchMetric
DatasetName string
DatasetURL string
DatasetFromS3 bool
}
CreateBenchmarkRequest represents a request to create a new benchmark.
type CreateBenchmarkResponse ¶ added in v0.1.4
type CreateBenchmarkResponse struct {
ID string `json:"id"`
Created bool `json:"created"`
Details string `json:"details"`
}
CreateBenchmarkResponse response to a CreateBenchmark request.
type ErrorResponse ¶ added in v0.1.4
type ErrorResponse struct {
Error string `json:"error"`
}
ErrorResponse struct returned when api call is not successful.
type ExperimentResponse ¶ added in v0.1.4
type ExperimentResponse struct {
Details string `json:"details"`
Runs []runInfo `json:"runs"`
Metrics []string `json:"metrics"`
}
ExperimentResponse struct returned by Experiment endpoint.
type ExperimentsResponse ¶ added in v0.1.4
type ExperimentsResponse struct {
Details string `json:"details"`
Exps map[string][]string `json:"exps"`
}
ExperimentsResponse struct returned by Experiments endpoint.
type MetricResponse ¶ added in v0.1.4
type MetricResponse struct {
Details string `json:"details"`
Metric map[string]any `json:"metric"`
Kind string `json:"kind"`
}
MetricResponse response to metric request.
type MetricsResponse ¶ added in v0.1.4
MetricsResponse response to metrics request.
type RegistriesResponse ¶ added in v0.1.4
type RegistriesResponse struct {
Details string `json:"details"`
Registries []string `json:"registries"`
}
RegistriesResponse response to registries request.
type RegistryResponse ¶ added in v0.1.4
type RegistryResponse struct {
Details string `json:"details"`
Name string `json:"name"`
LastVer int64 `json:"lastVer"`
Tags map[string][]int `json:"tags"`
CreatedAt time.Time `json:"createdAt,format:datetime"`
EntriesInfo map[int]entryInfo `json:"entriesInfo"`
}
RegistryResponse struct returned by registry endpoint.