forked from JointCloud/pcm-octopus
2200 lines
90 KiB
Go
2200 lines
90 KiB
Go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-grpc v1.3.0
|
|
// - protoc v3.19.4
|
|
// source: octopus.proto
|
|
|
|
package octopus
|
|
|
|
import (
|
|
context "context"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
)
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
// Requires gRPC-Go v1.32.0 or later.
|
|
const _ = grpc.SupportPackageIsVersion7
|
|
|
|
const (
|
|
Octopus_GetComputingPower_FullMethodName = "/octopus.Octopus/GetComputingPower"
|
|
Octopus_GetGeneralInfo_FullMethodName = "/octopus.Octopus/GetGeneralInfo"
|
|
Octopus_GetMyAlgorithmList_FullMethodName = "/octopus.Octopus/GetMyAlgorithmList"
|
|
Octopus_GetAlgorithmList_FullMethodName = "/octopus.Octopus/GetAlgorithmList"
|
|
Octopus_GetAlgorithm_FullMethodName = "/octopus.Octopus/GetAlgorithm"
|
|
Octopus_GetAlgorithmApplyList_FullMethodName = "/octopus.Octopus/GetAlgorithmApplyList"
|
|
Octopus_GetAlgorithmFrameworkList_FullMethodName = "/octopus.Octopus/GetAlgorithmFrameworkList"
|
|
Octopus_DeleteMyAlgorithm_FullMethodName = "/octopus.Octopus/DeleteMyAlgorithm"
|
|
Octopus_CreateMyAlgorithm_FullMethodName = "/octopus.Octopus/CreateMyAlgorithm"
|
|
Octopus_DownloadAlgorithm_FullMethodName = "/octopus.Octopus/DownloadAlgorithm"
|
|
Octopus_DownloadCompress_FullMethodName = "/octopus.Octopus/DownloadCompress"
|
|
Octopus_UploadAlgorithm_FullMethodName = "/octopus.Octopus/UploadAlgorithm"
|
|
Octopus_UploadAlgorithmConfirm_FullMethodName = "/octopus.Octopus/UploadAlgorithmConfirm"
|
|
Octopus_GetMyDatasetList_FullMethodName = "/octopus.Octopus/GetMyDatasetList"
|
|
Octopus_GetDatasetVersionList_FullMethodName = "/octopus.Octopus/GetDatasetVersionList"
|
|
Octopus_CreateDataSet_FullMethodName = "/octopus.Octopus/CreateDataSet"
|
|
Octopus_DeleteDataSet_FullMethodName = "/octopus.Octopus/DeleteDataSet"
|
|
Octopus_UploadDataSet_FullMethodName = "/octopus.Octopus/UploadDataSet"
|
|
Octopus_UploadDataSetConfirm_FullMethodName = "/octopus.Octopus/UploadDataSetConfirm"
|
|
Octopus_CreateDataSetVersion_FullMethodName = "/octopus.Octopus/CreateDataSetVersion"
|
|
Octopus_DeleteDataSetVersion_FullMethodName = "/octopus.Octopus/DeleteDataSetVersion"
|
|
Octopus_GetDatasetApplyList_FullMethodName = "/octopus.Octopus/GetDatasetApplyList"
|
|
Octopus_GetDatasetTypeList_FullMethodName = "/octopus.Octopus/GetDatasetTypeList"
|
|
Octopus_CreateModelDeploy_FullMethodName = "/octopus.Octopus/CreateModelDeploy"
|
|
Octopus_GetModelDeployList_FullMethodName = "/octopus.Octopus/GetModelDeployList"
|
|
Octopus_GetModelDeploy_FullMethodName = "/octopus.Octopus/GetModelDeploy"
|
|
Octopus_GetModelDeployEvent_FullMethodName = "/octopus.Octopus/GetModelDeployEvent"
|
|
Octopus_StopModelDeploy_FullMethodName = "/octopus.Octopus/StopModelDeploy"
|
|
Octopus_DeleteModelDeploy_FullMethodName = "/octopus.Octopus/DeleteModelDeploy"
|
|
Octopus_InferModelDeploy_FullMethodName = "/octopus.Octopus/InferModelDeploy"
|
|
Octopus_GetNotebookList_FullMethodName = "/octopus.Octopus/GetNotebookList"
|
|
Octopus_GetNotebook_FullMethodName = "/octopus.Octopus/GetNotebook"
|
|
Octopus_DeleteNotebook_FullMethodName = "/octopus.Octopus/DeleteNotebook"
|
|
Octopus_CreateNotebook_FullMethodName = "/octopus.Octopus/CreateNotebook"
|
|
Octopus_StartNotebook_FullMethodName = "/octopus.Octopus/StartNotebook"
|
|
Octopus_StopNotebook_FullMethodName = "/octopus.Octopus/StopNotebook"
|
|
Octopus_GetUserImageList_FullMethodName = "/octopus.Octopus/GetUserImageList"
|
|
Octopus_GetPresetImageList_FullMethodName = "/octopus.Octopus/GetPresetImageList"
|
|
Octopus_CreateImage_FullMethodName = "/octopus.Octopus/CreateImage"
|
|
Octopus_DeleteImage_FullMethodName = "/octopus.Octopus/DeleteImage"
|
|
Octopus_UploadImage_FullMethodName = "/octopus.Octopus/UploadImage"
|
|
Octopus_UploadImageConfirm_FullMethodName = "/octopus.Octopus/UploadImageConfirm"
|
|
Octopus_GetMyModelList_FullMethodName = "/octopus.Octopus/GetMyModelList"
|
|
Octopus_GetModelVersionList_FullMethodName = "/octopus.Octopus/GetModelVersionList"
|
|
Octopus_DeleteMyModel_FullMethodName = "/octopus.Octopus/DeleteMyModel"
|
|
Octopus_DeleteModelVersion_FullMethodName = "/octopus.Octopus/DeleteModelVersion"
|
|
Octopus_DownloadModelVersion_FullMethodName = "/octopus.Octopus/DownloadModelVersion"
|
|
Octopus_CreateTrainJob_FullMethodName = "/octopus.Octopus/CreateTrainJob"
|
|
Octopus_GetTrainJobList_FullMethodName = "/octopus.Octopus/GetTrainJobList"
|
|
Octopus_GetTrainJob_FullMethodName = "/octopus.Octopus/GetTrainJob"
|
|
Octopus_DeleteTrainJob_FullMethodName = "/octopus.Octopus/DeleteTrainJob"
|
|
Octopus_StopTrainJob_FullMethodName = "/octopus.Octopus/StopTrainJob"
|
|
Octopus_GetTrainJobEvent_FullMethodName = "/octopus.Octopus/GetTrainJobEvent"
|
|
Octopus_GetTrainJobMetric_FullMethodName = "/octopus.Octopus/GetTrainJobMetric"
|
|
Octopus_GetTrainJobLog_FullMethodName = "/octopus.Octopus/GetTrainJobLog"
|
|
Octopus_GetResourceSpecs_FullMethodName = "/octopus.Octopus/GetResourceSpecs"
|
|
Octopus_GetUserBalance_FullMethodName = "/octopus.Octopus/GetUserBalance"
|
|
)
|
|
|
|
// OctopusClient is the client API for Octopus service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
type OctopusClient 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)
|
|
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)
|
|
}
|
|
|
|
type octopusClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewOctopusClient(cc grpc.ClientConnInterface) OctopusClient {
|
|
return &octopusClient{cc}
|
|
}
|
|
|
|
func (c *octopusClient) GetComputingPower(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*CpResp, error) {
|
|
out := new(CpResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetComputingPower_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetGeneralInfo(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*GiResp, error) {
|
|
out := new(GiResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetGeneralInfo_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetMyAlgorithmList(ctx context.Context, in *GetMyAlgorithmListReq, opts ...grpc.CallOption) (*GetMyAlgorithmListResp, error) {
|
|
out := new(GetMyAlgorithmListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetMyAlgorithmList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetAlgorithmList(ctx context.Context, in *GetAlgorithmListReq, opts ...grpc.CallOption) (*GetAlgorithmListResp, error) {
|
|
out := new(GetAlgorithmListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetAlgorithmList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetAlgorithm(ctx context.Context, in *GetAlgorithmReq, opts ...grpc.CallOption) (*GetAlgorithmResp, error) {
|
|
out := new(GetAlgorithmResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetAlgorithm_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetAlgorithmApplyList(ctx context.Context, in *GetAlgorithmApplyListReq, opts ...grpc.CallOption) (*GetAlgorithmApplyListResp, error) {
|
|
out := new(GetAlgorithmApplyListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetAlgorithmApplyList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetAlgorithmFrameworkList(ctx context.Context, in *GetAlgorithmFrameworkListReq, opts ...grpc.CallOption) (*GetAlgorithmFrameworkListResp, error) {
|
|
out := new(GetAlgorithmFrameworkListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetAlgorithmFrameworkList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteMyAlgorithm(ctx context.Context, in *DeleteMyAlgorithmReq, opts ...grpc.CallOption) (*DeleteMyAlgorithmResp, error) {
|
|
out := new(DeleteMyAlgorithmResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteMyAlgorithm_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) CreateMyAlgorithm(ctx context.Context, in *CreateMyAlgorithmReq, opts ...grpc.CallOption) (*CreateMyAlgorithmResp, error) {
|
|
out := new(CreateMyAlgorithmResp)
|
|
err := c.cc.Invoke(ctx, Octopus_CreateMyAlgorithm_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DownloadAlgorithm(ctx context.Context, in *DownloadAlgorithmReq, opts ...grpc.CallOption) (*DownloadAlgorithmResp, error) {
|
|
out := new(DownloadAlgorithmResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DownloadAlgorithm_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DownloadCompress(ctx context.Context, in *DownloadCompressReq, opts ...grpc.CallOption) (*DownloadCompressResp, error) {
|
|
out := new(DownloadCompressResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DownloadCompress_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) UploadAlgorithm(ctx context.Context, in *UploadAlgorithmReq, opts ...grpc.CallOption) (*UploadAlgorithmResp, error) {
|
|
out := new(UploadAlgorithmResp)
|
|
err := c.cc.Invoke(ctx, Octopus_UploadAlgorithm_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) UploadAlgorithmConfirm(ctx context.Context, in *UploadAlgorithmConfirmReq, opts ...grpc.CallOption) (*UploadAlgorithmConfirmResp, error) {
|
|
out := new(UploadAlgorithmConfirmResp)
|
|
err := c.cc.Invoke(ctx, Octopus_UploadAlgorithmConfirm_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetMyDatasetList(ctx context.Context, in *GetMyDatasetListReq, opts ...grpc.CallOption) (*GetMyDatasetListResp, error) {
|
|
out := new(GetMyDatasetListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetMyDatasetList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetDatasetVersionList(ctx context.Context, in *GetDatasetVersionListReq, opts ...grpc.CallOption) (*GetDatasetVersionListResp, error) {
|
|
out := new(GetDatasetVersionListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetDatasetVersionList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) CreateDataSet(ctx context.Context, in *CreateDataSetReq, opts ...grpc.CallOption) (*CreateDataSetResp, error) {
|
|
out := new(CreateDataSetResp)
|
|
err := c.cc.Invoke(ctx, Octopus_CreateDataSet_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteDataSet(ctx context.Context, in *DeleteDataSetReq, opts ...grpc.CallOption) (*DeleteDataSetResp, error) {
|
|
out := new(DeleteDataSetResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteDataSet_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) UploadDataSet(ctx context.Context, in *UploadDataSetReq, opts ...grpc.CallOption) (*UploadDataSetResp, error) {
|
|
out := new(UploadDataSetResp)
|
|
err := c.cc.Invoke(ctx, Octopus_UploadDataSet_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) UploadDataSetConfirm(ctx context.Context, in *UploadDataSetConfirmReq, opts ...grpc.CallOption) (*UploadDataSetConfirmResp, error) {
|
|
out := new(UploadDataSetConfirmResp)
|
|
err := c.cc.Invoke(ctx, Octopus_UploadDataSetConfirm_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) CreateDataSetVersion(ctx context.Context, in *CreateDataSetVersionReq, opts ...grpc.CallOption) (*CreateDataSetVersionResp, error) {
|
|
out := new(CreateDataSetVersionResp)
|
|
err := c.cc.Invoke(ctx, Octopus_CreateDataSetVersion_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteDataSetVersion(ctx context.Context, in *DeleteDataSetVersionReq, opts ...grpc.CallOption) (*DeleteDataSetVersionResp, error) {
|
|
out := new(DeleteDataSetVersionResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteDataSetVersion_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetDatasetApplyList(ctx context.Context, in *GetDatasetApplyListReq, opts ...grpc.CallOption) (*GetDatasetApplyListResp, error) {
|
|
out := new(GetDatasetApplyListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetDatasetApplyList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetDatasetTypeList(ctx context.Context, in *GetDatasetTypeListRep, opts ...grpc.CallOption) (*GetDatasetTypeListResp, error) {
|
|
out := new(GetDatasetTypeListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetDatasetTypeList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) CreateModelDeploy(ctx context.Context, in *CreateModelDeployReq, opts ...grpc.CallOption) (*CreateModelDeployResp, error) {
|
|
out := new(CreateModelDeployResp)
|
|
err := c.cc.Invoke(ctx, Octopus_CreateModelDeploy_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetModelDeployList(ctx context.Context, in *GetModelDeployListReq, opts ...grpc.CallOption) (*GetModelDeployListResp, error) {
|
|
out := new(GetModelDeployListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetModelDeployList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetModelDeploy(ctx context.Context, in *GetModelDeployReq, opts ...grpc.CallOption) (*GetModelDeployResp, error) {
|
|
out := new(GetModelDeployResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetModelDeploy_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetModelDeployEvent(ctx context.Context, in *GetModelDeployEventReq, opts ...grpc.CallOption) (*GetModelDeployEventResp, error) {
|
|
out := new(GetModelDeployEventResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetModelDeployEvent_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) StopModelDeploy(ctx context.Context, in *StopModelDeployReq, opts ...grpc.CallOption) (*StopModelDeployResp, error) {
|
|
out := new(StopModelDeployResp)
|
|
err := c.cc.Invoke(ctx, Octopus_StopModelDeploy_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteModelDeploy(ctx context.Context, in *DeleteModelDeployReq, opts ...grpc.CallOption) (*DeleteModelDeployResp, error) {
|
|
out := new(DeleteModelDeployResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteModelDeploy_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) InferModelDeploy(ctx context.Context, in *InferModelDeployReq, opts ...grpc.CallOption) (*InferModelDeployResp, error) {
|
|
out := new(InferModelDeployResp)
|
|
err := c.cc.Invoke(ctx, Octopus_InferModelDeploy_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetNotebookList(ctx context.Context, in *GetNotebookListReq, opts ...grpc.CallOption) (*GetNotebookListResp, error) {
|
|
out := new(GetNotebookListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetNotebookList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetNotebook(ctx context.Context, in *GetNotebookReq, opts ...grpc.CallOption) (*GetNotebookResp, error) {
|
|
out := new(GetNotebookResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetNotebook_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteNotebook(ctx context.Context, in *DeleteNotebookReq, opts ...grpc.CallOption) (*DeleteNotebookResp, error) {
|
|
out := new(DeleteNotebookResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteNotebook_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) CreateNotebook(ctx context.Context, in *CreateNotebookReq, opts ...grpc.CallOption) (*CreateNotebookResp, error) {
|
|
out := new(CreateNotebookResp)
|
|
err := c.cc.Invoke(ctx, Octopus_CreateNotebook_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) StartNotebook(ctx context.Context, in *StartNotebookReq, opts ...grpc.CallOption) (*StartNotebookResp, error) {
|
|
out := new(StartNotebookResp)
|
|
err := c.cc.Invoke(ctx, Octopus_StartNotebook_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) StopNotebook(ctx context.Context, in *StopNotebookReq, opts ...grpc.CallOption) (*StopNotebookResp, error) {
|
|
out := new(StopNotebookResp)
|
|
err := c.cc.Invoke(ctx, Octopus_StopNotebook_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetUserImageList(ctx context.Context, in *GetUserImageListReq, opts ...grpc.CallOption) (*GetUserImageListResp, error) {
|
|
out := new(GetUserImageListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetUserImageList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetPresetImageList(ctx context.Context, in *GetPresetImageListReq, opts ...grpc.CallOption) (*GetPresetImageListResp, error) {
|
|
out := new(GetPresetImageListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetPresetImageList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) CreateImage(ctx context.Context, in *CreateImageReq, opts ...grpc.CallOption) (*CreateImageResp, error) {
|
|
out := new(CreateImageResp)
|
|
err := c.cc.Invoke(ctx, Octopus_CreateImage_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteImage(ctx context.Context, in *DeleteImageReq, opts ...grpc.CallOption) (*DeleteImageResp, error) {
|
|
out := new(DeleteImageResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteImage_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) UploadImage(ctx context.Context, in *UploadImageReq, opts ...grpc.CallOption) (*UploadImageResp, error) {
|
|
out := new(UploadImageResp)
|
|
err := c.cc.Invoke(ctx, Octopus_UploadImage_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) UploadImageConfirm(ctx context.Context, in *UploadImageConfirmReq, opts ...grpc.CallOption) (*UploadImageConfirmResp, error) {
|
|
out := new(UploadImageConfirmResp)
|
|
err := c.cc.Invoke(ctx, Octopus_UploadImageConfirm_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetMyModelList(ctx context.Context, in *GetMyModelListReq, opts ...grpc.CallOption) (*GetMyModelListResp, error) {
|
|
out := new(GetMyModelListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetMyModelList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetModelVersionList(ctx context.Context, in *GetModelVersionListReq, opts ...grpc.CallOption) (*GetModelVersionListResp, error) {
|
|
out := new(GetModelVersionListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetModelVersionList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteMyModel(ctx context.Context, in *DeleteMyModelReq, opts ...grpc.CallOption) (*DeleteMyModelResp, error) {
|
|
out := new(DeleteMyModelResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteMyModel_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteModelVersion(ctx context.Context, in *DeleteModelVersionReq, opts ...grpc.CallOption) (*DeleteModelVersionResp, error) {
|
|
out := new(DeleteModelVersionResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteModelVersion_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DownloadModelVersion(ctx context.Context, in *DownloadModelVersionReq, opts ...grpc.CallOption) (*DownloadModelVersionResp, error) {
|
|
out := new(DownloadModelVersionResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DownloadModelVersion_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) CreateTrainJob(ctx context.Context, in *CreateTrainJobReq, opts ...grpc.CallOption) (*CreateTrainJobResp, error) {
|
|
out := new(CreateTrainJobResp)
|
|
err := c.cc.Invoke(ctx, Octopus_CreateTrainJob_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetTrainJobList(ctx context.Context, in *GetTrainJobListReq, opts ...grpc.CallOption) (*GetTrainJobListResp, error) {
|
|
out := new(GetTrainJobListResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetTrainJobList_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetTrainJob(ctx context.Context, in *GetTrainJobReq, opts ...grpc.CallOption) (*GetTrainJobResp, error) {
|
|
out := new(GetTrainJobResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetTrainJob_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) DeleteTrainJob(ctx context.Context, in *DeleteTrainJobReq, opts ...grpc.CallOption) (*DeleteTrainJobResp, error) {
|
|
out := new(DeleteTrainJobResp)
|
|
err := c.cc.Invoke(ctx, Octopus_DeleteTrainJob_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) StopTrainJob(ctx context.Context, in *StopTrainJobReq, opts ...grpc.CallOption) (*StopTrainJobResp, error) {
|
|
out := new(StopTrainJobResp)
|
|
err := c.cc.Invoke(ctx, Octopus_StopTrainJob_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetTrainJobEvent(ctx context.Context, in *GetTrainJobEventReq, opts ...grpc.CallOption) (*GetTrainJobEventResp, error) {
|
|
out := new(GetTrainJobEventResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetTrainJobEvent_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetTrainJobMetric(ctx context.Context, in *GetTrainJobMetricReq, opts ...grpc.CallOption) (*GetTrainJobMetricResp, error) {
|
|
out := new(GetTrainJobMetricResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetTrainJobMetric_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetTrainJobLog(ctx context.Context, in *GetTrainJobLogReq, opts ...grpc.CallOption) (*GetTrainJobLogResp, error) {
|
|
out := new(GetTrainJobLogResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetTrainJobLog_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetResourceSpecs(ctx context.Context, in *GetResourceSpecsReq, opts ...grpc.CallOption) (*GetResourceSpecsResp, error) {
|
|
out := new(GetResourceSpecsResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetResourceSpecs_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *octopusClient) GetUserBalance(ctx context.Context, in *GetUserBalanceReq, opts ...grpc.CallOption) (*GetUserBalanceResp, error) {
|
|
out := new(GetUserBalanceResp)
|
|
err := c.cc.Invoke(ctx, Octopus_GetUserBalance_FullMethodName, in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// OctopusServer is the server API for Octopus service.
|
|
// All implementations must embed UnimplementedOctopusServer
|
|
// for forward compatibility
|
|
type OctopusServer interface {
|
|
GetComputingPower(context.Context, *ResourceReq) (*CpResp, error)
|
|
GetGeneralInfo(context.Context, *ResourceReq) (*GiResp, error)
|
|
// Algorithm
|
|
GetMyAlgorithmList(context.Context, *GetMyAlgorithmListReq) (*GetMyAlgorithmListResp, error)
|
|
GetAlgorithmList(context.Context, *GetAlgorithmListReq) (*GetAlgorithmListResp, error)
|
|
GetAlgorithm(context.Context, *GetAlgorithmReq) (*GetAlgorithmResp, error)
|
|
GetAlgorithmApplyList(context.Context, *GetAlgorithmApplyListReq) (*GetAlgorithmApplyListResp, error)
|
|
GetAlgorithmFrameworkList(context.Context, *GetAlgorithmFrameworkListReq) (*GetAlgorithmFrameworkListResp, error)
|
|
DeleteMyAlgorithm(context.Context, *DeleteMyAlgorithmReq) (*DeleteMyAlgorithmResp, error)
|
|
CreateMyAlgorithm(context.Context, *CreateMyAlgorithmReq) (*CreateMyAlgorithmResp, error)
|
|
DownloadAlgorithm(context.Context, *DownloadAlgorithmReq) (*DownloadAlgorithmResp, error)
|
|
DownloadCompress(context.Context, *DownloadCompressReq) (*DownloadCompressResp, error)
|
|
UploadAlgorithm(context.Context, *UploadAlgorithmReq) (*UploadAlgorithmResp, error)
|
|
UploadAlgorithmConfirm(context.Context, *UploadAlgorithmConfirmReq) (*UploadAlgorithmConfirmResp, error)
|
|
// DatasetService
|
|
GetMyDatasetList(context.Context, *GetMyDatasetListReq) (*GetMyDatasetListResp, error)
|
|
GetDatasetVersionList(context.Context, *GetDatasetVersionListReq) (*GetDatasetVersionListResp, error)
|
|
CreateDataSet(context.Context, *CreateDataSetReq) (*CreateDataSetResp, error)
|
|
DeleteDataSet(context.Context, *DeleteDataSetReq) (*DeleteDataSetResp, error)
|
|
UploadDataSet(context.Context, *UploadDataSetReq) (*UploadDataSetResp, error)
|
|
UploadDataSetConfirm(context.Context, *UploadDataSetConfirmReq) (*UploadDataSetConfirmResp, error)
|
|
CreateDataSetVersion(context.Context, *CreateDataSetVersionReq) (*CreateDataSetVersionResp, error)
|
|
DeleteDataSetVersion(context.Context, *DeleteDataSetVersionReq) (*DeleteDataSetVersionResp, error)
|
|
GetDatasetApplyList(context.Context, *GetDatasetApplyListReq) (*GetDatasetApplyListResp, error)
|
|
GetDatasetTypeList(context.Context, *GetDatasetTypeListRep) (*GetDatasetTypeListResp, error)
|
|
// ModelDeployService
|
|
CreateModelDeploy(context.Context, *CreateModelDeployReq) (*CreateModelDeployResp, error)
|
|
GetModelDeployList(context.Context, *GetModelDeployListReq) (*GetModelDeployListResp, error)
|
|
GetModelDeploy(context.Context, *GetModelDeployReq) (*GetModelDeployResp, error)
|
|
GetModelDeployEvent(context.Context, *GetModelDeployEventReq) (*GetModelDeployEventResp, error)
|
|
StopModelDeploy(context.Context, *StopModelDeployReq) (*StopModelDeployResp, error)
|
|
DeleteModelDeploy(context.Context, *DeleteModelDeployReq) (*DeleteModelDeployResp, error)
|
|
InferModelDeploy(context.Context, *InferModelDeployReq) (*InferModelDeployResp, error)
|
|
// Develop
|
|
GetNotebookList(context.Context, *GetNotebookListReq) (*GetNotebookListResp, error)
|
|
GetNotebook(context.Context, *GetNotebookReq) (*GetNotebookResp, error)
|
|
DeleteNotebook(context.Context, *DeleteNotebookReq) (*DeleteNotebookResp, error)
|
|
CreateNotebook(context.Context, *CreateNotebookReq) (*CreateNotebookResp, error)
|
|
StartNotebook(context.Context, *StartNotebookReq) (*StartNotebookResp, error)
|
|
StopNotebook(context.Context, *StopNotebookReq) (*StopNotebookResp, error)
|
|
// ImageService
|
|
GetUserImageList(context.Context, *GetUserImageListReq) (*GetUserImageListResp, error)
|
|
GetPresetImageList(context.Context, *GetPresetImageListReq) (*GetPresetImageListResp, error)
|
|
CreateImage(context.Context, *CreateImageReq) (*CreateImageResp, error)
|
|
DeleteImage(context.Context, *DeleteImageReq) (*DeleteImageResp, error)
|
|
UploadImage(context.Context, *UploadImageReq) (*UploadImageResp, error)
|
|
UploadImageConfirm(context.Context, *UploadImageConfirmReq) (*UploadImageConfirmResp, error)
|
|
// Model
|
|
GetMyModelList(context.Context, *GetMyModelListReq) (*GetMyModelListResp, error)
|
|
GetModelVersionList(context.Context, *GetModelVersionListReq) (*GetModelVersionListResp, error)
|
|
DeleteMyModel(context.Context, *DeleteMyModelReq) (*DeleteMyModelResp, error)
|
|
DeleteModelVersion(context.Context, *DeleteModelVersionReq) (*DeleteModelVersionResp, error)
|
|
DownloadModelVersion(context.Context, *DownloadModelVersionReq) (*DownloadModelVersionResp, error)
|
|
// TrainJobService
|
|
CreateTrainJob(context.Context, *CreateTrainJobReq) (*CreateTrainJobResp, error)
|
|
GetTrainJobList(context.Context, *GetTrainJobListReq) (*GetTrainJobListResp, error)
|
|
GetTrainJob(context.Context, *GetTrainJobReq) (*GetTrainJobResp, error)
|
|
DeleteTrainJob(context.Context, *DeleteTrainJobReq) (*DeleteTrainJobResp, error)
|
|
StopTrainJob(context.Context, *StopTrainJobReq) (*StopTrainJobResp, error)
|
|
GetTrainJobEvent(context.Context, *GetTrainJobEventReq) (*GetTrainJobEventResp, error)
|
|
GetTrainJobMetric(context.Context, *GetTrainJobMetricReq) (*GetTrainJobMetricResp, error)
|
|
GetTrainJobLog(context.Context, *GetTrainJobLogReq) (*GetTrainJobLogResp, error)
|
|
// ResourceSpecService
|
|
GetResourceSpecs(context.Context, *GetResourceSpecsReq) (*GetResourceSpecsResp, error)
|
|
// Billing
|
|
GetUserBalance(context.Context, *GetUserBalanceReq) (*GetUserBalanceResp, error)
|
|
mustEmbedUnimplementedOctopusServer()
|
|
}
|
|
|
|
// UnimplementedOctopusServer must be embedded to have forward compatible implementations.
|
|
type UnimplementedOctopusServer struct {
|
|
}
|
|
|
|
func (UnimplementedOctopusServer) GetComputingPower(context.Context, *ResourceReq) (*CpResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComputingPower not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetGeneralInfo(context.Context, *ResourceReq) (*GiResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetGeneralInfo not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetMyAlgorithmList(context.Context, *GetMyAlgorithmListReq) (*GetMyAlgorithmListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyAlgorithmList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetAlgorithmList(context.Context, *GetAlgorithmListReq) (*GetAlgorithmListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetAlgorithmList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetAlgorithm(context.Context, *GetAlgorithmReq) (*GetAlgorithmResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetAlgorithm not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetAlgorithmApplyList(context.Context, *GetAlgorithmApplyListReq) (*GetAlgorithmApplyListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetAlgorithmApplyList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetAlgorithmFrameworkList(context.Context, *GetAlgorithmFrameworkListReq) (*GetAlgorithmFrameworkListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetAlgorithmFrameworkList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteMyAlgorithm(context.Context, *DeleteMyAlgorithmReq) (*DeleteMyAlgorithmResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteMyAlgorithm not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) CreateMyAlgorithm(context.Context, *CreateMyAlgorithmReq) (*CreateMyAlgorithmResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateMyAlgorithm not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DownloadAlgorithm(context.Context, *DownloadAlgorithmReq) (*DownloadAlgorithmResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DownloadAlgorithm not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DownloadCompress(context.Context, *DownloadCompressReq) (*DownloadCompressResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DownloadCompress not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) UploadAlgorithm(context.Context, *UploadAlgorithmReq) (*UploadAlgorithmResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UploadAlgorithm not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) UploadAlgorithmConfirm(context.Context, *UploadAlgorithmConfirmReq) (*UploadAlgorithmConfirmResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UploadAlgorithmConfirm not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetMyDatasetList(context.Context, *GetMyDatasetListReq) (*GetMyDatasetListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyDatasetList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetDatasetVersionList(context.Context, *GetDatasetVersionListReq) (*GetDatasetVersionListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetDatasetVersionList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) CreateDataSet(context.Context, *CreateDataSetReq) (*CreateDataSetResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateDataSet not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteDataSet(context.Context, *DeleteDataSetReq) (*DeleteDataSetResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteDataSet not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) UploadDataSet(context.Context, *UploadDataSetReq) (*UploadDataSetResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UploadDataSet not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) UploadDataSetConfirm(context.Context, *UploadDataSetConfirmReq) (*UploadDataSetConfirmResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UploadDataSetConfirm not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) CreateDataSetVersion(context.Context, *CreateDataSetVersionReq) (*CreateDataSetVersionResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateDataSetVersion not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteDataSetVersion(context.Context, *DeleteDataSetVersionReq) (*DeleteDataSetVersionResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteDataSetVersion not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetDatasetApplyList(context.Context, *GetDatasetApplyListReq) (*GetDatasetApplyListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetDatasetApplyList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetDatasetTypeList(context.Context, *GetDatasetTypeListRep) (*GetDatasetTypeListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetDatasetTypeList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) CreateModelDeploy(context.Context, *CreateModelDeployReq) (*CreateModelDeployResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateModelDeploy not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetModelDeployList(context.Context, *GetModelDeployListReq) (*GetModelDeployListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetModelDeployList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetModelDeploy(context.Context, *GetModelDeployReq) (*GetModelDeployResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetModelDeploy not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetModelDeployEvent(context.Context, *GetModelDeployEventReq) (*GetModelDeployEventResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetModelDeployEvent not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) StopModelDeploy(context.Context, *StopModelDeployReq) (*StopModelDeployResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method StopModelDeploy not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteModelDeploy(context.Context, *DeleteModelDeployReq) (*DeleteModelDeployResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteModelDeploy not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) InferModelDeploy(context.Context, *InferModelDeployReq) (*InferModelDeployResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method InferModelDeploy not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetNotebookList(context.Context, *GetNotebookListReq) (*GetNotebookListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetNotebookList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetNotebook(context.Context, *GetNotebookReq) (*GetNotebookResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetNotebook not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteNotebook(context.Context, *DeleteNotebookReq) (*DeleteNotebookResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteNotebook not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) CreateNotebook(context.Context, *CreateNotebookReq) (*CreateNotebookResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNotebook not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) StartNotebook(context.Context, *StartNotebookReq) (*StartNotebookResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method StartNotebook not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) StopNotebook(context.Context, *StopNotebookReq) (*StopNotebookResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method StopNotebook not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetUserImageList(context.Context, *GetUserImageListReq) (*GetUserImageListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetUserImageList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetPresetImageList(context.Context, *GetPresetImageListReq) (*GetPresetImageListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPresetImageList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) CreateImage(context.Context, *CreateImageReq) (*CreateImageResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateImage not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteImage(context.Context, *DeleteImageReq) (*DeleteImageResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteImage not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) UploadImage(context.Context, *UploadImageReq) (*UploadImageResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UploadImage not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) UploadImageConfirm(context.Context, *UploadImageConfirmReq) (*UploadImageConfirmResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UploadImageConfirm not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetMyModelList(context.Context, *GetMyModelListReq) (*GetMyModelListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMyModelList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetModelVersionList(context.Context, *GetModelVersionListReq) (*GetModelVersionListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetModelVersionList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteMyModel(context.Context, *DeleteMyModelReq) (*DeleteMyModelResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteMyModel not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteModelVersion(context.Context, *DeleteModelVersionReq) (*DeleteModelVersionResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteModelVersion not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DownloadModelVersion(context.Context, *DownloadModelVersionReq) (*DownloadModelVersionResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DownloadModelVersion not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) CreateTrainJob(context.Context, *CreateTrainJobReq) (*CreateTrainJobResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateTrainJob not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetTrainJobList(context.Context, *GetTrainJobListReq) (*GetTrainJobListResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTrainJobList not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetTrainJob(context.Context, *GetTrainJobReq) (*GetTrainJobResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTrainJob not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) DeleteTrainJob(context.Context, *DeleteTrainJobReq) (*DeleteTrainJobResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteTrainJob not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) StopTrainJob(context.Context, *StopTrainJobReq) (*StopTrainJobResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method StopTrainJob not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetTrainJobEvent(context.Context, *GetTrainJobEventReq) (*GetTrainJobEventResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTrainJobEvent not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetTrainJobMetric(context.Context, *GetTrainJobMetricReq) (*GetTrainJobMetricResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTrainJobMetric not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetTrainJobLog(context.Context, *GetTrainJobLogReq) (*GetTrainJobLogResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTrainJobLog not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetResourceSpecs(context.Context, *GetResourceSpecsReq) (*GetResourceSpecsResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetResourceSpecs not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) GetUserBalance(context.Context, *GetUserBalanceReq) (*GetUserBalanceResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetUserBalance not implemented")
|
|
}
|
|
func (UnimplementedOctopusServer) mustEmbedUnimplementedOctopusServer() {}
|
|
|
|
// UnsafeOctopusServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to OctopusServer will
|
|
// result in compilation errors.
|
|
type UnsafeOctopusServer interface {
|
|
mustEmbedUnimplementedOctopusServer()
|
|
}
|
|
|
|
func RegisterOctopusServer(s grpc.ServiceRegistrar, srv OctopusServer) {
|
|
s.RegisterService(&Octopus_ServiceDesc, srv)
|
|
}
|
|
|
|
func _Octopus_GetComputingPower_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResourceReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetComputingPower(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetComputingPower_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetComputingPower(ctx, req.(*ResourceReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetGeneralInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResourceReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetGeneralInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetGeneralInfo_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetGeneralInfo(ctx, req.(*ResourceReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetMyAlgorithmList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetMyAlgorithmListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetMyAlgorithmList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetMyAlgorithmList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetMyAlgorithmList(ctx, req.(*GetMyAlgorithmListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetAlgorithmList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetAlgorithmListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetAlgorithmList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetAlgorithmList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetAlgorithmList(ctx, req.(*GetAlgorithmListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetAlgorithm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetAlgorithmReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetAlgorithm(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetAlgorithm_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetAlgorithm(ctx, req.(*GetAlgorithmReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetAlgorithmApplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetAlgorithmApplyListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetAlgorithmApplyList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetAlgorithmApplyList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetAlgorithmApplyList(ctx, req.(*GetAlgorithmApplyListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetAlgorithmFrameworkList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetAlgorithmFrameworkListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetAlgorithmFrameworkList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetAlgorithmFrameworkList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetAlgorithmFrameworkList(ctx, req.(*GetAlgorithmFrameworkListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteMyAlgorithm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteMyAlgorithmReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteMyAlgorithm(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteMyAlgorithm_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteMyAlgorithm(ctx, req.(*DeleteMyAlgorithmReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_CreateMyAlgorithm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateMyAlgorithmReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).CreateMyAlgorithm(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_CreateMyAlgorithm_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).CreateMyAlgorithm(ctx, req.(*CreateMyAlgorithmReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DownloadAlgorithm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DownloadAlgorithmReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DownloadAlgorithm(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DownloadAlgorithm_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DownloadAlgorithm(ctx, req.(*DownloadAlgorithmReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DownloadCompress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DownloadCompressReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DownloadCompress(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DownloadCompress_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DownloadCompress(ctx, req.(*DownloadCompressReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_UploadAlgorithm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadAlgorithmReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).UploadAlgorithm(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_UploadAlgorithm_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).UploadAlgorithm(ctx, req.(*UploadAlgorithmReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_UploadAlgorithmConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadAlgorithmConfirmReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).UploadAlgorithmConfirm(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_UploadAlgorithmConfirm_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).UploadAlgorithmConfirm(ctx, req.(*UploadAlgorithmConfirmReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetMyDatasetList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetMyDatasetListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetMyDatasetList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetMyDatasetList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetMyDatasetList(ctx, req.(*GetMyDatasetListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetDatasetVersionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetDatasetVersionListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetDatasetVersionList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetDatasetVersionList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetDatasetVersionList(ctx, req.(*GetDatasetVersionListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_CreateDataSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateDataSetReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).CreateDataSet(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_CreateDataSet_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).CreateDataSet(ctx, req.(*CreateDataSetReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteDataSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteDataSetReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteDataSet(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteDataSet_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteDataSet(ctx, req.(*DeleteDataSetReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_UploadDataSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadDataSetReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).UploadDataSet(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_UploadDataSet_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).UploadDataSet(ctx, req.(*UploadDataSetReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_UploadDataSetConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadDataSetConfirmReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).UploadDataSetConfirm(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_UploadDataSetConfirm_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).UploadDataSetConfirm(ctx, req.(*UploadDataSetConfirmReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_CreateDataSetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateDataSetVersionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).CreateDataSetVersion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_CreateDataSetVersion_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).CreateDataSetVersion(ctx, req.(*CreateDataSetVersionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteDataSetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteDataSetVersionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteDataSetVersion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteDataSetVersion_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteDataSetVersion(ctx, req.(*DeleteDataSetVersionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetDatasetApplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetDatasetApplyListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetDatasetApplyList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetDatasetApplyList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetDatasetApplyList(ctx, req.(*GetDatasetApplyListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetDatasetTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetDatasetTypeListRep)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetDatasetTypeList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetDatasetTypeList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetDatasetTypeList(ctx, req.(*GetDatasetTypeListRep))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_CreateModelDeploy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateModelDeployReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).CreateModelDeploy(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_CreateModelDeploy_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).CreateModelDeploy(ctx, req.(*CreateModelDeployReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetModelDeployList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetModelDeployListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetModelDeployList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetModelDeployList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetModelDeployList(ctx, req.(*GetModelDeployListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetModelDeploy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetModelDeployReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetModelDeploy(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetModelDeploy_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetModelDeploy(ctx, req.(*GetModelDeployReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetModelDeployEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetModelDeployEventReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetModelDeployEvent(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetModelDeployEvent_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetModelDeployEvent(ctx, req.(*GetModelDeployEventReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_StopModelDeploy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StopModelDeployReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).StopModelDeploy(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_StopModelDeploy_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).StopModelDeploy(ctx, req.(*StopModelDeployReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteModelDeploy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteModelDeployReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteModelDeploy(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteModelDeploy_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteModelDeploy(ctx, req.(*DeleteModelDeployReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_InferModelDeploy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(InferModelDeployReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).InferModelDeploy(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_InferModelDeploy_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).InferModelDeploy(ctx, req.(*InferModelDeployReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetNotebookList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetNotebookListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetNotebookList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetNotebookList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetNotebookList(ctx, req.(*GetNotebookListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetNotebookReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetNotebook(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetNotebook_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetNotebook(ctx, req.(*GetNotebookReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteNotebookReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteNotebook(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteNotebook_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteNotebook(ctx, req.(*DeleteNotebookReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_CreateNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateNotebookReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).CreateNotebook(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_CreateNotebook_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).CreateNotebook(ctx, req.(*CreateNotebookReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_StartNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StartNotebookReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).StartNotebook(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_StartNotebook_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).StartNotebook(ctx, req.(*StartNotebookReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_StopNotebook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StopNotebookReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).StopNotebook(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_StopNotebook_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).StopNotebook(ctx, req.(*StopNotebookReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetUserImageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUserImageListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetUserImageList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetUserImageList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetUserImageList(ctx, req.(*GetUserImageListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetPresetImageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPresetImageListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetPresetImageList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetPresetImageList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetPresetImageList(ctx, req.(*GetPresetImageListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_CreateImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateImageReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).CreateImage(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_CreateImage_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).CreateImage(ctx, req.(*CreateImageReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteImageReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteImage(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteImage_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteImage(ctx, req.(*DeleteImageReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_UploadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadImageReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).UploadImage(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_UploadImage_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).UploadImage(ctx, req.(*UploadImageReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_UploadImageConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadImageConfirmReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).UploadImageConfirm(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_UploadImageConfirm_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).UploadImageConfirm(ctx, req.(*UploadImageConfirmReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetMyModelList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetMyModelListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetMyModelList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetMyModelList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetMyModelList(ctx, req.(*GetMyModelListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetModelVersionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetModelVersionListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetModelVersionList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetModelVersionList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetModelVersionList(ctx, req.(*GetModelVersionListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteMyModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteMyModelReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteMyModel(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteMyModel_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteMyModel(ctx, req.(*DeleteMyModelReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteModelVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteModelVersionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteModelVersion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteModelVersion_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteModelVersion(ctx, req.(*DeleteModelVersionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DownloadModelVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DownloadModelVersionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DownloadModelVersion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DownloadModelVersion_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DownloadModelVersion(ctx, req.(*DownloadModelVersionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_CreateTrainJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateTrainJobReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).CreateTrainJob(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_CreateTrainJob_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).CreateTrainJob(ctx, req.(*CreateTrainJobReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetTrainJobList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTrainJobListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetTrainJobList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetTrainJobList_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetTrainJobList(ctx, req.(*GetTrainJobListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetTrainJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTrainJobReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetTrainJob(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetTrainJob_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetTrainJob(ctx, req.(*GetTrainJobReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_DeleteTrainJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteTrainJobReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).DeleteTrainJob(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_DeleteTrainJob_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).DeleteTrainJob(ctx, req.(*DeleteTrainJobReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_StopTrainJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StopTrainJobReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).StopTrainJob(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_StopTrainJob_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).StopTrainJob(ctx, req.(*StopTrainJobReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetTrainJobEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTrainJobEventReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetTrainJobEvent(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetTrainJobEvent_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetTrainJobEvent(ctx, req.(*GetTrainJobEventReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetTrainJobMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTrainJobMetricReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetTrainJobMetric(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetTrainJobMetric_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetTrainJobMetric(ctx, req.(*GetTrainJobMetricReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetTrainJobLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTrainJobLogReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetTrainJobLog(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetTrainJobLog_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetTrainJobLog(ctx, req.(*GetTrainJobLogReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetResourceSpecs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetResourceSpecsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetResourceSpecs(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetResourceSpecs_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetResourceSpecs(ctx, req.(*GetResourceSpecsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Octopus_GetUserBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUserBalanceReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OctopusServer).GetUserBalance(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: Octopus_GetUserBalance_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OctopusServer).GetUserBalance(ctx, req.(*GetUserBalanceReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
// Octopus_ServiceDesc is the grpc.ServiceDesc for Octopus service.
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var Octopus_ServiceDesc = grpc.ServiceDesc{
|
|
ServiceName: "octopus.Octopus",
|
|
HandlerType: (*OctopusServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetComputingPower",
|
|
Handler: _Octopus_GetComputingPower_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGeneralInfo",
|
|
Handler: _Octopus_GetGeneralInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetMyAlgorithmList",
|
|
Handler: _Octopus_GetMyAlgorithmList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetAlgorithmList",
|
|
Handler: _Octopus_GetAlgorithmList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetAlgorithm",
|
|
Handler: _Octopus_GetAlgorithm_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetAlgorithmApplyList",
|
|
Handler: _Octopus_GetAlgorithmApplyList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetAlgorithmFrameworkList",
|
|
Handler: _Octopus_GetAlgorithmFrameworkList_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteMyAlgorithm",
|
|
Handler: _Octopus_DeleteMyAlgorithm_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateMyAlgorithm",
|
|
Handler: _Octopus_CreateMyAlgorithm_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadAlgorithm",
|
|
Handler: _Octopus_DownloadAlgorithm_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadCompress",
|
|
Handler: _Octopus_DownloadCompress_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadAlgorithm",
|
|
Handler: _Octopus_UploadAlgorithm_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadAlgorithmConfirm",
|
|
Handler: _Octopus_UploadAlgorithmConfirm_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetMyDatasetList",
|
|
Handler: _Octopus_GetMyDatasetList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetDatasetVersionList",
|
|
Handler: _Octopus_GetDatasetVersionList_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateDataSet",
|
|
Handler: _Octopus_CreateDataSet_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteDataSet",
|
|
Handler: _Octopus_DeleteDataSet_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadDataSet",
|
|
Handler: _Octopus_UploadDataSet_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadDataSetConfirm",
|
|
Handler: _Octopus_UploadDataSetConfirm_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateDataSetVersion",
|
|
Handler: _Octopus_CreateDataSetVersion_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteDataSetVersion",
|
|
Handler: _Octopus_DeleteDataSetVersion_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetDatasetApplyList",
|
|
Handler: _Octopus_GetDatasetApplyList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetDatasetTypeList",
|
|
Handler: _Octopus_GetDatasetTypeList_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateModelDeploy",
|
|
Handler: _Octopus_CreateModelDeploy_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetModelDeployList",
|
|
Handler: _Octopus_GetModelDeployList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetModelDeploy",
|
|
Handler: _Octopus_GetModelDeploy_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetModelDeployEvent",
|
|
Handler: _Octopus_GetModelDeployEvent_Handler,
|
|
},
|
|
{
|
|
MethodName: "StopModelDeploy",
|
|
Handler: _Octopus_StopModelDeploy_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteModelDeploy",
|
|
Handler: _Octopus_DeleteModelDeploy_Handler,
|
|
},
|
|
{
|
|
MethodName: "InferModelDeploy",
|
|
Handler: _Octopus_InferModelDeploy_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetNotebookList",
|
|
Handler: _Octopus_GetNotebookList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetNotebook",
|
|
Handler: _Octopus_GetNotebook_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteNotebook",
|
|
Handler: _Octopus_DeleteNotebook_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateNotebook",
|
|
Handler: _Octopus_CreateNotebook_Handler,
|
|
},
|
|
{
|
|
MethodName: "StartNotebook",
|
|
Handler: _Octopus_StartNotebook_Handler,
|
|
},
|
|
{
|
|
MethodName: "StopNotebook",
|
|
Handler: _Octopus_StopNotebook_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetUserImageList",
|
|
Handler: _Octopus_GetUserImageList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPresetImageList",
|
|
Handler: _Octopus_GetPresetImageList_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateImage",
|
|
Handler: _Octopus_CreateImage_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteImage",
|
|
Handler: _Octopus_DeleteImage_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadImage",
|
|
Handler: _Octopus_UploadImage_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadImageConfirm",
|
|
Handler: _Octopus_UploadImageConfirm_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetMyModelList",
|
|
Handler: _Octopus_GetMyModelList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetModelVersionList",
|
|
Handler: _Octopus_GetModelVersionList_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteMyModel",
|
|
Handler: _Octopus_DeleteMyModel_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteModelVersion",
|
|
Handler: _Octopus_DeleteModelVersion_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadModelVersion",
|
|
Handler: _Octopus_DownloadModelVersion_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateTrainJob",
|
|
Handler: _Octopus_CreateTrainJob_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTrainJobList",
|
|
Handler: _Octopus_GetTrainJobList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTrainJob",
|
|
Handler: _Octopus_GetTrainJob_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteTrainJob",
|
|
Handler: _Octopus_DeleteTrainJob_Handler,
|
|
},
|
|
{
|
|
MethodName: "StopTrainJob",
|
|
Handler: _Octopus_StopTrainJob_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTrainJobEvent",
|
|
Handler: _Octopus_GetTrainJobEvent_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTrainJobMetric",
|
|
Handler: _Octopus_GetTrainJobMetric_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTrainJobLog",
|
|
Handler: _Octopus_GetTrainJobLog_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetResourceSpecs",
|
|
Handler: _Octopus_GetResourceSpecs_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetUserBalance",
|
|
Handler: _Octopus_GetUserBalance_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "octopus.proto",
|
|
}
|