forked from JointCloud/pcm-octopus
604 lines
34 KiB
Go
604 lines
34 KiB
Go
// Code generated by goctl. DO NOT EDIT.
|
|
// Source: octopus.proto
|
|
|
|
package octopusclient
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
|
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
"google.golang.org/grpc"
|
|
)
|
|
|
|
type (
|
|
AlgorithmDetail = octopus.AlgorithmDetail
|
|
AlgorithmUrlReq = octopus.AlgorithmUrlReq
|
|
AlgorithmUrlResp = octopus.AlgorithmUrlResp
|
|
Algorithms = octopus.Algorithms
|
|
Applies = octopus.Applies
|
|
BillingUser = octopus.BillingUser
|
|
Config = octopus.Config
|
|
CpResp = octopus.CpResp
|
|
CreateDataSet = octopus.CreateDataSet
|
|
CreateDataSetReq = octopus.CreateDataSetReq
|
|
CreateDataSetResp = octopus.CreateDataSetResp
|
|
CreateDataSetVersionParam = octopus.CreateDataSetVersionParam
|
|
CreateDataSetVersionReq = octopus.CreateDataSetVersionReq
|
|
CreateDataSetVersionResp = octopus.CreateDataSetVersionResp
|
|
CreateImage = octopus.CreateImage
|
|
CreateImageReq = octopus.CreateImageReq
|
|
CreateImageResp = octopus.CreateImageResp
|
|
CreateModelDeployParam = octopus.CreateModelDeployParam
|
|
CreateModelDeployReq = octopus.CreateModelDeployReq
|
|
CreateModelDeployResp = octopus.CreateModelDeployResp
|
|
CreateMyAlgorithm = octopus.CreateMyAlgorithm
|
|
CreateMyAlgorithmReq = octopus.CreateMyAlgorithmReq
|
|
CreateMyAlgorithmResp = octopus.CreateMyAlgorithmResp
|
|
CreateNotebookParam = octopus.CreateNotebookParam
|
|
CreateNotebookReq = octopus.CreateNotebookReq
|
|
CreateNotebookResp = octopus.CreateNotebookResp
|
|
CreateTrainJobParam = octopus.CreateTrainJobParam
|
|
CreateTrainJobReq = octopus.CreateTrainJobReq
|
|
CreateTrainJobResp = octopus.CreateTrainJobResp
|
|
DatasetVersion = octopus.DatasetVersion
|
|
Datasets = octopus.Datasets
|
|
DeleteDataSetReq = octopus.DeleteDataSetReq
|
|
DeleteDataSetResp = octopus.DeleteDataSetResp
|
|
DeleteDataSetVersionReq = octopus.DeleteDataSetVersionReq
|
|
DeleteDataSetVersionResp = octopus.DeleteDataSetVersionResp
|
|
DeleteImageReq = octopus.DeleteImageReq
|
|
DeleteImageResp = octopus.DeleteImageResp
|
|
DeleteModelDeployReq = octopus.DeleteModelDeployReq
|
|
DeleteModelDeployResp = octopus.DeleteModelDeployResp
|
|
DeleteModelVersionReq = octopus.DeleteModelVersionReq
|
|
DeleteModelVersionResp = octopus.DeleteModelVersionResp
|
|
DeleteMyAlgorithmReq = octopus.DeleteMyAlgorithmReq
|
|
DeleteMyAlgorithmResp = octopus.DeleteMyAlgorithmResp
|
|
DeleteMyModelReq = octopus.DeleteMyModelReq
|
|
DeleteMyModelResp = octopus.DeleteMyModelResp
|
|
DeleteNotebookReq = octopus.DeleteNotebookReq
|
|
DeleteNotebookResp = octopus.DeleteNotebookResp
|
|
DeleteTrainJobReq = octopus.DeleteTrainJobReq
|
|
DeleteTrainJobResp = octopus.DeleteTrainJobResp
|
|
DepEvent = octopus.DepEvent
|
|
DepInfo = octopus.DepInfo
|
|
DownloadAlgorithmReq = octopus.DownloadAlgorithmReq
|
|
DownloadAlgorithmResp = octopus.DownloadAlgorithmResp
|
|
DownloadCompressReq = octopus.DownloadCompressReq
|
|
DownloadCompressResp = octopus.DownloadCompressResp
|
|
DownloadModelVersionReq = octopus.DownloadModelVersionReq
|
|
DownloadModelVersionResp = octopus.DownloadModelVersionResp
|
|
Error = octopus.Error
|
|
GetAlgorithmApplyListReq = octopus.GetAlgorithmApplyListReq
|
|
GetAlgorithmApplyListResp = octopus.GetAlgorithmApplyListResp
|
|
GetAlgorithmFrameworkListReq = octopus.GetAlgorithmFrameworkListReq
|
|
GetAlgorithmFrameworkListResp = octopus.GetAlgorithmFrameworkListResp
|
|
GetAlgorithmListReq = octopus.GetAlgorithmListReq
|
|
GetAlgorithmListResp = octopus.GetAlgorithmListResp
|
|
GetAlgorithmReq = octopus.GetAlgorithmReq
|
|
GetAlgorithmResp = octopus.GetAlgorithmResp
|
|
GetDatasetApplyListReq = octopus.GetDatasetApplyListReq
|
|
GetDatasetApplyListResp = octopus.GetDatasetApplyListResp
|
|
GetDatasetTypeListRep = octopus.GetDatasetTypeListRep
|
|
GetDatasetTypeListResp = octopus.GetDatasetTypeListResp
|
|
GetDatasetVersionListReq = octopus.GetDatasetVersionListReq
|
|
GetDatasetVersionListResp = octopus.GetDatasetVersionListResp
|
|
GetModelDeployEventReq = octopus.GetModelDeployEventReq
|
|
GetModelDeployEventResp = octopus.GetModelDeployEventResp
|
|
GetModelDeployListReq = octopus.GetModelDeployListReq
|
|
GetModelDeployListResp = octopus.GetModelDeployListResp
|
|
GetModelDeployReq = octopus.GetModelDeployReq
|
|
GetModelDeployResp = octopus.GetModelDeployResp
|
|
GetModelVersionListReq = octopus.GetModelVersionListReq
|
|
GetModelVersionListResp = octopus.GetModelVersionListResp
|
|
GetMyAlgorithmListReq = octopus.GetMyAlgorithmListReq
|
|
GetMyAlgorithmListResp = octopus.GetMyAlgorithmListResp
|
|
GetMyDatasetListReq = octopus.GetMyDatasetListReq
|
|
GetMyDatasetListResp = octopus.GetMyDatasetListResp
|
|
GetMyModelListReq = octopus.GetMyModelListReq
|
|
GetMyModelListResp = octopus.GetMyModelListResp
|
|
GetNotebookListReq = octopus.GetNotebookListReq
|
|
GetNotebookListResp = octopus.GetNotebookListResp
|
|
GetNotebookReq = octopus.GetNotebookReq
|
|
GetNotebookResp = octopus.GetNotebookResp
|
|
GetPresetImageListReq = octopus.GetPresetImageListReq
|
|
GetPresetImageListResp = octopus.GetPresetImageListResp
|
|
GetResourceSpecsReq = octopus.GetResourceSpecsReq
|
|
GetResourceSpecsResp = octopus.GetResourceSpecsResp
|
|
GetTrainJobEventReq = octopus.GetTrainJobEventReq
|
|
GetTrainJobEventResp = octopus.GetTrainJobEventResp
|
|
GetTrainJobListReq = octopus.GetTrainJobListReq
|
|
GetTrainJobListResp = octopus.GetTrainJobListResp
|
|
GetTrainJobLogReq = octopus.GetTrainJobLogReq
|
|
GetTrainJobLogResp = octopus.GetTrainJobLogResp
|
|
GetTrainJobMetricReq = octopus.GetTrainJobMetricReq
|
|
GetTrainJobMetricResp = octopus.GetTrainJobMetricResp
|
|
GetTrainJobReq = octopus.GetTrainJobReq
|
|
GetTrainJobResp = octopus.GetTrainJobResp
|
|
GetUserBalanceReq = octopus.GetUserBalanceReq
|
|
GetUserBalanceResp = octopus.GetUserBalanceResp
|
|
GetUserImageListReq = octopus.GetUserImageListReq
|
|
GetUserImageListResp = octopus.GetUserImageListResp
|
|
GiResp = octopus.GiResp
|
|
Headers = octopus.Headers
|
|
Image = octopus.Image
|
|
Images = octopus.Images
|
|
InferModelDeployReq = octopus.InferModelDeployReq
|
|
InferModelDeployResp = octopus.InferModelDeployResp
|
|
JobEvent = octopus.JobEvent
|
|
Lables = octopus.Lables
|
|
Model = octopus.Model
|
|
ModelVersion = octopus.ModelVersion
|
|
Mounts = octopus.Mounts
|
|
Nfs = octopus.Nfs
|
|
Notebook = octopus.Notebook
|
|
Parameters = octopus.Parameters
|
|
PayloadAlgorithmFrameworkList = octopus.PayloadAlgorithmFrameworkList
|
|
PayloadAlgorithmList = octopus.PayloadAlgorithmList
|
|
PayloadBillingUser = octopus.PayloadBillingUser
|
|
PayloadCreateDataSet = octopus.PayloadCreateDataSet
|
|
PayloadCreateDataSetVersion = octopus.PayloadCreateDataSetVersion
|
|
PayloadCreateImage = octopus.PayloadCreateImage
|
|
PayloadCreateModelDeploy = octopus.PayloadCreateModelDeploy
|
|
PayloadCreateMyAlgorithm = octopus.PayloadCreateMyAlgorithm
|
|
PayloadCreateNotebook = octopus.PayloadCreateNotebook
|
|
PayloadCreateTrainJob = octopus.PayloadCreateTrainJob
|
|
PayloadDeleteDataSet = octopus.PayloadDeleteDataSet
|
|
PayloadDeleteDataSetVersion = octopus.PayloadDeleteDataSetVersion
|
|
PayloadDeleteImage = octopus.PayloadDeleteImage
|
|
PayloadDeleteModelDeploy = octopus.PayloadDeleteModelDeploy
|
|
PayloadDeleteModelVersion = octopus.PayloadDeleteModelVersion
|
|
PayloadDeleteMyAlgorithm = octopus.PayloadDeleteMyAlgorithm
|
|
PayloadDeleteMyModel = octopus.PayloadDeleteMyModel
|
|
PayloadDeleteNotebook = octopus.PayloadDeleteNotebook
|
|
PayloadDeleteTrainJob = octopus.PayloadDeleteTrainJob
|
|
PayloadDownloadAlgorithm = octopus.PayloadDownloadAlgorithm
|
|
PayloadDownloadCompress = octopus.PayloadDownloadCompress
|
|
PayloadDownloadModelVersion = octopus.PayloadDownloadModelVersion
|
|
PayloadGetAlgorithm = octopus.PayloadGetAlgorithm
|
|
PayloadGetAlgorithmApplyList = octopus.PayloadGetAlgorithmApplyList
|
|
PayloadGetDatasetApplyList = octopus.PayloadGetDatasetApplyList
|
|
PayloadGetDatasetTypeList = octopus.PayloadGetDatasetTypeList
|
|
PayloadGetDatasetVersion = octopus.PayloadGetDatasetVersion
|
|
PayloadGetModelDeploy = octopus.PayloadGetModelDeploy
|
|
PayloadGetModelDeployEvent = octopus.PayloadGetModelDeployEvent
|
|
PayloadGetModelDeployList = octopus.PayloadGetModelDeployList
|
|
PayloadGetModelVersionList = octopus.PayloadGetModelVersionList
|
|
PayloadGetMyModelList = octopus.PayloadGetMyModelList
|
|
PayloadGetNotebook = octopus.PayloadGetNotebook
|
|
PayloadGetPresetImageList = octopus.PayloadGetPresetImageList
|
|
PayloadGetTrainJob = octopus.PayloadGetTrainJob
|
|
PayloadGetTrainJobEvent = octopus.PayloadGetTrainJobEvent
|
|
PayloadGetTrainJobList = octopus.PayloadGetTrainJobList
|
|
PayloadGetTrainJobMetric = octopus.PayloadGetTrainJobMetric
|
|
PayloadInferModelDeploy = octopus.PayloadInferModelDeploy
|
|
PayloadMyAlgorithmList = octopus.PayloadMyAlgorithmList
|
|
PayloadMyDatasetList = octopus.PayloadMyDatasetList
|
|
PayloadNotebookList = octopus.PayloadNotebookList
|
|
PayloadStartNotebook = octopus.PayloadStartNotebook
|
|
PayloadStopModelDeploy = octopus.PayloadStopModelDeploy
|
|
PayloadStopNotebook = octopus.PayloadStopNotebook
|
|
PayloadStopTrainJob = octopus.PayloadStopTrainJob
|
|
PayloadUploadAlgorithm = octopus.PayloadUploadAlgorithm
|
|
PayloadUploadAlgorithmConfirm = octopus.PayloadUploadAlgorithmConfirm
|
|
PayloadUploadDataSet = octopus.PayloadUploadDataSet
|
|
PayloadUploadDataSetConfirm = octopus.PayloadUploadDataSetConfirm
|
|
PayloadUploadImage = octopus.PayloadUploadImage
|
|
PayloadUploadImageConfirm = octopus.PayloadUploadImageConfirm
|
|
PayloadUserImageList = octopus.PayloadUserImageList
|
|
ReplicaStates = octopus.ReplicaStates
|
|
ResourceReq = octopus.ResourceReq
|
|
ResourceSpecs = octopus.ResourceSpecs
|
|
StartNotebookReq = octopus.StartNotebookReq
|
|
StartNotebookResp = octopus.StartNotebookResp
|
|
StopModelDeployReq = octopus.StopModelDeployReq
|
|
StopModelDeployResp = octopus.StopModelDeployResp
|
|
StopNotebookReq = octopus.StopNotebookReq
|
|
StopNotebookResp = octopus.StopNotebookResp
|
|
StopTrainJobReq = octopus.StopTrainJobReq
|
|
StopTrainJobResp = octopus.StopTrainJobResp
|
|
Tasks = octopus.Tasks
|
|
TrainJob = octopus.TrainJob
|
|
TrainJobOctopus = octopus.TrainJobOctopus
|
|
UploadAlgorithmConfirmParam = octopus.UploadAlgorithmConfirmParam
|
|
UploadAlgorithmConfirmReq = octopus.UploadAlgorithmConfirmReq
|
|
UploadAlgorithmConfirmResp = octopus.UploadAlgorithmConfirmResp
|
|
UploadAlgorithmParam = octopus.UploadAlgorithmParam
|
|
UploadAlgorithmReq = octopus.UploadAlgorithmReq
|
|
UploadAlgorithmResp = octopus.UploadAlgorithmResp
|
|
UploadDataSetConfirmParam = octopus.UploadDataSetConfirmParam
|
|
UploadDataSetConfirmReq = octopus.UploadDataSetConfirmReq
|
|
UploadDataSetConfirmResp = octopus.UploadDataSetConfirmResp
|
|
UploadDataSetParam = octopus.UploadDataSetParam
|
|
UploadDataSetReq = octopus.UploadDataSetReq
|
|
UploadDataSetResp = octopus.UploadDataSetResp
|
|
UploadImageConfirmReq = octopus.UploadImageConfirmReq
|
|
UploadImageConfirmResp = octopus.UploadImageConfirmResp
|
|
UploadImageParam = octopus.UploadImageParam
|
|
UploadImageReq = octopus.UploadImageReq
|
|
UploadImageResp = octopus.UploadImageResp
|
|
VersionAccesses = octopus.VersionAccesses
|
|
VersionDetail = octopus.VersionDetail
|
|
|
|
Octopus interface {
|
|
GetComputingPower(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*CpResp, error)
|
|
GetGeneralInfo(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*GiResp, error)
|
|
// Algorithm
|
|
GetMyAlgorithmList(ctx context.Context, in *GetMyAlgorithmListReq, opts ...grpc.CallOption) (*GetMyAlgorithmListResp, error)
|
|
GetAlgorithmList(ctx context.Context, in *GetAlgorithmListReq, opts ...grpc.CallOption) (*GetAlgorithmListResp, error)
|
|
GetAlgorithm(ctx context.Context, in *GetAlgorithmReq, opts ...grpc.CallOption) (*GetAlgorithmResp, error)
|
|
GetAlgorithmApplyList(ctx context.Context, in *GetAlgorithmApplyListReq, opts ...grpc.CallOption) (*GetAlgorithmApplyListResp, error)
|
|
GetAlgorithmFrameworkList(ctx context.Context, in *GetAlgorithmFrameworkListReq, opts ...grpc.CallOption) (*GetAlgorithmFrameworkListResp, error)
|
|
DeleteMyAlgorithm(ctx context.Context, in *DeleteMyAlgorithmReq, opts ...grpc.CallOption) (*DeleteMyAlgorithmResp, error)
|
|
CreateMyAlgorithm(ctx context.Context, in *CreateMyAlgorithmReq, opts ...grpc.CallOption) (*CreateMyAlgorithmResp, error)
|
|
DownloadAlgorithm(ctx context.Context, in *DownloadAlgorithmReq, opts ...grpc.CallOption) (*DownloadAlgorithmResp, error)
|
|
DownloadCompress(ctx context.Context, in *DownloadCompressReq, opts ...grpc.CallOption) (*DownloadCompressResp, error)
|
|
DownloadAlgorithmUrl(ctx context.Context, in *AlgorithmUrlReq, opts ...grpc.CallOption) (*AlgorithmUrlResp, error)
|
|
UploadAlgorithm(ctx context.Context, in *UploadAlgorithmReq, opts ...grpc.CallOption) (*UploadAlgorithmResp, error)
|
|
UploadAlgorithmConfirm(ctx context.Context, in *UploadAlgorithmConfirmReq, opts ...grpc.CallOption) (*UploadAlgorithmConfirmResp, error)
|
|
// DatasetService
|
|
GetMyDatasetList(ctx context.Context, in *GetMyDatasetListReq, opts ...grpc.CallOption) (*GetMyDatasetListResp, error)
|
|
GetDatasetVersionList(ctx context.Context, in *GetDatasetVersionListReq, opts ...grpc.CallOption) (*GetDatasetVersionListResp, error)
|
|
CreateDataSet(ctx context.Context, in *CreateDataSetReq, opts ...grpc.CallOption) (*CreateDataSetResp, error)
|
|
DeleteDataSet(ctx context.Context, in *DeleteDataSetReq, opts ...grpc.CallOption) (*DeleteDataSetResp, error)
|
|
UploadDataSet(ctx context.Context, in *UploadDataSetReq, opts ...grpc.CallOption) (*UploadDataSetResp, error)
|
|
UploadDataSetConfirm(ctx context.Context, in *UploadDataSetConfirmReq, opts ...grpc.CallOption) (*UploadDataSetConfirmResp, error)
|
|
CreateDataSetVersion(ctx context.Context, in *CreateDataSetVersionReq, opts ...grpc.CallOption) (*CreateDataSetVersionResp, error)
|
|
DeleteDataSetVersion(ctx context.Context, in *DeleteDataSetVersionReq, opts ...grpc.CallOption) (*DeleteDataSetVersionResp, error)
|
|
GetDatasetApplyList(ctx context.Context, in *GetDatasetApplyListReq, opts ...grpc.CallOption) (*GetDatasetApplyListResp, error)
|
|
GetDatasetTypeList(ctx context.Context, in *GetDatasetTypeListRep, opts ...grpc.CallOption) (*GetDatasetTypeListResp, error)
|
|
// ModelDeployService
|
|
CreateModelDeploy(ctx context.Context, in *CreateModelDeployReq, opts ...grpc.CallOption) (*CreateModelDeployResp, error)
|
|
GetModelDeployList(ctx context.Context, in *GetModelDeployListReq, opts ...grpc.CallOption) (*GetModelDeployListResp, error)
|
|
GetModelDeploy(ctx context.Context, in *GetModelDeployReq, opts ...grpc.CallOption) (*GetModelDeployResp, error)
|
|
GetModelDeployEvent(ctx context.Context, in *GetModelDeployEventReq, opts ...grpc.CallOption) (*GetModelDeployEventResp, error)
|
|
StopModelDeploy(ctx context.Context, in *StopModelDeployReq, opts ...grpc.CallOption) (*StopModelDeployResp, error)
|
|
DeleteModelDeploy(ctx context.Context, in *DeleteModelDeployReq, opts ...grpc.CallOption) (*DeleteModelDeployResp, error)
|
|
InferModelDeploy(ctx context.Context, in *InferModelDeployReq, opts ...grpc.CallOption) (*InferModelDeployResp, error)
|
|
// Develop
|
|
GetNotebookList(ctx context.Context, in *GetNotebookListReq, opts ...grpc.CallOption) (*GetNotebookListResp, error)
|
|
GetNotebook(ctx context.Context, in *GetNotebookReq, opts ...grpc.CallOption) (*GetNotebookResp, error)
|
|
DeleteNotebook(ctx context.Context, in *DeleteNotebookReq, opts ...grpc.CallOption) (*DeleteNotebookResp, error)
|
|
CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error)
|
|
StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error)
|
|
StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error)
|
|
// ImageService
|
|
GetUserImageList(ctx context.Context, in *GetUserImageListReq, opts ...grpc.CallOption) (*GetUserImageListResp, error)
|
|
GetPresetImageList(ctx context.Context, in *GetPresetImageListReq, opts ...grpc.CallOption) (*GetPresetImageListResp, error)
|
|
CreateImage(ctx context.Context, in *CreateImageReq, opts ...grpc.CallOption) (*CreateImageResp, error)
|
|
DeleteImage(ctx context.Context, in *DeleteImageReq, opts ...grpc.CallOption) (*DeleteImageResp, error)
|
|
UploadImage(ctx context.Context, in *UploadImageReq, opts ...grpc.CallOption) (*UploadImageResp, error)
|
|
UploadImageConfirm(ctx context.Context, in *UploadImageConfirmReq, opts ...grpc.CallOption) (*UploadImageConfirmResp, error)
|
|
// Model
|
|
GetMyModelList(ctx context.Context, in *GetMyModelListReq, opts ...grpc.CallOption) (*GetMyModelListResp, error)
|
|
GetModelVersionList(ctx context.Context, in *GetModelVersionListReq, opts ...grpc.CallOption) (*GetModelVersionListResp, error)
|
|
DeleteMyModel(ctx context.Context, in *DeleteMyModelReq, opts ...grpc.CallOption) (*DeleteMyModelResp, error)
|
|
DeleteModelVersion(ctx context.Context, in *DeleteModelVersionReq, opts ...grpc.CallOption) (*DeleteModelVersionResp, error)
|
|
DownloadModelVersion(ctx context.Context, in *DownloadModelVersionReq, opts ...grpc.CallOption) (*DownloadModelVersionResp, error)
|
|
// TrainJobService
|
|
CreateTrainJob(ctx context.Context, in *CreateTrainJobReq, opts ...grpc.CallOption) (*CreateTrainJobResp, error)
|
|
GetTrainJobList(ctx context.Context, in *GetTrainJobListReq, opts ...grpc.CallOption) (*GetTrainJobListResp, error)
|
|
GetTrainJob(ctx context.Context, in *GetTrainJobReq, opts ...grpc.CallOption) (*GetTrainJobResp, error)
|
|
DeleteTrainJob(ctx context.Context, in *DeleteTrainJobReq, opts ...grpc.CallOption) (*DeleteTrainJobResp, error)
|
|
StopTrainJob(ctx context.Context, in *StopTrainJobReq, opts ...grpc.CallOption) (*StopTrainJobResp, error)
|
|
GetTrainJobEvent(ctx context.Context, in *GetTrainJobEventReq, opts ...grpc.CallOption) (*GetTrainJobEventResp, error)
|
|
GetTrainJobMetric(ctx context.Context, in *GetTrainJobMetricReq, opts ...grpc.CallOption) (*GetTrainJobMetricResp, error)
|
|
GetTrainJobLog(ctx context.Context, in *GetTrainJobLogReq, opts ...grpc.CallOption) (*GetTrainJobLogResp, error)
|
|
// ResourceSpecService
|
|
GetResourceSpecs(ctx context.Context, in *GetResourceSpecsReq, opts ...grpc.CallOption) (*GetResourceSpecsResp, error)
|
|
// Billing
|
|
GetUserBalance(ctx context.Context, in *GetUserBalanceReq, opts ...grpc.CallOption) (*GetUserBalanceResp, error)
|
|
}
|
|
|
|
defaultOctopus struct {
|
|
cli zrpc.Client
|
|
}
|
|
)
|
|
|
|
func NewOctopus(cli zrpc.Client) Octopus {
|
|
return &defaultOctopus{
|
|
cli: cli,
|
|
}
|
|
}
|
|
|
|
func (m *defaultOctopus) GetComputingPower(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*CpResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetComputingPower(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetGeneralInfo(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*GiResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetGeneralInfo(ctx, in, opts...)
|
|
}
|
|
|
|
// Algorithm
|
|
func (m *defaultOctopus) GetMyAlgorithmList(ctx context.Context, in *GetMyAlgorithmListReq, opts ...grpc.CallOption) (*GetMyAlgorithmListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetMyAlgorithmList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetAlgorithmList(ctx context.Context, in *GetAlgorithmListReq, opts ...grpc.CallOption) (*GetAlgorithmListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetAlgorithmList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetAlgorithm(ctx context.Context, in *GetAlgorithmReq, opts ...grpc.CallOption) (*GetAlgorithmResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetAlgorithm(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetAlgorithmApplyList(ctx context.Context, in *GetAlgorithmApplyListReq, opts ...grpc.CallOption) (*GetAlgorithmApplyListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetAlgorithmApplyList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetAlgorithmFrameworkList(ctx context.Context, in *GetAlgorithmFrameworkListReq, opts ...grpc.CallOption) (*GetAlgorithmFrameworkListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetAlgorithmFrameworkList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteMyAlgorithm(ctx context.Context, in *DeleteMyAlgorithmReq, opts ...grpc.CallOption) (*DeleteMyAlgorithmResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteMyAlgorithm(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) CreateMyAlgorithm(ctx context.Context, in *CreateMyAlgorithmReq, opts ...grpc.CallOption) (*CreateMyAlgorithmResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.CreateMyAlgorithm(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DownloadAlgorithm(ctx context.Context, in *DownloadAlgorithmReq, opts ...grpc.CallOption) (*DownloadAlgorithmResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DownloadAlgorithm(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DownloadCompress(ctx context.Context, in *DownloadCompressReq, opts ...grpc.CallOption) (*DownloadCompressResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DownloadCompress(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DownloadAlgorithmUrl(ctx context.Context, in *AlgorithmUrlReq, opts ...grpc.CallOption) (*AlgorithmUrlResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DownloadAlgorithmUrl(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) UploadAlgorithm(ctx context.Context, in *UploadAlgorithmReq, opts ...grpc.CallOption) (*UploadAlgorithmResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.UploadAlgorithm(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) UploadAlgorithmConfirm(ctx context.Context, in *UploadAlgorithmConfirmReq, opts ...grpc.CallOption) (*UploadAlgorithmConfirmResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.UploadAlgorithmConfirm(ctx, in, opts...)
|
|
}
|
|
|
|
// DatasetService
|
|
func (m *defaultOctopus) GetMyDatasetList(ctx context.Context, in *GetMyDatasetListReq, opts ...grpc.CallOption) (*GetMyDatasetListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetMyDatasetList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetDatasetVersionList(ctx context.Context, in *GetDatasetVersionListReq, opts ...grpc.CallOption) (*GetDatasetVersionListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetDatasetVersionList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) CreateDataSet(ctx context.Context, in *CreateDataSetReq, opts ...grpc.CallOption) (*CreateDataSetResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.CreateDataSet(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteDataSet(ctx context.Context, in *DeleteDataSetReq, opts ...grpc.CallOption) (*DeleteDataSetResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteDataSet(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) UploadDataSet(ctx context.Context, in *UploadDataSetReq, opts ...grpc.CallOption) (*UploadDataSetResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.UploadDataSet(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) UploadDataSetConfirm(ctx context.Context, in *UploadDataSetConfirmReq, opts ...grpc.CallOption) (*UploadDataSetConfirmResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.UploadDataSetConfirm(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) CreateDataSetVersion(ctx context.Context, in *CreateDataSetVersionReq, opts ...grpc.CallOption) (*CreateDataSetVersionResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.CreateDataSetVersion(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteDataSetVersion(ctx context.Context, in *DeleteDataSetVersionReq, opts ...grpc.CallOption) (*DeleteDataSetVersionResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteDataSetVersion(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetDatasetApplyList(ctx context.Context, in *GetDatasetApplyListReq, opts ...grpc.CallOption) (*GetDatasetApplyListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetDatasetApplyList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetDatasetTypeList(ctx context.Context, in *GetDatasetTypeListRep, opts ...grpc.CallOption) (*GetDatasetTypeListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetDatasetTypeList(ctx, in, opts...)
|
|
}
|
|
|
|
// ModelDeployService
|
|
func (m *defaultOctopus) CreateModelDeploy(ctx context.Context, in *CreateModelDeployReq, opts ...grpc.CallOption) (*CreateModelDeployResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.CreateModelDeploy(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetModelDeployList(ctx context.Context, in *GetModelDeployListReq, opts ...grpc.CallOption) (*GetModelDeployListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetModelDeployList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetModelDeploy(ctx context.Context, in *GetModelDeployReq, opts ...grpc.CallOption) (*GetModelDeployResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetModelDeploy(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetModelDeployEvent(ctx context.Context, in *GetModelDeployEventReq, opts ...grpc.CallOption) (*GetModelDeployEventResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetModelDeployEvent(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) StopModelDeploy(ctx context.Context, in *StopModelDeployReq, opts ...grpc.CallOption) (*StopModelDeployResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.StopModelDeploy(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteModelDeploy(ctx context.Context, in *DeleteModelDeployReq, opts ...grpc.CallOption) (*DeleteModelDeployResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteModelDeploy(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) InferModelDeploy(ctx context.Context, in *InferModelDeployReq, opts ...grpc.CallOption) (*InferModelDeployResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.InferModelDeploy(ctx, in, opts...)
|
|
}
|
|
|
|
// Develop
|
|
func (m *defaultOctopus) GetNotebookList(ctx context.Context, in *GetNotebookListReq, opts ...grpc.CallOption) (*GetNotebookListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetNotebookList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetNotebook(ctx context.Context, in *GetNotebookReq, opts ...grpc.CallOption) (*GetNotebookResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetNotebook(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteNotebook(ctx context.Context, in *DeleteNotebookReq, opts ...grpc.CallOption) (*DeleteNotebookResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteNotebook(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.CreateNotebook(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.StartNotebook(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.StopNotebook(ctx, in, opts...)
|
|
}
|
|
|
|
// ImageService
|
|
func (m *defaultOctopus) GetUserImageList(ctx context.Context, in *GetUserImageListReq, opts ...grpc.CallOption) (*GetUserImageListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetUserImageList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetPresetImageList(ctx context.Context, in *GetPresetImageListReq, opts ...grpc.CallOption) (*GetPresetImageListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetPresetImageList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) CreateImage(ctx context.Context, in *CreateImageReq, opts ...grpc.CallOption) (*CreateImageResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.CreateImage(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteImage(ctx context.Context, in *DeleteImageReq, opts ...grpc.CallOption) (*DeleteImageResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteImage(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) UploadImage(ctx context.Context, in *UploadImageReq, opts ...grpc.CallOption) (*UploadImageResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.UploadImage(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) UploadImageConfirm(ctx context.Context, in *UploadImageConfirmReq, opts ...grpc.CallOption) (*UploadImageConfirmResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.UploadImageConfirm(ctx, in, opts...)
|
|
}
|
|
|
|
// Model
|
|
func (m *defaultOctopus) GetMyModelList(ctx context.Context, in *GetMyModelListReq, opts ...grpc.CallOption) (*GetMyModelListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetMyModelList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetModelVersionList(ctx context.Context, in *GetModelVersionListReq, opts ...grpc.CallOption) (*GetModelVersionListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetModelVersionList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteMyModel(ctx context.Context, in *DeleteMyModelReq, opts ...grpc.CallOption) (*DeleteMyModelResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteMyModel(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteModelVersion(ctx context.Context, in *DeleteModelVersionReq, opts ...grpc.CallOption) (*DeleteModelVersionResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteModelVersion(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DownloadModelVersion(ctx context.Context, in *DownloadModelVersionReq, opts ...grpc.CallOption) (*DownloadModelVersionResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DownloadModelVersion(ctx, in, opts...)
|
|
}
|
|
|
|
// TrainJobService
|
|
func (m *defaultOctopus) CreateTrainJob(ctx context.Context, in *CreateTrainJobReq, opts ...grpc.CallOption) (*CreateTrainJobResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.CreateTrainJob(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetTrainJobList(ctx context.Context, in *GetTrainJobListReq, opts ...grpc.CallOption) (*GetTrainJobListResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetTrainJobList(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetTrainJob(ctx context.Context, in *GetTrainJobReq, opts ...grpc.CallOption) (*GetTrainJobResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetTrainJob(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) DeleteTrainJob(ctx context.Context, in *DeleteTrainJobReq, opts ...grpc.CallOption) (*DeleteTrainJobResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.DeleteTrainJob(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) StopTrainJob(ctx context.Context, in *StopTrainJobReq, opts ...grpc.CallOption) (*StopTrainJobResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.StopTrainJob(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetTrainJobEvent(ctx context.Context, in *GetTrainJobEventReq, opts ...grpc.CallOption) (*GetTrainJobEventResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetTrainJobEvent(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetTrainJobMetric(ctx context.Context, in *GetTrainJobMetricReq, opts ...grpc.CallOption) (*GetTrainJobMetricResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetTrainJobMetric(ctx, in, opts...)
|
|
}
|
|
|
|
func (m *defaultOctopus) GetTrainJobLog(ctx context.Context, in *GetTrainJobLogReq, opts ...grpc.CallOption) (*GetTrainJobLogResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetTrainJobLog(ctx, in, opts...)
|
|
}
|
|
|
|
// ResourceSpecService
|
|
func (m *defaultOctopus) GetResourceSpecs(ctx context.Context, in *GetResourceSpecsReq, opts ...grpc.CallOption) (*GetResourceSpecsResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetResourceSpecs(ctx, in, opts...)
|
|
}
|
|
|
|
// Billing
|
|
func (m *defaultOctopus) GetUserBalance(ctx context.Context, in *GetUserBalanceReq, opts ...grpc.CallOption) (*GetUserBalanceResp, error) {
|
|
client := octopus.NewOctopusClient(m.cli.Conn())
|
|
return client.GetUserBalance(ctx, in, opts...)
|
|
}
|