Documentation ¶
Index ¶
Constants ¶
View Source
const ( RunsRoutePrefix = "/runs" MetricsRoutePrefix = "/metrics" ArtifactsRoutePrefix = "/artifacts" ExperimentsRoutePrefix = "/experiments" )
List of route prefixes.
View Source
const ( ArtifactsGetRoute = "/get" ArtifactsListRoute = "/list" )
List of `/artifact/*` routes.
View Source
const ( ExperimentsGetRoute = "/get" ExperimentsListRoute = "/list" ExperimentsCreateRoute = "/create" ExperimentsDeleteRoute = "/delete" ExperimentsRestoreRoute = "/restore" ExperimentsSearchRoute = "/search" ExperimentsUpdateRoute = "/update" ExperimentsGetByNameRoute = "/get-by-name" ExperimentsSetExperimentTag = "/set-experiment-tag" )
List of `/experiments/*` routes.
View Source
const ( MetricsGetHistoriesRoute = "/get-histories" MetricsGetHistoryRoute = "/get-history" MetricsGetHistoryBulkRoute = "/get-history-bulk" )
List of `/metrics/*` routes.
View Source
const ( RunsGetRoute = "/get" RunsCreateRoute = "/create" RunsDeleteRoute = "/delete" RunsSearchRoute = "/search" RunsSetTagRoute = "/set-tag" RunsUpdateRoute = "/update" RunsRestoreRoute = "/restore" RunsDeleteTagRoute = "/delete-tag" RunsLogBatchRoute = "/log-batch" RunsLogMetricRoute = "/log-metric" RunsLogParameterRoute = "/log-parameter" )
List of `/runs/*` routes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router represents `mlflow` router.
func NewRouter ¶
func NewRouter(controller *controller.Controller) *Router
NewRouter creates new instance of `mlflow` router.
func (*Router) AddGlobalMiddleware ¶ added in v0.6.0
AddGlobalMiddleware adds a global middleware which will be applied for each route.
Click to show internal directories.
Click to hide internal directories.