Documentation ¶
Index ¶
- func InitCron(svc *svc.ServiceContext)
- type CreateAlgorithmLogic
- type CreateDataSetLogic
- type CreateModelLogic
- type CreateNotebookLogic
- type CreateProcessorTaskLogic
- type CreateServiceLogic
- type CreateTaskLogic
- type CreateTrainingJobConfigLogic
- type CreateTrainingJobLogic
- type CreateVisualizationJobLogic
- type DeleteAlgorithmsLogic
- type DeleteDataSetLogic
- type DeleteModelLogic
- type DeleteServiceLogic
- type DeleteTrainingJobConfigLogic
- type DeleteTrainingJobLogic
- type DescribeProcessorTaskLogic
- type ExportTaskLogic
- type GetAiEnginesListLogic
- type GetDatasetListLogic
- type GetExportTaskStatusOfDatasetLogic
- type GetExportTasksOfDatasetLogic
- type GetImportTaskListLogic
- type GetListTrainingJobsLogic
- type GetNotebookStorageLogic
- type GetTokenLogic
- type GetTrainingJobFlavorsLogic
- type GetVisualizationJobLogic
- type ListAlgorithmsLogic
- type ListClustersLogic
- type ListModelsLogic
- type ListNotebookLogic
- type ListServicesLogic
- type ListTrainingJobConfigLogic
- type MountNotebookStorageLogic
- type ShowAlgorithmByUuidLogic
- type ShowModelsLogic
- type ShowServiceLogic
- type StartNotebookLogic
- type StopNotebookLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCron ¶
func InitCron(svc *svc.ServiceContext)
Types ¶
type CreateAlgorithmLogic ¶
func NewCreateAlgorithmLogic ¶
func NewCreateAlgorithmLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateAlgorithmLogic
func (*CreateAlgorithmLogic) CreateAlgorithm ¶
func (l *CreateAlgorithmLogic) CreateAlgorithm(in *modelarts.CreateAlgorithmReq) (*modelarts.CreateAlgorithmResp, error)
CreateAlgorithm 创建算法
type CreateDataSetLogic ¶
func NewCreateDataSetLogic ¶
func NewCreateDataSetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateDataSetLogic
func (*CreateDataSetLogic) CreateDataSet ¶
func (l *CreateDataSetLogic) CreateDataSet(in *modelarts.CreateDataSetReq) (*modelarts.CreateDataSetResq, error)
create DateSet
type CreateModelLogic ¶
func NewCreateModelLogic ¶
func NewCreateModelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateModelLogic
func (*CreateModelLogic) CreateModel ¶
func (l *CreateModelLogic) CreateModel(in *modelarts.CreateModelReq) (*modelarts.CreateModelResp, error)
model management
type CreateNotebookLogic ¶
func NewCreateNotebookLogic ¶
func NewCreateNotebookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNotebookLogic
func (*CreateNotebookLogic) CreateNotebook ¶
func (l *CreateNotebookLogic) CreateNotebook(in *modelarts.CreateNotebookReq) (*modelarts.CreateNotebookResp, error)
type CreateProcessorTaskLogic ¶
func NewCreateProcessorTaskLogic ¶
func NewCreateProcessorTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateProcessorTaskLogic
func (*CreateProcessorTaskLogic) CreateProcessorTask ¶
func (l *CreateProcessorTaskLogic) CreateProcessorTask(in *modelarts.CreateProcessorTaskReq) (*modelarts.CreateProcessorTaskResp, error)
processor task
type CreateServiceLogic ¶
func NewCreateServiceLogic ¶
func NewCreateServiceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateServiceLogic
func (*CreateServiceLogic) CreateService ¶
func (l *CreateServiceLogic) CreateService(in *modelarts.CreateServiceReq) (*modelarts.CreateServiceResp, error)
service management
type CreateTaskLogic ¶
func NewCreateTaskLogic ¶
func NewCreateTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateTaskLogic
func (*CreateTaskLogic) CreateTask ¶
func (l *CreateTaskLogic) CreateTask(in *modelarts.ImportTaskDataReq) (*modelarts.ImportTaskDataResp, error)
creat task 创建导入任务
type CreateTrainingJobConfigLogic ¶
func NewCreateTrainingJobConfigLogic ¶
func NewCreateTrainingJobConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateTrainingJobConfigLogic
func (*CreateTrainingJobConfigLogic) CreateTrainingJobConfig ¶
func (l *CreateTrainingJobConfigLogic) CreateTrainingJobConfig(in *modelarts.CreateTrainingJobConfigReq) (*modelarts.CreateTrainingJobConfigResp, error)
CreateTrainingJobConfig 创建训练作业参数
type CreateTrainingJobLogic ¶
func NewCreateTrainingJobLogic ¶
func NewCreateTrainingJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateTrainingJobLogic
func (*CreateTrainingJobLogic) CreateTrainingJob ¶
func (l *CreateTrainingJobLogic) CreateTrainingJob(in *modelarts.CreateTrainingJobReq) (*modelarts.CreateTrainingJobResp, error)
CreateTrainingJob 创建训练作业
type CreateVisualizationJobLogic ¶
func NewCreateVisualizationJobLogic ¶
func NewCreateVisualizationJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateVisualizationJobLogic
func (*CreateVisualizationJobLogic) CreateVisualizationJob ¶
func (l *CreateVisualizationJobLogic) CreateVisualizationJob(in *modelarts.CreateVisualizationJobReq) (*modelarts.CreateVisualizationJobResp, error)
type DeleteAlgorithmsLogic ¶
func NewDeleteAlgorithmsLogic ¶
func NewDeleteAlgorithmsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteAlgorithmsLogic
func (*DeleteAlgorithmsLogic) DeleteAlgorithms ¶
func (l *DeleteAlgorithmsLogic) DeleteAlgorithms(in *modelarts.DeleteAlgorithmsReq) (*modelarts.DeleteAlgorithmsResp, error)
DeleteAlgorithms 删除算法
type DeleteDataSetLogic ¶
func NewDeleteDataSetLogic ¶
func NewDeleteDataSetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteDataSetLogic
func (*DeleteDataSetLogic) DeleteDataSet ¶
func (l *DeleteDataSetLogic) DeleteDataSet(in *modelarts.DeleteDataSetReq) (*modelarts.DeleteDataSetResq, error)
create DateSet
type DeleteModelLogic ¶
func NewDeleteModelLogic ¶
func NewDeleteModelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteModelLogic
func (*DeleteModelLogic) DeleteModel ¶
func (l *DeleteModelLogic) DeleteModel(in *modelarts.DeleteModelReq) (*modelarts.DeleteModelResp, error)
type DeleteServiceLogic ¶
func NewDeleteServiceLogic ¶
func NewDeleteServiceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteServiceLogic
func (*DeleteServiceLogic) DeleteService ¶
func (l *DeleteServiceLogic) DeleteService(in *modelarts.DeleteServiceReq) (*modelarts.DeleteServiceResp, error)
type DeleteTrainingJobConfigLogic ¶
func NewDeleteTrainingJobConfigLogic ¶
func NewDeleteTrainingJobConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteTrainingJobConfigLogic
func (*DeleteTrainingJobConfigLogic) DeleteTrainingJobConfig ¶
func (l *DeleteTrainingJobConfigLogic) DeleteTrainingJobConfig(in *modelarts.DeleteTrainingJobConfigReq) (*modelarts.DeleteTrainingJobConfigResp, error)
DeleteTrainingJobConfig 删除训练作业参数
type DeleteTrainingJobLogic ¶
func NewDeleteTrainingJobLogic ¶
func NewDeleteTrainingJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteTrainingJobLogic
func (*DeleteTrainingJobLogic) DeleteTrainingJob ¶
func (l *DeleteTrainingJobLogic) DeleteTrainingJob(in *modelarts.DeleteTrainingJobReq) (*modelarts.DeleteTrainingJobResp, error)
DeleteTrainingJobConfig 删除训练作业
type DescribeProcessorTaskLogic ¶
func NewDescribeProcessorTaskLogic ¶
func NewDescribeProcessorTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DescribeProcessorTaskLogic
func (*DescribeProcessorTaskLogic) DescribeProcessorTask ¶
func (l *DescribeProcessorTaskLogic) DescribeProcessorTask(in *modelarts.DescribeProcessorTaskReq) (*modelarts.DescribeProcessorTaskResp, error)
type ExportTaskLogic ¶
func NewExportTaskLogic ¶
func NewExportTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ExportTaskLogic
func (*ExportTaskLogic) ExportTask ¶
func (l *ExportTaskLogic) ExportTask(in *modelarts.ExportTaskReq) (*modelarts.ExportTaskDataResp, error)
ExportTask for modelarts
type GetAiEnginesListLogic ¶
func NewGetAiEnginesListLogic ¶
func NewGetAiEnginesListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAiEnginesListLogic
func (*GetAiEnginesListLogic) GetAiEnginesList ¶
func (l *GetAiEnginesListLogic) GetAiEnginesList(in *modelarts.ListAiEnginesReq) (*modelarts.ListAiEnginesResp, error)
GET ai-engines 查询作业引擎规格
type GetDatasetListLogic ¶
func NewGetDatasetListLogic ¶
func NewGetDatasetListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDatasetListLogic
func (*GetDatasetListLogic) GetDatasetList ¶
func (l *GetDatasetListLogic) GetDatasetList(in *modelarts.DataSetReq) (*modelarts.DataSetResp, error)
find datasetList
type GetExportTaskStatusOfDatasetLogic ¶
type GetExportTaskStatusOfDatasetLogic struct { logx.Logger // contains filtered or unexported fields }
func NewGetExportTaskStatusOfDatasetLogic ¶
func NewGetExportTaskStatusOfDatasetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetExportTaskStatusOfDatasetLogic
func (*GetExportTaskStatusOfDatasetLogic) GetExportTaskStatusOfDataset ¶
func (l *GetExportTaskStatusOfDatasetLogic) GetExportTaskStatusOfDataset(in *modelarts.GetExportTaskStatusOfDatasetReq) (*modelarts.GetExportTaskStatusOfDatasetResp, error)
type GetExportTasksOfDatasetLogic ¶
func NewGetExportTasksOfDatasetLogic ¶
func NewGetExportTasksOfDatasetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetExportTasksOfDatasetLogic
func (*GetExportTasksOfDatasetLogic) GetExportTasksOfDataset ¶
func (l *GetExportTasksOfDatasetLogic) GetExportTasksOfDataset(in *modelarts.GetExportTasksOfDatasetReq) (*modelarts.GetExportTasksOfDatasetResp, error)
type GetImportTaskListLogic ¶
func NewGetImportTaskListLogic ¶
func NewGetImportTaskListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetImportTaskListLogic
func (*GetImportTaskListLogic) GetImportTaskList ¶
func (l *GetImportTaskListLogic) GetImportTaskList(in *modelarts.ListImportTasksReq) (*modelarts.ListImportTasksResp, error)
find taskList 查询数据集导入任务列表
type GetListTrainingJobsLogic ¶
func NewGetListTrainingJobsLogic ¶
func NewGetListTrainingJobsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetListTrainingJobsLogic
func (*GetListTrainingJobsLogic) GetListTrainingJobs ¶
func (l *GetListTrainingJobsLogic) GetListTrainingJobs(in *modelarts.ListTrainingJobsreq) (*modelarts.ListTrainingJobsresp, error)
get ListTrainingJobs1
type GetNotebookStorageLogic ¶
func NewGetNotebookStorageLogic ¶
func NewGetNotebookStorageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNotebookStorageLogic
func (*GetNotebookStorageLogic) GetNotebookStorage ¶
func (l *GetNotebookStorageLogic) GetNotebookStorage(in *modelarts.GetNotebookStorageReq) (*modelarts.GetNotebookStorageResp, error)
type GetTokenLogic ¶
func NewGetTokenLogic ¶
func NewGetTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTokenLogic
type GetTrainingJobFlavorsLogic ¶
func NewGetTrainingJobFlavorsLogic ¶
func NewGetTrainingJobFlavorsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTrainingJobFlavorsLogic
func (*GetTrainingJobFlavorsLogic) GetTrainingJobFlavors ¶
func (l *GetTrainingJobFlavorsLogic) GetTrainingJobFlavors(in *modelarts.TrainingJobFlavorsReq) (*modelarts.TrainingJobFlavorsResp, error)
training-job-flavors 获取训练作业支持的公共规格
type GetVisualizationJobLogic ¶
func NewGetVisualizationJobLogic ¶
func NewGetVisualizationJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetVisualizationJobLogic
func (*GetVisualizationJobLogic) GetVisualizationJob ¶
func (l *GetVisualizationJobLogic) GetVisualizationJob(in *modelarts.GetVisualizationJobReq) (*modelarts.GetVisualizationJobResp, error)
visualization-jobs
type ListAlgorithmsLogic ¶
func NewListAlgorithmsLogic ¶
func NewListAlgorithmsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListAlgorithmsLogic
func (*ListAlgorithmsLogic) ListAlgorithms ¶
func (l *ListAlgorithmsLogic) ListAlgorithms(in *modelarts.ListAlgorithmsReq) (*modelarts.ListAlgorithmsResp, error)
ListAlgorithms 查询算法
type ListClustersLogic ¶
func NewListClustersLogic ¶
func NewListClustersLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListClustersLogic
func (*ListClustersLogic) ListClusters ¶
func (l *ListClustersLogic) ListClusters(in *modelarts.ListClustersReq) (*modelarts.ListClustersResp, error)
type ListModelsLogic ¶
func NewListModelsLogic ¶
func NewListModelsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListModelsLogic
func (*ListModelsLogic) ListModels ¶
func (l *ListModelsLogic) ListModels(in *modelarts.ListModelReq) (*modelarts.ListModelResp, error)
type ListNotebookLogic ¶
func NewListNotebookLogic ¶
func NewListNotebookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListNotebookLogic
func (*ListNotebookLogic) ListNotebook ¶
func (l *ListNotebookLogic) ListNotebook(in *modelarts.ListNotebookReq) (*modelarts.ListNotebookResp, error)
notebook task
type ListServicesLogic ¶
func NewListServicesLogic ¶
func NewListServicesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListServicesLogic
func (*ListServicesLogic) ListServices ¶
func (l *ListServicesLogic) ListServices(in *modelarts.ListServicesReq) (*modelarts.ListServicesResp, error)
type ListTrainingJobConfigLogic ¶
func NewListTrainingJobConfigLogic ¶
func NewListTrainingJobConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListTrainingJobConfigLogic
func (*ListTrainingJobConfigLogic) ListTrainingJobConfig ¶
func (l *ListTrainingJobConfigLogic) ListTrainingJobConfig(in *modelarts.ListTrainingJobConfigReq) (*modelarts.ListTrainingJobConfigResp, error)
ListTrainingJobConfig 查询训练作业参数
type MountNotebookStorageLogic ¶
func NewMountNotebookStorageLogic ¶
func NewMountNotebookStorageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MountNotebookStorageLogic
func (*MountNotebookStorageLogic) MountNotebookStorage ¶
func (l *MountNotebookStorageLogic) MountNotebookStorage(in *modelarts.MountNotebookStorageReq) (*modelarts.MountNotebookStorageResp, error)
type ShowAlgorithmByUuidLogic ¶
func NewShowAlgorithmByUuidLogic ¶
func NewShowAlgorithmByUuidLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowAlgorithmByUuidLogic
func (*ShowAlgorithmByUuidLogic) ShowAlgorithmByUuid ¶
func (l *ShowAlgorithmByUuidLogic) ShowAlgorithmByUuid(in *modelarts.ShowAlgorithmByUuidReq) (*modelarts.ShowAlgorithmByUuidResp, error)
ShowAlgorithmByUuid 展示算法详情
type ShowModelsLogic ¶
func NewShowModelsLogic ¶
func NewShowModelsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowModelsLogic
func (*ShowModelsLogic) ShowModels ¶
func (l *ShowModelsLogic) ShowModels(in *modelarts.ShowModelReq) (*modelarts.ShowModelResp, error)
type ShowServiceLogic ¶
func NewShowServiceLogic ¶
func NewShowServiceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowServiceLogic
func (*ShowServiceLogic) ShowService ¶
func (l *ShowServiceLogic) ShowService(in *modelarts.ShowServiceReq) (*modelarts.ShowServiceResp, error)
type StartNotebookLogic ¶
func NewStartNotebookLogic ¶
func NewStartNotebookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StartNotebookLogic
func (*StartNotebookLogic) StartNotebook ¶
func (l *StartNotebookLogic) StartNotebook(in *modelarts.StartNotebookReq) (*modelarts.StartNotebookResp, error)
type StopNotebookLogic ¶
func NewStopNotebookLogic ¶
func NewStopNotebookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StopNotebookLogic
func (*StopNotebookLogic) StopNotebook ¶
func (l *StopNotebookLogic) StopNotebook(in *modelarts.StopNotebookReq) (*modelarts.StopNotebookResp, error)
Source Files ¶
- createalgorithmlogic.go
- createdatasetlogic.go
- createmodellogic.go
- createnotebooklogic.go
- createprocessortasklogic.go
- createservicelogic.go
- createtasklogic.go
- createtrainingjobconfiglogic.go
- createtrainingjoblogic.go
- createvisualizationjoblogic.go
- cronlogic.go
- deletealgorithmslogic.go
- deletedatasetlogic.go
- deletemodellogic.go
- deleteservicelogic.go
- deletetrainingjobconfiglogic.go
- deletetrainingjoblogic.go
- describeprocessortasklogic.go
- exporttasklogic.go
- getaiengineslistlogic.go
- getdatasetlistlogic.go
- getexporttasksofdatasetlogic.go
- getexporttaskstatusofdatasetlogic.go
- getimporttasklistlogic.go
- getlisttrainingjobslogic.go
- getnotebookstoragelogic.go
- gettokenlogic.go
- gettrainingjobflavorslogic.go
- getvisualizationjoblogic.go
- listalgorithmslogic.go
- listclusterslogic.go
- listmodelslogic.go
- listnotebooklogic.go
- listserviceslogic.go
- listtrainingjobconfiglogic.go
- mountnotebookstoragelogic.go
- showalgorithmbyuuidlogic.go
- showmodelslogic.go
- showservicelogic.go
- startnotebooklogic.go
- stopnotebooklogic.go
Click to show internal directories.
Click to hide internal directories.