aim

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: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(r fiber.Router)

func ArchiveBatch

func ArchiveBatch(c *fiber.Ctx) error

func CompareJson added in v0.5.0

func CompareJson(json1, json2 []byte) bool

CompareJson compares two json objects.

func CreateApp

func CreateApp(c *fiber.Ctx) error

func CreateDashboard

func CreateDashboard(c *fiber.Ctx) error

func DeleteApp

func DeleteApp(c *fiber.Ctx) error

func DeleteBatch

func DeleteBatch(c *fiber.Ctx) error

func DeleteDashboard

func DeleteDashboard(c *fiber.Ctx) error

func DeleteExperiment added in v0.3.0

func DeleteExperiment(c *fiber.Ctx) error

func DeleteRun

func DeleteRun(c *fiber.Ctx) error

DeleteRun will remove the Run from the repo

func ErrorHandler

func ErrorHandler(c *fiber.Ctx, err error) error

func GetApp

func GetApp(c *fiber.Ctx) error

func GetApps

func GetApps(c *fiber.Ctx) error

func GetDashboard

func GetDashboard(c *fiber.Ctx) error

func GetDashboards

func GetDashboards(c *fiber.Ctx) error

func GetExperiment

func GetExperiment(c *fiber.Ctx) error

func GetExperimentActivity

func GetExperimentActivity(c *fiber.Ctx) error

func GetExperimentRuns

func GetExperimentRuns(c *fiber.Ctx) error

func GetExperiments

func GetExperiments(c *fiber.Ctx) error

func GetProject

func GetProject(c *fiber.Ctx) error

func GetProjectActivity

func GetProjectActivity(c *fiber.Ctx) error

func GetProjectParams

func GetProjectParams(c *fiber.Ctx) error

func GetProjectPinnedSequences

func GetProjectPinnedSequences(c *fiber.Ctx) error

TODO

func GetProjectStatus

func GetProjectStatus(c *fiber.Ctx) error

func GetRunInfo

func GetRunInfo(c *fiber.Ctx) error

func GetRunMetrics

func GetRunMetrics(c *fiber.Ctx) error

func GetRunsActive

func GetRunsActive(c *fiber.Ctx) error

func GetTags

func GetTags(c *fiber.Ctx) error

func RunsSearchAsCSVResponse added in v0.5.0

func RunsSearchAsCSVResponse(ctx *fiber.Ctx, runs []database.Run, excludeTraces, excludeParams bool)

RunsSearchAsCSVResponse formats and sends Runs search response as a CSV file.

func RunsSearchAsStreamResponse added in v0.5.0

func RunsSearchAsStreamResponse(
	ctx *fiber.Ctx, runs []database.Run, total int64, excludeTraces, excludeParams, reportProgress bool,
)

RunsSearchAsStreamResponse formats and sends Runs search response as a stream.

func SearchAlignedMetrics

func SearchAlignedMetrics(c *fiber.Ctx) error

TODO:get back and fix `gocyclo` problem.

func SearchMetrics

func SearchMetrics(c *fiber.Ctx) error

TODO:get back and fix `gocyclo` problem.

func SearchRuns

func SearchRuns(ctx *fiber.Ctx) error

TODO:get back and fix `gocyclo` problem.

func UpdateApp

func UpdateApp(c *fiber.Ctx) error

func UpdateDashboard

func UpdateDashboard(c *fiber.Ctx) error

func UpdateExperiment added in v0.4.0

func UpdateExperiment(c *fiber.Ctx) error

func UpdateProjectPinnedSequences

func UpdateProjectPinnedSequences(c *fiber.Ctx) error

TODO

func UpdateRun

func UpdateRun(c *fiber.Ctx) error

UpdateRun will update the run name, description, and lifecycle stage

Types

type DetailedError

type DetailedError interface {
	error
	Detail() any
	Message() string
	Code() int
}

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
	Detail  any    `json:"detail"`
	Code    int    `json:"-"`
}

func (*ErrorResponse) Error

func (e *ErrorResponse) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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