mlflow

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TrackingURL         string
	ArtifactServiceType string
}

type DeleteExperimentErrorResponse

type DeleteExperimentErrorResponse struct {
	ErrorCode string `json:"error_code"`
	Message   string `json:"message"`
}

type DeleteExperimentRequest

type DeleteExperimentRequest struct {
	ExperimentID string `json:"experiment_id" required:"true"`
}

type DeleteRunRequest

type DeleteRunRequest struct {
	RunID string `json:"run_id" required:"true"`
}

type RunData

type RunData struct {
	Tags []RunTag `json:"tags"`
}

type RunInfo

type RunInfo struct {
	RunID          string `json:"run_id"`
	ExperimentID   string `json:"experiment_id"`
	UserID         string `json:"user_id"`
	LifecycleStage string `json:"lifecycle_stage"`
	ArtifactURI    string `json:"artifact_uri"`
}

type RunResponse

type RunResponse struct {
	Info RunInfo `json:"info"`
	Data RunData `json:"data"`
}

type RunTag

type RunTag struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type SearchRunResponse

type SearchRunResponse struct {
	RunData RunResponse `json:"run"`
}

type SearchRunsRequest

type SearchRunsRequest struct {
	ExperimentID []string `json:"experiment_ids" required:"true"`
}

type SearchRunsResponse

type SearchRunsResponse struct {
	RunsData []RunResponse `json:"runs"`
}

type Service

type Service interface {
	DeleteExperiment(ctx context.Context, ExperimentID string, deleteArtifact bool) error
	DeleteRun(ctx context.Context, RunID, artifactURL string, deleteArtifact bool) error
}

func NewMlflowService

func NewMlflowService(httpClient *http.Client, config Config) (Service, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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