|
- package storeLink
-
- import (
- "context"
- "gitlink.org.cn/JointCloud/pcm-coordinator/internal/scheduler/service/collector"
- )
-
- type OpenI struct {
- Host string
- }
-
- func NewOpenI(host string) *OpenI {
- return &OpenI{
- Host: host,
- }
- }
-
- func (o OpenI) GetResourceStats(ctx context.Context) (*collector.ResourceStats, error) {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) GetDatasetsSpecs(ctx context.Context) ([]*collector.DatasetsSpecs, error) {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) GetAlgorithms(ctx context.Context) ([]*collector.Algorithm, error) {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) GetTrainingTaskLog(ctx context.Context, taskId string, instanceNum string) (string, error) {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) GetTrainingTask(ctx context.Context, taskId string) (*collector.Task, error) {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) DownloadAlgorithmCode(ctx context.Context, resourceType string, card string, taskType string, dataset string, algorithm string) (string, error) {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) UploadAlgorithmCode(ctx context.Context, resourceType string, card string, taskType string, dataset string, algorithm string, code string) error {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) GetComputeCards(ctx context.Context) ([]string, error) {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) GetUserBalance(ctx context.Context) (float64, error) {
- //TODO implement me
- panic("implement me")
- }
-
- func (o OpenI) GetResourceSpecs(ctx context.Context) (*collector.ResourceSpec, error) {
- //TODO implement me
- panic("implement me")
- }
|