Documentation
¶
Index ¶
- type Compute
- type DownloadURL
- type Input
- type JobInfo
- type KeyValue
- type ResourceRef
- type TrainingCenter
- func (t TrainingCenter) CreateTraining(opt *TrainingCreateOption) (dto JobInfo, err error)
- func (t TrainingCenter) DeleteTraining(jobId string) error
- func (t TrainingCenter) GetLogDownloadURL(jobId string) (r DownloadURL, err error)
- func (t TrainingCenter) GetResultDownloadURL(jobId, file string) (r DownloadURL, err error)
- func (t TrainingCenter) TerminateTraining(jobId string) error
- type TrainingCreateOption
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
Click to show internal directories.
Click to hide internal directories.