trainingclient

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagKey = "name"
)

Variables

View Source
var (
	MDMaxSize   = 500
	MDFirstPage = 0
)

Functions

This section is empty.

Types

type Client

type Client interface {
	GetModelTraining(id string) (*training.ModelTraining, error)
	GetModelTrainingList(options ...filter.ListOption) ([]training.ModelTraining, error)
	DeleteModelTraining(id string) error
	UpdateModelTraining(md *training.ModelTraining) error
	CreateModelTraining(md *training.ModelTraining) error
	GetModelTrainingLogs(id string, writer utils.Writer, follow bool) error
	SaveModelTrainingResult(id string, result *odahuflowv1alpha1.TrainingResult) error
	GetModelTrainingResult(id string) (*odahuflowv1alpha1.TrainingResult, error)
}

func NewClient

func NewClient(namespace, tiNamespace string, k8sClient client.Client,
	k8sConfig *rest.Config) Client

Jump to

Keyboard shortcuts

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