sdk

package
v0.0.0-...-5264247 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 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 Compute

type Compute = controller.Compute

type DownloadURL

type DownloadURL = controller.TrainingResultResp

type Input

type Input = controller.Input

type JobInfo

type JobInfo = app.JobInfoDTO

type KeyValue

type KeyValue = controller.KeyValue

type ResourceRef

type ResourceRef = controller.ResourceRef

type TrainingCenter

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

func NewTrainingCenter

func NewTrainingCenter(endpoint string) TrainingCenter

func (TrainingCenter) CreateTraining

func (t TrainingCenter) CreateTraining(opt *TrainingCreateOption) (
	dto JobInfo, err error,
)

func (TrainingCenter) DeleteTraining

func (t TrainingCenter) DeleteTraining(jobId string) error

func (TrainingCenter) GetLogDownloadURL

func (t TrainingCenter) GetLogDownloadURL(jobId string) (r DownloadURL, err error)

func (TrainingCenter) GetResultDownloadURL

func (t TrainingCenter) GetResultDownloadURL(jobId, file string) (r DownloadURL, err error)

func (TrainingCenter) TerminateTraining

func (t TrainingCenter) TerminateTraining(jobId string) error

type TrainingCreateOption

type TrainingCreateOption = controller.TrainingCreateRequest

Jump to

Keyboard shortcuts

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