sql

package
v0.0.0-...-29f469e Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArtifactFolderName  = "artifacts"
	RunNameIntegerScale = 3
	RunNameMaxLength    = 20
)
View Source
const RunIDMaxLength = 32

Variables

This section is empty.

Functions

This section is empty.

Types

type PageToken

type PageToken struct {
	Offset int32 `json:"offset"`
}

type TrackingSQLStore

type TrackingSQLStore struct {
	// contains filtered or unexported fields
}

func NewTrackingSQLStore

func NewTrackingSQLStore(ctx context.Context, config *config.Config) (*TrackingSQLStore, error)

func (TrackingSQLStore) CreateExperiment

func (s TrackingSQLStore) CreateExperiment(input *protos.CreateExperiment) (string, *contract.Error)

func (TrackingSQLStore) CreateRun

func (s TrackingSQLStore) CreateRun(input *protos.CreateRun) (*protos.Run, *contract.Error)

func (TrackingSQLStore) DeleteExperiment

func (s TrackingSQLStore) DeleteExperiment(id string) *contract.Error

func (TrackingSQLStore) GetExperiment

func (s TrackingSQLStore) GetExperiment(id string) (*protos.Experiment, *contract.Error)

func (TrackingSQLStore) GetExperimentByName

func (s TrackingSQLStore) GetExperimentByName(name string) (*protos.Experiment, *contract.Error)

func (TrackingSQLStore) LogBatch

func (s TrackingSQLStore) LogBatch(
	runID string, metrics []*protos.Metric, params []*protos.Param, tags []*protos.RunTag,
) *contract.Error

func (TrackingSQLStore) SearchRuns

func (s TrackingSQLStore) SearchRuns(
	experimentIDs []string, filter string,
	runViewType protos.ViewType, maxResults int, orderBy []string, pageToken string,
) (*store.PagedList[*protos.Run], *contract.Error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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