connection

package
v0.0.0-...-db3a1d9 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagKey = "name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MTFilter

type MTFilter struct {
	Toolchain    []string `name:"toolchain"`
	ModelName    []string `name:"model_name"`
	ModelVersion []string `name:"model_version"`
}

type Repository

type Repository interface {
	GetModelTraining(id string) (*training.ModelTraining, error)
	GetModelTrainingList(options ...k8s_utils.ListOption) ([]training.ModelTraining, error)
	GetModelTrainingLogs(id string, writer utils.Writer, follow bool) error
	SaveModelTrainingResult(id string, result *legionv1alpha1.TrainingResult) error
	GetModelTrainingResult(id string) (*legionv1alpha1.TrainingResult, error)
	DeleteModelTraining(id string) error
	UpdateModelTraining(md *training.ModelTraining) error
	CreateModelTraining(md *training.ModelTraining) error
	GetToolchainIntegration(name string) (*training.ToolchainIntegration, error)
	GetToolchainIntegrationList(options ...k8s_utils.ListOption) ([]training.ToolchainIntegration, error)
	DeleteToolchainIntegration(name string) error
	UpdateToolchainIntegration(md *training.ToolchainIntegration) error
	CreateToolchainIntegration(md *training.ToolchainIntegration) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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