Documentation ¶
Index ¶
- Constants
- Variables
- func Compute_Power_UploadSceipt_Extend_HTTP_Handler(srv ComputePowerHTTPServer) func(ctx http.Context) error
- func Compute_Powere_DownloadResult_Extend_HTTP_Handler(srv ComputePowerHTTPServer) func(ctx http.Context) error
- func RegisterComputeInstanceHTTPServer(s *http.Server, srv ComputeInstanceHTTPServer)
- func RegisterComputeInstanceServer(s grpc.ServiceRegistrar, srv ComputeInstanceServer)
- func RegisterComputePowerHTTPServer(s *http.Server, srv ComputePowerHTTPServer)
- func RegisterComputePowerServer(s grpc.ServiceRegistrar, srv ComputePowerServer)
- func RegisterStorageHTTPServer(s *http.Server, srv StorageHTTPServer)
- func RegisterStorageServer(s grpc.ServiceRegistrar, srv StorageServer)
- func Storage_DownloadFile_Extend_HTTP_Handler(srv StorageHTTPServer) func(ctx http.Context) error
- func Storage_UploadFile_Extend_HTTP_Handler(srv StorageHTTPServer) func(ctx http.Context) error
- type CancelExecPythonPackageReply
- func (*CancelExecPythonPackageReply) Descriptor() ([]byte, []int)deprecated
- func (x *CancelExecPythonPackageReply) GetExecuteResult() string
- func (x *CancelExecPythonPackageReply) GetExecuteState() int32
- func (x *CancelExecPythonPackageReply) GetId() int32
- func (x *CancelExecPythonPackageReply) GetScriptContent() string
- func (x *CancelExecPythonPackageReply) GetScriptName() string
- func (x *CancelExecPythonPackageReply) GetTaskNumber() int32
- func (*CancelExecPythonPackageReply) ProtoMessage()
- func (x *CancelExecPythonPackageReply) ProtoReflect() protoreflect.Message
- func (x *CancelExecPythonPackageReply) Reset()
- func (x *CancelExecPythonPackageReply) String() string
- type CancelExecPythonPackageRequest
- func (*CancelExecPythonPackageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelExecPythonPackageRequest) GetId() int32
- func (*CancelExecPythonPackageRequest) ProtoMessage()
- func (x *CancelExecPythonPackageRequest) ProtoReflect() protoreflect.Message
- func (x *CancelExecPythonPackageRequest) Reset()
- func (x *CancelExecPythonPackageRequest) String() string
- type ComputeDuration
- func (*ComputeDuration) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeDuration) GetDuration() int32
- func (x *ComputeDuration) GetName() string
- func (*ComputeDuration) ProtoMessage()
- func (x *ComputeDuration) ProtoReflect() protoreflect.Message
- func (x *ComputeDuration) Reset()
- func (x *ComputeDuration) String() string
- type ComputeImage
- func (*ComputeImage) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeImage) GetId() int32
- func (x *ComputeImage) GetImage() string
- func (x *ComputeImage) GetName() string
- func (x *ComputeImage) GetPort() int32
- func (x *ComputeImage) GetTag() string
- func (*ComputeImage) ProtoMessage()
- func (x *ComputeImage) ProtoReflect() protoreflect.Message
- func (x *ComputeImage) Reset()
- func (x *ComputeImage) String() string
- type ComputeInstanceClient
- type ComputeInstanceHTTPClient
- type ComputeInstanceHTTPClientImpl
- func (c *ComputeInstanceHTTPClientImpl) Create(ctx context.Context, in *CreateInstanceRequest, opts ...http.CallOption) (*CreateInstanceReply, error)
- func (c *ComputeInstanceHTTPClientImpl) Delete(ctx context.Context, in *DeleteInstanceRequest, opts ...http.CallOption) (*DeleteInstanceReply, error)
- func (c *ComputeInstanceHTTPClientImpl) Get(ctx context.Context, in *GetInstanceRequest, opts ...http.CallOption) (*GetInstanceReply, error)
- func (c *ComputeInstanceHTTPClientImpl) List(ctx context.Context, in *ListInstanceRequest, opts ...http.CallOption) (*ListInstanceReply, error)
- func (c *ComputeInstanceHTTPClientImpl) ListComputeImage(ctx context.Context, in *ListComputeImageRequest, opts ...http.CallOption) (*ListComputeImageReply, error)
- func (c *ComputeInstanceHTTPClientImpl) ListComputeInstanceDuration(ctx context.Context, in *ListComputeDurationRequest, opts ...http.CallOption) (*ListComputeDurationReply, error)
- func (c *ComputeInstanceHTTPClientImpl) ListComputeSpec(ctx context.Context, in *ListComputeSpecRequest, opts ...http.CallOption) (*ListComputeSpecReply, error)
- func (c *ComputeInstanceHTTPClientImpl) StartInstance(ctx context.Context, in *GetInstanceRequest, opts ...http.CallOption) (*StartInstanceReply, error)
- func (c *ComputeInstanceHTTPClientImpl) StopInstance(ctx context.Context, in *GetInstanceRequest, opts ...http.CallOption) (*StopInstanceReply, error)
- type ComputeInstanceHTTPServer
- type ComputeInstanceServer
- type ComputePowerClient
- type ComputePowerHTTPClient
- type ComputePowerHTTPClientImpl
- func (c *ComputePowerHTTPClientImpl) CancelExecPythonPackage(ctx context.Context, in *CancelExecPythonPackageRequest, ...) (*CancelExecPythonPackageReply, error)
- func (c *ComputePowerHTTPClientImpl) DownloadScriptExecuteResult(ctx context.Context, in *DownloadScriptExecuteResultRequest, ...) (*DownloadScriptExecuteResultReply, error)
- func (c *ComputePowerHTTPClientImpl) GetScriptInfo(ctx context.Context, in *GetScriptInfoRequest, opts ...http.CallOption) (*GetScriptInfoReply, error)
- func (c *ComputePowerHTTPClientImpl) GetScriptList(ctx context.Context, in *GetScriptListRequest, opts ...http.CallOption) (*GetScriptListReply, error)
- func (c *ComputePowerHTTPClientImpl) RunPythonPackage(ctx context.Context, in *RunPythonPackageServerRequest, ...) (*RunPythonPackageServerReply, error)
- func (c *ComputePowerHTTPClientImpl) UploadScriptFile(ctx context.Context, in *UploadScriptFileRequest, opts ...http.CallOption) (*UploadScriptFileReply, error)
- type ComputePowerHTTPServer
- type ComputePowerServer
- type ComputeSpec
- func (*ComputeSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeSpec) GetCore() string
- func (x *ComputeSpec) GetId() int32
- func (x *ComputeSpec) GetMemory() string
- func (*ComputeSpec) ProtoMessage()
- func (x *ComputeSpec) ProtoReflect() protoreflect.Message
- func (x *ComputeSpec) Reset()
- func (x *ComputeSpec) String() string
- type CreateDirReply
- func (*CreateDirReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDirReply) GetCode() int32
- func (x *CreateDirReply) GetData() *CreateDirReply_Data
- func (x *CreateDirReply) GetMessage() string
- func (*CreateDirReply) ProtoMessage()
- func (x *CreateDirReply) ProtoReflect() protoreflect.Message
- func (x *CreateDirReply) Reset()
- func (x *CreateDirReply) String() string
- type CreateDirReply_Data
- func (*CreateDirReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDirReply_Data) GetId() string
- func (*CreateDirReply_Data) ProtoMessage()
- func (x *CreateDirReply_Data) ProtoReflect() protoreflect.Message
- func (x *CreateDirReply_Data) Reset()
- func (x *CreateDirReply_Data) String() string
- type CreateDirRequest
- func (*CreateDirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDirRequest) GetName() string
- func (x *CreateDirRequest) GetParentId() string
- func (*CreateDirRequest) ProtoMessage()
- func (x *CreateDirRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDirRequest) Reset()
- func (x *CreateDirRequest) String() string
- type CreateInstanceReply
- func (*CreateInstanceReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceReply) GetCode() int32
- func (x *CreateInstanceReply) GetData() *CreateInstanceReply_Data
- func (x *CreateInstanceReply) GetMessage() string
- func (*CreateInstanceReply) ProtoMessage()
- func (x *CreateInstanceReply) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceReply) Reset()
- func (x *CreateInstanceReply) String() string
- type CreateInstanceReply_Data
- func (*CreateInstanceReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceReply_Data) GetId() string
- func (x *CreateInstanceReply_Data) GetName() string
- func (*CreateInstanceReply_Data) ProtoMessage()
- func (x *CreateInstanceReply_Data) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceReply_Data) Reset()
- func (x *CreateInstanceReply_Data) String() string
- type CreateInstanceRequest
- func (*CreateInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceRequest) GetDuration() int32
- func (x *CreateInstanceRequest) GetImageId() int32
- func (x *CreateInstanceRequest) GetName() string
- func (x *CreateInstanceRequest) GetSpecId() int32
- func (*CreateInstanceRequest) ProtoMessage()
- func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceRequest) Reset()
- func (x *CreateInstanceRequest) String() string
- type DeleteInstanceReply
- func (*DeleteInstanceReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstanceReply) GetCode() int32
- func (x *DeleteInstanceReply) GetMessage() string
- func (*DeleteInstanceReply) ProtoMessage()
- func (x *DeleteInstanceReply) ProtoReflect() protoreflect.Message
- func (x *DeleteInstanceReply) Reset()
- func (x *DeleteInstanceReply) String() string
- type DeleteInstanceRequest
- func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstanceRequest) GetId() string
- func (*DeleteInstanceRequest) ProtoMessage()
- func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInstanceRequest) Reset()
- func (x *DeleteInstanceRequest) String() string
- type DeleteReply
- type DeleteRequest
- type DownloadReply
- func (*DownloadReply) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadReply) GetCode() int32
- func (x *DownloadReply) GetData() *DownloadReply_Data
- func (x *DownloadReply) GetMessage() string
- func (*DownloadReply) ProtoMessage()
- func (x *DownloadReply) ProtoReflect() protoreflect.Message
- func (x *DownloadReply) Reset()
- func (x *DownloadReply) String() string
- type DownloadReply_Data
- func (*DownloadReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadReply_Data) GetBody() []byte
- func (x *DownloadReply_Data) GetName() string
- func (*DownloadReply_Data) ProtoMessage()
- func (x *DownloadReply_Data) ProtoReflect() protoreflect.Message
- func (x *DownloadReply_Data) Reset()
- func (x *DownloadReply_Data) String() string
- type DownloadRequest
- type DownloadScriptExecuteResultReply
- func (*DownloadScriptExecuteResultReply) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadScriptExecuteResultReply) GetBody() []byte
- func (x *DownloadScriptExecuteResultReply) GetName() string
- func (*DownloadScriptExecuteResultReply) ProtoMessage()
- func (x *DownloadScriptExecuteResultReply) ProtoReflect() protoreflect.Message
- func (x *DownloadScriptExecuteResultReply) Reset()
- func (x *DownloadScriptExecuteResultReply) String() string
- type DownloadScriptExecuteResultRequest
- func (*DownloadScriptExecuteResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadScriptExecuteResultRequest) GetId() int32
- func (*DownloadScriptExecuteResultRequest) ProtoMessage()
- func (x *DownloadScriptExecuteResultRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadScriptExecuteResultRequest) Reset()
- func (x *DownloadScriptExecuteResultRequest) String() string
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetCid() string
- func (x *File) GetId() string
- func (x *File) GetLastModify() int64
- func (x *File) GetName() string
- func (x *File) GetSize() int32
- func (x *File) GetType() FileType
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type FileType
- type GetInstanceReply
- func (*GetInstanceReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceReply) GetCode() int32
- func (x *GetInstanceReply) GetData() *Instance
- func (x *GetInstanceReply) GetMessage() string
- func (*GetInstanceReply) ProtoMessage()
- func (x *GetInstanceReply) ProtoReflect() protoreflect.Message
- func (x *GetInstanceReply) Reset()
- func (x *GetInstanceReply) String() string
- type GetInstanceRequest
- type GetScriptInfoReply
- func (*GetScriptInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetScriptInfoReply) GetExecuteResult() string
- func (x *GetScriptInfoReply) GetExecuteState() int32
- func (x *GetScriptInfoReply) GetId() int32
- func (x *GetScriptInfoReply) GetScriptContent() string
- func (x *GetScriptInfoReply) GetScriptName() string
- func (x *GetScriptInfoReply) GetTaskNumber() int32
- func (*GetScriptInfoReply) ProtoMessage()
- func (x *GetScriptInfoReply) ProtoReflect() protoreflect.Message
- func (x *GetScriptInfoReply) Reset()
- func (x *GetScriptInfoReply) String() string
- type GetScriptInfoRequest
- func (*GetScriptInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetScriptInfoRequest) GetId() int32
- func (*GetScriptInfoRequest) ProtoMessage()
- func (x *GetScriptInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetScriptInfoRequest) Reset()
- func (x *GetScriptInfoRequest) String() string
- type GetScriptListReply
- func (*GetScriptListReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetScriptListReply) GetList() []*UploadScriptFileReply
- func (x *GetScriptListReply) GetPage() int32
- func (x *GetScriptListReply) GetSize() int32
- func (x *GetScriptListReply) GetTotal() int32
- func (*GetScriptListReply) ProtoMessage()
- func (x *GetScriptListReply) ProtoReflect() protoreflect.Message
- func (x *GetScriptListReply) Reset()
- func (x *GetScriptListReply) String() string
- type GetScriptListRequest
- func (*GetScriptListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetScriptListRequest) GetPage() int32
- func (x *GetScriptListRequest) GetSize() int32
- func (*GetScriptListRequest) ProtoMessage()
- func (x *GetScriptListRequest) ProtoReflect() protoreflect.Message
- func (x *GetScriptListRequest) Reset()
- func (x *GetScriptListRequest) String() string
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetCore() string
- func (x *Instance) GetExpirationTime() int64
- func (x *Instance) GetId() string
- func (x *Instance) GetImageName() string
- func (x *Instance) GetMemory() string
- func (x *Instance) GetName() string
- func (x *Instance) GetStats() []*InstanceStats
- func (x *Instance) GetStatus() int32
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) String() string
- type InstanceStats
- func (*InstanceStats) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceStats) GetCpuUsage() uint64
- func (x *InstanceStats) GetId() string
- func (x *InstanceStats) GetMemoryUsage() uint64
- func (x *InstanceStats) GetStatsTime() int64
- func (*InstanceStats) ProtoMessage()
- func (x *InstanceStats) ProtoReflect() protoreflect.Message
- func (x *InstanceStats) Reset()
- func (x *InstanceStats) String() string
- type ListComputeDurationReply
- func (*ListComputeDurationReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListComputeDurationReply) GetCode() int32
- func (x *ListComputeDurationReply) GetData() []*ComputeDuration
- func (x *ListComputeDurationReply) GetMessage() string
- func (*ListComputeDurationReply) ProtoMessage()
- func (x *ListComputeDurationReply) ProtoReflect() protoreflect.Message
- func (x *ListComputeDurationReply) Reset()
- func (x *ListComputeDurationReply) String() string
- type ListComputeDurationRequest
- type ListComputeImageReply
- func (*ListComputeImageReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListComputeImageReply) GetCode() int32
- func (x *ListComputeImageReply) GetData() []*ComputeImage
- func (x *ListComputeImageReply) GetMessage() string
- func (*ListComputeImageReply) ProtoMessage()
- func (x *ListComputeImageReply) ProtoReflect() protoreflect.Message
- func (x *ListComputeImageReply) Reset()
- func (x *ListComputeImageReply) String() string
- type ListComputeImageRequest
- type ListComputeSpecReply
- func (*ListComputeSpecReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListComputeSpecReply) GetCode() int32
- func (x *ListComputeSpecReply) GetData() []*ComputeSpec
- func (x *ListComputeSpecReply) GetMessage() string
- func (*ListComputeSpecReply) ProtoMessage()
- func (x *ListComputeSpecReply) ProtoReflect() protoreflect.Message
- func (x *ListComputeSpecReply) Reset()
- func (x *ListComputeSpecReply) String() string
- type ListComputeSpecRequest
- type ListInstanceReply
- func (*ListInstanceReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceReply) GetCode() int32
- func (x *ListInstanceReply) GetData() []*Instance
- func (x *ListInstanceReply) GetMessage() string
- func (*ListInstanceReply) ProtoMessage()
- func (x *ListInstanceReply) ProtoReflect() protoreflect.Message
- func (x *ListInstanceReply) Reset()
- func (x *ListInstanceReply) String() string
- type ListInstanceRequest
- type ListReply
- func (*ListReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListReply) GetCode() int32
- func (x *ListReply) GetData() []*File
- func (x *ListReply) GetMessage() string
- func (*ListReply) ProtoMessage()
- func (x *ListReply) ProtoReflect() protoreflect.Message
- func (x *ListReply) Reset()
- func (x *ListReply) String() string
- type ListRequest
- type PortBinding
- func (*PortBinding) Descriptor() ([]byte, []int)deprecated
- func (x *PortBinding) GetListenPort() string
- func (x *PortBinding) GetTargetPort() string
- func (*PortBinding) ProtoMessage()
- func (x *PortBinding) ProtoReflect() protoreflect.Message
- func (x *PortBinding) Reset()
- func (x *PortBinding) String() string
- type RunPythonPackageServerReply
- func (*RunPythonPackageServerReply) Descriptor() ([]byte, []int)deprecated
- func (x *RunPythonPackageServerReply) GetExecuteResult() string
- func (x *RunPythonPackageServerReply) GetExecuteState() int32
- func (x *RunPythonPackageServerReply) GetId() int32
- func (x *RunPythonPackageServerReply) GetScriptContent() string
- func (x *RunPythonPackageServerReply) GetScriptName() string
- func (x *RunPythonPackageServerReply) GetTaskNumber() int32
- func (*RunPythonPackageServerReply) ProtoMessage()
- func (x *RunPythonPackageServerReply) ProtoReflect() protoreflect.Message
- func (x *RunPythonPackageServerReply) Reset()
- func (x *RunPythonPackageServerReply) String() string
- type RunPythonPackageServerRequest
- func (*RunPythonPackageServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunPythonPackageServerRequest) GetId() int32
- func (*RunPythonPackageServerRequest) ProtoMessage()
- func (x *RunPythonPackageServerRequest) ProtoReflect() protoreflect.Message
- func (x *RunPythonPackageServerRequest) Reset()
- func (x *RunPythonPackageServerRequest) String() string
- type StartInstanceReply
- func (*StartInstanceReply) Descriptor() ([]byte, []int)deprecated
- func (x *StartInstanceReply) GetCode() int32
- func (x *StartInstanceReply) GetMessage() string
- func (*StartInstanceReply) ProtoMessage()
- func (x *StartInstanceReply) ProtoReflect() protoreflect.Message
- func (x *StartInstanceReply) Reset()
- func (x *StartInstanceReply) String() string
- type StopInstanceReply
- func (*StopInstanceReply) Descriptor() ([]byte, []int)deprecated
- func (x *StopInstanceReply) GetCode() int32
- func (x *StopInstanceReply) GetMessage() string
- func (*StopInstanceReply) ProtoMessage()
- func (x *StopInstanceReply) ProtoReflect() protoreflect.Message
- func (x *StopInstanceReply) Reset()
- func (x *StopInstanceReply) String() string
- type StorageClient
- type StorageHTTPClient
- type StorageHTTPClientImpl
- func (c *StorageHTTPClientImpl) CreateDir(ctx context.Context, in *CreateDirRequest, opts ...http.CallOption) (*CreateDirReply, error)
- func (c *StorageHTTPClientImpl) Delete(ctx context.Context, in *DeleteRequest, opts ...http.CallOption) (*DeleteReply, error)
- func (c *StorageHTTPClientImpl) Download(ctx context.Context, in *DownloadRequest, opts ...http.CallOption) (*DownloadReply, error)
- func (c *StorageHTTPClientImpl) List(ctx context.Context, in *ListRequest, opts ...http.CallOption) (*ListReply, error)
- func (c *StorageHTTPClientImpl) UploadFile(ctx context.Context, in *UploadFileRequest, opts ...http.CallOption) (*UploadFileReply, error)
- type StorageHTTPServer
- type StorageServer
- type UnimplementedComputeInstanceServer
- func (UnimplementedComputeInstanceServer) Create(context.Context, *CreateInstanceRequest) (*CreateInstanceReply, error)
- func (UnimplementedComputeInstanceServer) Delete(context.Context, *DeleteInstanceRequest) (*DeleteInstanceReply, error)
- func (UnimplementedComputeInstanceServer) Get(context.Context, *GetInstanceRequest) (*GetInstanceReply, error)
- func (UnimplementedComputeInstanceServer) List(context.Context, *ListInstanceRequest) (*ListInstanceReply, error)
- func (UnimplementedComputeInstanceServer) ListComputeImage(context.Context, *ListComputeImageRequest) (*ListComputeImageReply, error)
- func (UnimplementedComputeInstanceServer) ListComputeInstanceDuration(context.Context, *ListComputeDurationRequest) (*ListComputeDurationReply, error)
- func (UnimplementedComputeInstanceServer) ListComputeSpec(context.Context, *ListComputeSpecRequest) (*ListComputeSpecReply, error)
- func (UnimplementedComputeInstanceServer) StartInstance(context.Context, *GetInstanceRequest) (*StartInstanceReply, error)
- func (UnimplementedComputeInstanceServer) StopInstance(context.Context, *GetInstanceRequest) (*StopInstanceReply, error)
- type UnimplementedComputePowerServer
- func (UnimplementedComputePowerServer) CancelExecPythonPackage(context.Context, *CancelExecPythonPackageRequest) (*CancelExecPythonPackageReply, error)
- func (UnimplementedComputePowerServer) DownloadScriptExecuteResult(context.Context, *DownloadScriptExecuteResultRequest) (*DownloadScriptExecuteResultReply, error)
- func (UnimplementedComputePowerServer) GetScriptInfo(context.Context, *GetScriptInfoRequest) (*GetScriptInfoReply, error)
- func (UnimplementedComputePowerServer) GetScriptList(context.Context, *GetScriptListRequest) (*GetScriptListReply, error)
- func (UnimplementedComputePowerServer) RunPythonPackage(context.Context, *RunPythonPackageServerRequest) (*RunPythonPackageServerReply, error)
- func (UnimplementedComputePowerServer) UploadScriptFile(context.Context, *UploadScriptFileRequest) (*UploadScriptFileReply, error)
- type UnimplementedStorageServer
- func (UnimplementedStorageServer) CreateDir(context.Context, *CreateDirRequest) (*CreateDirReply, error)
- func (UnimplementedStorageServer) Delete(context.Context, *DeleteRequest) (*DeleteReply, error)
- func (UnimplementedStorageServer) Download(context.Context, *DownloadRequest) (*DownloadReply, error)
- func (UnimplementedStorageServer) List(context.Context, *ListRequest) (*ListReply, error)
- func (UnimplementedStorageServer) UploadFile(context.Context, *UploadFileRequest) (*UploadFileReply, error)
- type UnsafeComputeInstanceServer
- type UnsafeComputePowerServer
- type UnsafeStorageServer
- type UploadFileReply
- func (*UploadFileReply) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFileReply) GetCode() int32
- func (x *UploadFileReply) GetData() *File
- func (x *UploadFileReply) GetMessage() string
- func (*UploadFileReply) ProtoMessage()
- func (x *UploadFileReply) ProtoReflect() protoreflect.Message
- func (x *UploadFileReply) Reset()
- func (x *UploadFileReply) String() string
- type UploadFileRequest
- func (*UploadFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFileRequest) GetBody() []byte
- func (x *UploadFileRequest) GetName() string
- func (x *UploadFileRequest) GetParentId() string
- func (*UploadFileRequest) ProtoMessage()
- func (x *UploadFileRequest) ProtoReflect() protoreflect.Message
- func (x *UploadFileRequest) Reset()
- func (x *UploadFileRequest) String() string
- type UploadScriptFileReply
- func (*UploadScriptFileReply) Descriptor() ([]byte, []int)deprecated
- func (x *UploadScriptFileReply) GetExecuteState() int32
- func (x *UploadScriptFileReply) GetId() int32
- func (x *UploadScriptFileReply) GetScriptContent() string
- func (x *UploadScriptFileReply) GetScriptName() string
- func (x *UploadScriptFileReply) GetTaskNumber() int32
- func (*UploadScriptFileReply) ProtoMessage()
- func (x *UploadScriptFileReply) ProtoReflect() protoreflect.Message
- func (x *UploadScriptFileReply) Reset()
- func (x *UploadScriptFileReply) String() string
- type UploadScriptFileRequest
- func (*UploadScriptFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadScriptFileRequest) GetBody() []byte
- func (x *UploadScriptFileRequest) GetName() string
- func (*UploadScriptFileRequest) ProtoMessage()
- func (x *UploadScriptFileRequest) ProtoReflect() protoreflect.Message
- func (x *UploadScriptFileRequest) Reset()
- func (x *UploadScriptFileRequest) String() string
Constants ¶
const ( ComputeInstance_ListComputeSpec_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/ListComputeSpec" ComputeInstance_ListComputeImage_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/ListComputeImage" ComputeInstance_ListComputeInstanceDuration_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/ListComputeInstanceDuration" ComputeInstance_Create_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/Create" ComputeInstance_Delete_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/Delete" ComputeInstance_Get_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/Get" ComputeInstance_List_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/List" ComputeInstance_StopInstance_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/StopInstance" ComputeInstance_StartInstance_FullMethodName = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/StartInstance" )
const ( ComputePower_UploadScriptFile_FullMethodName = "/api.compute.v1.ComputePower/UploadScriptFile" ComputePower_GetScriptList_FullMethodName = "/api.compute.v1.ComputePower/GetScriptList" ComputePower_RunPythonPackage_FullMethodName = "/api.compute.v1.ComputePower/RunPythonPackage" ComputePower_CancelExecPythonPackage_FullMethodName = "/api.compute.v1.ComputePower/CancelExecPythonPackage" ComputePower_GetScriptInfo_FullMethodName = "/api.compute.v1.ComputePower/GetScriptInfo" ComputePower_DownloadScriptExecuteResult_FullMethodName = "/api.compute.v1.ComputePower/DownloadScriptExecuteResult" )
const ( Storage_List_FullMethodName = "/api.compute.v1.Storage/List" Storage_UploadFile_FullMethodName = "/api.compute.v1.Storage/UploadFile" Storage_CreateDir_FullMethodName = "/api.compute.v1.Storage/CreateDir" Storage_Download_FullMethodName = "/api.compute.v1.Storage/Download" Storage_Delete_FullMethodName = "/api.compute.v1.Storage/Delete" )
const OperationComputeInstanceCreate = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/Create"
const OperationComputeInstanceDelete = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/Delete"
const OperationComputeInstanceGet = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/Get"
const OperationComputeInstanceList = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/List"
const OperationComputeInstanceListComputeImage = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/ListComputeImage"
const OperationComputeInstanceListComputeInstanceDuration = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/ListComputeInstanceDuration"
const OperationComputeInstanceListComputeSpec = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/ListComputeSpec"
const OperationComputeInstanceStartInstance = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/StartInstance"
const OperationComputeInstanceStopInstance = "/github.com.mohaijiang.api.compute.v1.ComputeInstance/StopInstance"
const OperationComputePowerCancelExecPythonPackage = "/api.compute.v1.ComputePower/CancelExecPythonPackage"
const OperationComputePowerDownloadScriptExecuteResult = "/api.compute.v1.ComputePower/DownloadScriptExecuteResult"
const OperationComputePowerGetScriptInfo = "/api.compute.v1.ComputePower/GetScriptInfo"
const OperationComputePowerGetScriptList = "/api.compute.v1.ComputePower/GetScriptList"
const OperationComputePowerRunPythonPackage = "/api.compute.v1.ComputePower/RunPythonPackage"
const OperationComputePowerUploadScriptFile = "/api.compute.v1.ComputePower/UploadScriptFile"
const OperationStorageCreateDir = "/api.compute.v1.Storage/CreateDir"
const OperationStorageDelete = "/api.compute.v1.Storage/Delete"
const OperationStorageDownload = "/api.compute.v1.Storage/Download"
const OperationStorageList = "/api.compute.v1.Storage/List"
const OperationStorageUploadFile = "/api.compute.v1.Storage/UploadFile"
Variables ¶
var ( FileType_name = map[int32]string{ 0: "DIR", 1: "FILE", } FileType_value = map[string]int32{ "DIR": 0, "FILE": 1, } )
Enum value maps for FileType.
var ComputeInstance_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.mohaijiang.api.compute.v1.ComputeInstance", HandlerType: (*ComputeInstanceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListComputeSpec", Handler: _ComputeInstance_ListComputeSpec_Handler, }, { MethodName: "ListComputeImage", Handler: _ComputeInstance_ListComputeImage_Handler, }, { MethodName: "ListComputeInstanceDuration", Handler: _ComputeInstance_ListComputeInstanceDuration_Handler, }, { MethodName: "Create", Handler: _ComputeInstance_Create_Handler, }, { MethodName: "Delete", Handler: _ComputeInstance_Delete_Handler, }, { MethodName: "Get", Handler: _ComputeInstance_Get_Handler, }, { MethodName: "List", Handler: _ComputeInstance_List_Handler, }, { MethodName: "StopInstance", Handler: _ComputeInstance_StopInstance_Handler, }, { MethodName: "StartInstance", Handler: _ComputeInstance_StartInstance_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/compute/v1/compute_instance.proto", }
ComputeInstance_ServiceDesc is the grpc.ServiceDesc for ComputeInstance service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ComputePower_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.compute.v1.ComputePower", HandlerType: (*ComputePowerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UploadScriptFile", Handler: _ComputePower_UploadScriptFile_Handler, }, { MethodName: "GetScriptList", Handler: _ComputePower_GetScriptList_Handler, }, { MethodName: "RunPythonPackage", Handler: _ComputePower_RunPythonPackage_Handler, }, { MethodName: "CancelExecPythonPackage", Handler: _ComputePower_CancelExecPythonPackage_Handler, }, { MethodName: "GetScriptInfo", Handler: _ComputePower_GetScriptInfo_Handler, }, { MethodName: "DownloadScriptExecuteResult", Handler: _ComputePower_DownloadScriptExecuteResult_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "compute/v1/compute_power.proto", }
ComputePower_ServiceDesc is the grpc.ServiceDesc for ComputePower service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_compute_v1_compute_instance_proto protoreflect.FileDescriptor
var File_compute_v1_compute_power_proto protoreflect.FileDescriptor
var File_compute_v1_storage_proto protoreflect.FileDescriptor
var Storage_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.compute.v1.Storage", HandlerType: (*StorageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Storage_List_Handler, }, { MethodName: "UploadFile", Handler: _Storage_UploadFile_Handler, }, { MethodName: "CreateDir", Handler: _Storage_CreateDir_Handler, }, { MethodName: "Download", Handler: _Storage_Download_Handler, }, { MethodName: "Delete", Handler: _Storage_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "compute/v1/storage.proto", }
Storage_ServiceDesc is the grpc.ServiceDesc for Storage service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func Compute_Power_UploadSceipt_Extend_HTTP_Handler ¶ added in v0.0.3
func Compute_Power_UploadSceipt_Extend_HTTP_Handler(srv ComputePowerHTTPServer) func(ctx http.Context) error
func Compute_Powere_DownloadResult_Extend_HTTP_Handler ¶ added in v0.0.3
func Compute_Powere_DownloadResult_Extend_HTTP_Handler(srv ComputePowerHTTPServer) func(ctx http.Context) error
func RegisterComputeInstanceHTTPServer ¶ added in v0.0.2
func RegisterComputeInstanceHTTPServer(s *http.Server, srv ComputeInstanceHTTPServer)
func RegisterComputeInstanceServer ¶ added in v0.0.2
func RegisterComputeInstanceServer(s grpc.ServiceRegistrar, srv ComputeInstanceServer)
func RegisterComputePowerHTTPServer ¶ added in v0.0.3
func RegisterComputePowerHTTPServer(s *http.Server, srv ComputePowerHTTPServer)
func RegisterComputePowerServer ¶ added in v0.0.3
func RegisterComputePowerServer(s grpc.ServiceRegistrar, srv ComputePowerServer)
func RegisterStorageHTTPServer ¶
func RegisterStorageHTTPServer(s *http.Server, srv StorageHTTPServer)
func RegisterStorageServer ¶
func RegisterStorageServer(s grpc.ServiceRegistrar, srv StorageServer)
func Storage_DownloadFile_Extend_HTTP_Handler ¶
func Storage_DownloadFile_Extend_HTTP_Handler(srv StorageHTTPServer) func(ctx http.Context) error
func Storage_UploadFile_Extend_HTTP_Handler ¶
func Storage_UploadFile_Extend_HTTP_Handler(srv StorageHTTPServer) func(ctx http.Context) error
Types ¶
type CancelExecPythonPackageReply ¶ added in v0.0.3
type CancelExecPythonPackageReply struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TaskNumber int32 `protobuf:"varint,2,opt,name=taskNumber,proto3" json:"taskNumber,omitempty"` ScriptName string `protobuf:"bytes,3,opt,name=scriptName,proto3" json:"scriptName,omitempty"` ScriptContent string `protobuf:"bytes,4,opt,name=scriptContent,proto3" json:"scriptContent,omitempty"` ExecuteState int32 `protobuf:"varint,5,opt,name=executeState,proto3" json:"executeState,omitempty"` ExecuteResult string `protobuf:"bytes,6,opt,name=executeResult,proto3" json:"executeResult,omitempty"` // contains filtered or unexported fields }
func (*CancelExecPythonPackageReply) Descriptor
deprecated
added in
v0.0.3
func (*CancelExecPythonPackageReply) Descriptor() ([]byte, []int)
Deprecated: Use CancelExecPythonPackageReply.ProtoReflect.Descriptor instead.
func (*CancelExecPythonPackageReply) GetExecuteResult ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) GetExecuteResult() string
func (*CancelExecPythonPackageReply) GetExecuteState ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) GetExecuteState() int32
func (*CancelExecPythonPackageReply) GetId ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) GetId() int32
func (*CancelExecPythonPackageReply) GetScriptContent ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) GetScriptContent() string
func (*CancelExecPythonPackageReply) GetScriptName ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) GetScriptName() string
func (*CancelExecPythonPackageReply) GetTaskNumber ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) GetTaskNumber() int32
func (*CancelExecPythonPackageReply) ProtoMessage ¶ added in v0.0.3
func (*CancelExecPythonPackageReply) ProtoMessage()
func (*CancelExecPythonPackageReply) ProtoReflect ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) ProtoReflect() protoreflect.Message
func (*CancelExecPythonPackageReply) Reset ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) Reset()
func (*CancelExecPythonPackageReply) String ¶ added in v0.0.3
func (x *CancelExecPythonPackageReply) String() string
type CancelExecPythonPackageRequest ¶ added in v0.0.3
type CancelExecPythonPackageRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CancelExecPythonPackageRequest) Descriptor
deprecated
added in
v0.0.3
func (*CancelExecPythonPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelExecPythonPackageRequest.ProtoReflect.Descriptor instead.
func (*CancelExecPythonPackageRequest) GetId ¶ added in v0.0.3
func (x *CancelExecPythonPackageRequest) GetId() int32
func (*CancelExecPythonPackageRequest) ProtoMessage ¶ added in v0.0.3
func (*CancelExecPythonPackageRequest) ProtoMessage()
func (*CancelExecPythonPackageRequest) ProtoReflect ¶ added in v0.0.3
func (x *CancelExecPythonPackageRequest) ProtoReflect() protoreflect.Message
func (*CancelExecPythonPackageRequest) Reset ¶ added in v0.0.3
func (x *CancelExecPythonPackageRequest) Reset()
func (*CancelExecPythonPackageRequest) String ¶ added in v0.0.3
func (x *CancelExecPythonPackageRequest) String() string
type ComputeDuration ¶ added in v0.0.3
type ComputeDuration struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Duration int32 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*ComputeDuration) Descriptor
deprecated
added in
v0.0.3
func (*ComputeDuration) Descriptor() ([]byte, []int)
Deprecated: Use ComputeDuration.ProtoReflect.Descriptor instead.
func (*ComputeDuration) GetDuration ¶ added in v0.0.3
func (x *ComputeDuration) GetDuration() int32
func (*ComputeDuration) GetName ¶ added in v0.0.3
func (x *ComputeDuration) GetName() string
func (*ComputeDuration) ProtoMessage ¶ added in v0.0.3
func (*ComputeDuration) ProtoMessage()
func (*ComputeDuration) ProtoReflect ¶ added in v0.0.3
func (x *ComputeDuration) ProtoReflect() protoreflect.Message
func (*ComputeDuration) Reset ¶ added in v0.0.3
func (x *ComputeDuration) Reset()
func (*ComputeDuration) String ¶ added in v0.0.3
func (x *ComputeDuration) String() string
type ComputeImage ¶ added in v0.0.3
type ComputeImage struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Port int32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*ComputeImage) Descriptor
deprecated
added in
v0.0.3
func (*ComputeImage) Descriptor() ([]byte, []int)
Deprecated: Use ComputeImage.ProtoReflect.Descriptor instead.
func (*ComputeImage) GetId ¶ added in v0.0.3
func (x *ComputeImage) GetId() int32
func (*ComputeImage) GetImage ¶ added in v0.0.3
func (x *ComputeImage) GetImage() string
func (*ComputeImage) GetName ¶ added in v0.0.3
func (x *ComputeImage) GetName() string
func (*ComputeImage) GetPort ¶ added in v0.0.3
func (x *ComputeImage) GetPort() int32
func (*ComputeImage) GetTag ¶ added in v0.0.3
func (x *ComputeImage) GetTag() string
func (*ComputeImage) ProtoMessage ¶ added in v0.0.3
func (*ComputeImage) ProtoMessage()
func (*ComputeImage) ProtoReflect ¶ added in v0.0.3
func (x *ComputeImage) ProtoReflect() protoreflect.Message
func (*ComputeImage) Reset ¶ added in v0.0.3
func (x *ComputeImage) Reset()
func (*ComputeImage) String ¶ added in v0.0.3
func (x *ComputeImage) String() string
type ComputeInstanceClient ¶ added in v0.0.2
type ComputeInstanceClient interface { // 查询规格 ListComputeSpec(ctx context.Context, in *ListComputeSpecRequest, opts ...grpc.CallOption) (*ListComputeSpecReply, error) // 查询镜像 ListComputeImage(ctx context.Context, in *ListComputeImageRequest, opts ...grpc.CallOption) (*ListComputeImageReply, error) // 查询到期时间 ListComputeInstanceDuration(ctx context.Context, in *ListComputeDurationRequest, opts ...grpc.CallOption) (*ListComputeDurationReply, error) // 创建实例 Create(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*CreateInstanceReply, error) // 删除实例 Delete(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*DeleteInstanceReply, error) // 获取实例详情 Get(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*GetInstanceReply, error) // 实例列表 List(ctx context.Context, in *ListInstanceRequest, opts ...grpc.CallOption) (*ListInstanceReply, error) // 停止实例 StopInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*StopInstanceReply, error) // 启动实例 StartInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*StartInstanceReply, error) }
ComputeInstanceClient is the client API for ComputeInstance 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.
func NewComputeInstanceClient ¶ added in v0.0.2
func NewComputeInstanceClient(cc grpc.ClientConnInterface) ComputeInstanceClient
type ComputeInstanceHTTPClient ¶ added in v0.0.2
type ComputeInstanceHTTPClient interface { Create(ctx context.Context, req *CreateInstanceRequest, opts ...http.CallOption) (rsp *CreateInstanceReply, err error) Delete(ctx context.Context, req *DeleteInstanceRequest, opts ...http.CallOption) (rsp *DeleteInstanceReply, err error) Get(ctx context.Context, req *GetInstanceRequest, opts ...http.CallOption) (rsp *GetInstanceReply, err error) List(ctx context.Context, req *ListInstanceRequest, opts ...http.CallOption) (rsp *ListInstanceReply, err error) ListComputeImage(ctx context.Context, req *ListComputeImageRequest, opts ...http.CallOption) (rsp *ListComputeImageReply, err error) ListComputeInstanceDuration(ctx context.Context, req *ListComputeDurationRequest, opts ...http.CallOption) (rsp *ListComputeDurationReply, err error) ListComputeSpec(ctx context.Context, req *ListComputeSpecRequest, opts ...http.CallOption) (rsp *ListComputeSpecReply, err error) StartInstance(ctx context.Context, req *GetInstanceRequest, opts ...http.CallOption) (rsp *StartInstanceReply, err error) StopInstance(ctx context.Context, req *GetInstanceRequest, opts ...http.CallOption) (rsp *StopInstanceReply, err error) }
func NewComputeInstanceHTTPClient ¶ added in v0.0.2
func NewComputeInstanceHTTPClient(client *http.Client) ComputeInstanceHTTPClient
type ComputeInstanceHTTPClientImpl ¶ added in v0.0.2
type ComputeInstanceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ComputeInstanceHTTPClientImpl) Create ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) Create(ctx context.Context, in *CreateInstanceRequest, opts ...http.CallOption) (*CreateInstanceReply, error)
func (*ComputeInstanceHTTPClientImpl) Delete ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) Delete(ctx context.Context, in *DeleteInstanceRequest, opts ...http.CallOption) (*DeleteInstanceReply, error)
func (*ComputeInstanceHTTPClientImpl) Get ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) Get(ctx context.Context, in *GetInstanceRequest, opts ...http.CallOption) (*GetInstanceReply, error)
func (*ComputeInstanceHTTPClientImpl) List ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) List(ctx context.Context, in *ListInstanceRequest, opts ...http.CallOption) (*ListInstanceReply, error)
func (*ComputeInstanceHTTPClientImpl) ListComputeImage ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) ListComputeImage(ctx context.Context, in *ListComputeImageRequest, opts ...http.CallOption) (*ListComputeImageReply, error)
func (*ComputeInstanceHTTPClientImpl) ListComputeInstanceDuration ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) ListComputeInstanceDuration(ctx context.Context, in *ListComputeDurationRequest, opts ...http.CallOption) (*ListComputeDurationReply, error)
func (*ComputeInstanceHTTPClientImpl) ListComputeSpec ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) ListComputeSpec(ctx context.Context, in *ListComputeSpecRequest, opts ...http.CallOption) (*ListComputeSpecReply, error)
func (*ComputeInstanceHTTPClientImpl) StartInstance ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) StartInstance(ctx context.Context, in *GetInstanceRequest, opts ...http.CallOption) (*StartInstanceReply, error)
func (*ComputeInstanceHTTPClientImpl) StopInstance ¶ added in v0.0.2
func (c *ComputeInstanceHTTPClientImpl) StopInstance(ctx context.Context, in *GetInstanceRequest, opts ...http.CallOption) (*StopInstanceReply, error)
type ComputeInstanceHTTPServer ¶ added in v0.0.2
type ComputeInstanceHTTPServer interface { // Create 创建实例 Create(context.Context, *CreateInstanceRequest) (*CreateInstanceReply, error) // Delete删除实例 Delete(context.Context, *DeleteInstanceRequest) (*DeleteInstanceReply, error) // Get获取实例详情 Get(context.Context, *GetInstanceRequest) (*GetInstanceReply, error) // List实例列表 List(context.Context, *ListInstanceRequest) (*ListInstanceReply, error) // ListComputeImage 查询镜像 ListComputeImage(context.Context, *ListComputeImageRequest) (*ListComputeImageReply, error) // ListComputeInstanceDuration 查询到期时间 ListComputeInstanceDuration(context.Context, *ListComputeDurationRequest) (*ListComputeDurationReply, error) // ListComputeSpec 查询规格 ListComputeSpec(context.Context, *ListComputeSpecRequest) (*ListComputeSpecReply, error) // StartInstance启动实例 StartInstance(context.Context, *GetInstanceRequest) (*StartInstanceReply, error) // StopInstance停止实例 StopInstance(context.Context, *GetInstanceRequest) (*StopInstanceReply, error) }
type ComputeInstanceServer ¶ added in v0.0.2
type ComputeInstanceServer interface { // 查询规格 ListComputeSpec(context.Context, *ListComputeSpecRequest) (*ListComputeSpecReply, error) // 查询镜像 ListComputeImage(context.Context, *ListComputeImageRequest) (*ListComputeImageReply, error) // 查询到期时间 ListComputeInstanceDuration(context.Context, *ListComputeDurationRequest) (*ListComputeDurationReply, error) // 创建实例 Create(context.Context, *CreateInstanceRequest) (*CreateInstanceReply, error) // 删除实例 Delete(context.Context, *DeleteInstanceRequest) (*DeleteInstanceReply, error) // 获取实例详情 Get(context.Context, *GetInstanceRequest) (*GetInstanceReply, error) // 实例列表 List(context.Context, *ListInstanceRequest) (*ListInstanceReply, error) // 停止实例 StopInstance(context.Context, *GetInstanceRequest) (*StopInstanceReply, error) // 启动实例 StartInstance(context.Context, *GetInstanceRequest) (*StartInstanceReply, error) // contains filtered or unexported methods }
ComputeInstanceServer is the server API for ComputeInstance service. All implementations must embed UnimplementedComputeInstanceServer for forward compatibility
type ComputePowerClient ¶ added in v0.0.3
type ComputePowerClient interface { // 上传脚本(http接口另外写) UploadScriptFile(ctx context.Context, in *UploadScriptFileRequest, opts ...grpc.CallOption) (*UploadScriptFileReply, error) // 查询脚本列表 GetScriptList(ctx context.Context, in *GetScriptListRequest, opts ...grpc.CallOption) (*GetScriptListReply, error) // 执行脚本 RunPythonPackage(ctx context.Context, in *RunPythonPackageServerRequest, opts ...grpc.CallOption) (*RunPythonPackageServerReply, error) // 取消执行 CancelExecPythonPackage(ctx context.Context, in *CancelExecPythonPackageRequest, opts ...grpc.CallOption) (*CancelExecPythonPackageReply, error) // 通过id GetScriptInfo(ctx context.Context, in *GetScriptInfoRequest, opts ...grpc.CallOption) (*GetScriptInfoReply, error) // 下载执行结果(http接口另外写) DownloadScriptExecuteResult(ctx context.Context, in *DownloadScriptExecuteResultRequest, opts ...grpc.CallOption) (*DownloadScriptExecuteResultReply, error) }
ComputePowerClient is the client API for ComputePower 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.
func NewComputePowerClient ¶ added in v0.0.3
func NewComputePowerClient(cc grpc.ClientConnInterface) ComputePowerClient
type ComputePowerHTTPClient ¶ added in v0.0.3
type ComputePowerHTTPClient interface { CancelExecPythonPackage(ctx context.Context, req *CancelExecPythonPackageRequest, opts ...http.CallOption) (rsp *CancelExecPythonPackageReply, err error) DownloadScriptExecuteResult(ctx context.Context, req *DownloadScriptExecuteResultRequest, opts ...http.CallOption) (rsp *DownloadScriptExecuteResultReply, err error) GetScriptInfo(ctx context.Context, req *GetScriptInfoRequest, opts ...http.CallOption) (rsp *GetScriptInfoReply, err error) GetScriptList(ctx context.Context, req *GetScriptListRequest, opts ...http.CallOption) (rsp *GetScriptListReply, err error) RunPythonPackage(ctx context.Context, req *RunPythonPackageServerRequest, opts ...http.CallOption) (rsp *RunPythonPackageServerReply, err error) UploadScriptFile(ctx context.Context, req *UploadScriptFileRequest, opts ...http.CallOption) (rsp *UploadScriptFileReply, err error) }
func NewComputePowerHTTPClient ¶ added in v0.0.3
func NewComputePowerHTTPClient(client *http.Client) ComputePowerHTTPClient
type ComputePowerHTTPClientImpl ¶ added in v0.0.3
type ComputePowerHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ComputePowerHTTPClientImpl) CancelExecPythonPackage ¶ added in v0.0.3
func (c *ComputePowerHTTPClientImpl) CancelExecPythonPackage(ctx context.Context, in *CancelExecPythonPackageRequest, opts ...http.CallOption) (*CancelExecPythonPackageReply, error)
func (*ComputePowerHTTPClientImpl) DownloadScriptExecuteResult ¶ added in v0.0.3
func (c *ComputePowerHTTPClientImpl) DownloadScriptExecuteResult(ctx context.Context, in *DownloadScriptExecuteResultRequest, opts ...http.CallOption) (*DownloadScriptExecuteResultReply, error)
func (*ComputePowerHTTPClientImpl) GetScriptInfo ¶ added in v0.0.3
func (c *ComputePowerHTTPClientImpl) GetScriptInfo(ctx context.Context, in *GetScriptInfoRequest, opts ...http.CallOption) (*GetScriptInfoReply, error)
func (*ComputePowerHTTPClientImpl) GetScriptList ¶ added in v0.0.3
func (c *ComputePowerHTTPClientImpl) GetScriptList(ctx context.Context, in *GetScriptListRequest, opts ...http.CallOption) (*GetScriptListReply, error)
func (*ComputePowerHTTPClientImpl) RunPythonPackage ¶ added in v0.0.3
func (c *ComputePowerHTTPClientImpl) RunPythonPackage(ctx context.Context, in *RunPythonPackageServerRequest, opts ...http.CallOption) (*RunPythonPackageServerReply, error)
func (*ComputePowerHTTPClientImpl) UploadScriptFile ¶ added in v0.0.3
func (c *ComputePowerHTTPClientImpl) UploadScriptFile(ctx context.Context, in *UploadScriptFileRequest, opts ...http.CallOption) (*UploadScriptFileReply, error)
type ComputePowerHTTPServer ¶ added in v0.0.3
type ComputePowerHTTPServer interface { // CancelExecPythonPackage取消执行 CancelExecPythonPackage(context.Context, *CancelExecPythonPackageRequest) (*CancelExecPythonPackageReply, error) // DownloadScriptExecuteResult下载执行结果(http接口另外写) DownloadScriptExecuteResult(context.Context, *DownloadScriptExecuteResultRequest) (*DownloadScriptExecuteResultReply, error) // GetScriptInfo通过id GetScriptInfo(context.Context, *GetScriptInfoRequest) (*GetScriptInfoReply, error) // GetScriptList查询脚本列表 GetScriptList(context.Context, *GetScriptListRequest) (*GetScriptListReply, error) // RunPythonPackage执行脚本 RunPythonPackage(context.Context, *RunPythonPackageServerRequest) (*RunPythonPackageServerReply, error) // UploadScriptFile上传脚本(http接口另外写) UploadScriptFile(context.Context, *UploadScriptFileRequest) (*UploadScriptFileReply, error) }
type ComputePowerServer ¶ added in v0.0.3
type ComputePowerServer interface { // 上传脚本(http接口另外写) UploadScriptFile(context.Context, *UploadScriptFileRequest) (*UploadScriptFileReply, error) // 查询脚本列表 GetScriptList(context.Context, *GetScriptListRequest) (*GetScriptListReply, error) // 执行脚本 RunPythonPackage(context.Context, *RunPythonPackageServerRequest) (*RunPythonPackageServerReply, error) // 取消执行 CancelExecPythonPackage(context.Context, *CancelExecPythonPackageRequest) (*CancelExecPythonPackageReply, error) // 通过id GetScriptInfo(context.Context, *GetScriptInfoRequest) (*GetScriptInfoReply, error) // 下载执行结果(http接口另外写) DownloadScriptExecuteResult(context.Context, *DownloadScriptExecuteResultRequest) (*DownloadScriptExecuteResultReply, error) // contains filtered or unexported methods }
ComputePowerServer is the server API for ComputePower service. All implementations must embed UnimplementedComputePowerServer for forward compatibility
type ComputeSpec ¶ added in v0.0.3
type ComputeSpec struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Core string `protobuf:"bytes,2,opt,name=core,proto3" json:"core,omitempty"` Memory string `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` // contains filtered or unexported fields }
func (*ComputeSpec) Descriptor
deprecated
added in
v0.0.3
func (*ComputeSpec) Descriptor() ([]byte, []int)
Deprecated: Use ComputeSpec.ProtoReflect.Descriptor instead.
func (*ComputeSpec) GetCore ¶ added in v0.0.3
func (x *ComputeSpec) GetCore() string
func (*ComputeSpec) GetId ¶ added in v0.0.3
func (x *ComputeSpec) GetId() int32
func (*ComputeSpec) GetMemory ¶ added in v0.0.3
func (x *ComputeSpec) GetMemory() string
func (*ComputeSpec) ProtoMessage ¶ added in v0.0.3
func (*ComputeSpec) ProtoMessage()
func (*ComputeSpec) ProtoReflect ¶ added in v0.0.3
func (x *ComputeSpec) ProtoReflect() protoreflect.Message
func (*ComputeSpec) Reset ¶ added in v0.0.3
func (x *ComputeSpec) Reset()
func (*ComputeSpec) String ¶ added in v0.0.3
func (x *ComputeSpec) String() string
type CreateDirReply ¶
type CreateDirReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *CreateDirReply_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateDirReply) Descriptor
deprecated
func (*CreateDirReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateDirReply.ProtoReflect.Descriptor instead.
func (*CreateDirReply) GetCode ¶ added in v0.0.3
func (x *CreateDirReply) GetCode() int32
func (*CreateDirReply) GetData ¶ added in v0.0.3
func (x *CreateDirReply) GetData() *CreateDirReply_Data
func (*CreateDirReply) GetMessage ¶ added in v0.0.3
func (x *CreateDirReply) GetMessage() string
func (*CreateDirReply) ProtoMessage ¶
func (*CreateDirReply) ProtoMessage()
func (*CreateDirReply) ProtoReflect ¶
func (x *CreateDirReply) ProtoReflect() protoreflect.Message
func (*CreateDirReply) Reset ¶
func (x *CreateDirReply) Reset()
func (*CreateDirReply) String ¶
func (x *CreateDirReply) String() string
type CreateDirReply_Data ¶ added in v0.0.3
type CreateDirReply_Data struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateDirReply_Data) Descriptor
deprecated
added in
v0.0.3
func (*CreateDirReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use CreateDirReply_Data.ProtoReflect.Descriptor instead.
func (*CreateDirReply_Data) GetId ¶ added in v0.0.3
func (x *CreateDirReply_Data) GetId() string
func (*CreateDirReply_Data) ProtoMessage ¶ added in v0.0.3
func (*CreateDirReply_Data) ProtoMessage()
func (*CreateDirReply_Data) ProtoReflect ¶ added in v0.0.3
func (x *CreateDirReply_Data) ProtoReflect() protoreflect.Message
func (*CreateDirReply_Data) Reset ¶ added in v0.0.3
func (x *CreateDirReply_Data) Reset()
func (*CreateDirReply_Data) String ¶ added in v0.0.3
func (x *CreateDirReply_Data) String() string
type CreateDirRequest ¶
type CreateDirRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // contains filtered or unexported fields }
func (*CreateDirRequest) Descriptor
deprecated
func (*CreateDirRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDirRequest.ProtoReflect.Descriptor instead.
func (*CreateDirRequest) GetName ¶
func (x *CreateDirRequest) GetName() string
func (*CreateDirRequest) GetParentId ¶
func (x *CreateDirRequest) GetParentId() string
func (*CreateDirRequest) ProtoMessage ¶
func (*CreateDirRequest) ProtoMessage()
func (*CreateDirRequest) ProtoReflect ¶
func (x *CreateDirRequest) ProtoReflect() protoreflect.Message
func (*CreateDirRequest) Reset ¶
func (x *CreateDirRequest) Reset()
func (*CreateDirRequest) String ¶
func (x *CreateDirRequest) String() string
type CreateInstanceReply ¶ added in v0.0.2
type CreateInstanceReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *CreateInstanceReply_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateInstanceReply) Descriptor
deprecated
added in
v0.0.2
func (*CreateInstanceReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceReply.ProtoReflect.Descriptor instead.
func (*CreateInstanceReply) GetCode ¶ added in v0.0.3
func (x *CreateInstanceReply) GetCode() int32
func (*CreateInstanceReply) GetData ¶ added in v0.0.3
func (x *CreateInstanceReply) GetData() *CreateInstanceReply_Data
func (*CreateInstanceReply) GetMessage ¶ added in v0.0.3
func (x *CreateInstanceReply) GetMessage() string
func (*CreateInstanceReply) ProtoMessage ¶ added in v0.0.2
func (*CreateInstanceReply) ProtoMessage()
func (*CreateInstanceReply) ProtoReflect ¶ added in v0.0.2
func (x *CreateInstanceReply) ProtoReflect() protoreflect.Message
func (*CreateInstanceReply) Reset ¶ added in v0.0.2
func (x *CreateInstanceReply) Reset()
func (*CreateInstanceReply) String ¶ added in v0.0.2
func (x *CreateInstanceReply) String() string
type CreateInstanceReply_Data ¶ added in v0.0.3
type CreateInstanceReply_Data struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateInstanceReply_Data) Descriptor
deprecated
added in
v0.0.3
func (*CreateInstanceReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceReply_Data.ProtoReflect.Descriptor instead.
func (*CreateInstanceReply_Data) GetId ¶ added in v0.0.3
func (x *CreateInstanceReply_Data) GetId() string
func (*CreateInstanceReply_Data) GetName ¶ added in v0.0.3
func (x *CreateInstanceReply_Data) GetName() string
func (*CreateInstanceReply_Data) ProtoMessage ¶ added in v0.0.3
func (*CreateInstanceReply_Data) ProtoMessage()
func (*CreateInstanceReply_Data) ProtoReflect ¶ added in v0.0.3
func (x *CreateInstanceReply_Data) ProtoReflect() protoreflect.Message
func (*CreateInstanceReply_Data) Reset ¶ added in v0.0.3
func (x *CreateInstanceReply_Data) Reset()
func (*CreateInstanceReply_Data) String ¶ added in v0.0.3
func (x *CreateInstanceReply_Data) String() string
type CreateInstanceRequest ¶ added in v0.0.2
type CreateInstanceRequest struct { SpecId int32 `protobuf:"varint,1,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` ImageId int32 `protobuf:"varint,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` Duration int32 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateInstanceRequest) Descriptor
deprecated
added in
v0.0.2
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) GetDuration ¶ added in v0.0.2
func (x *CreateInstanceRequest) GetDuration() int32
func (*CreateInstanceRequest) GetImageId ¶ added in v0.0.2
func (x *CreateInstanceRequest) GetImageId() int32
func (*CreateInstanceRequest) GetName ¶ added in v0.0.2
func (x *CreateInstanceRequest) GetName() string
func (*CreateInstanceRequest) GetSpecId ¶ added in v0.0.2
func (x *CreateInstanceRequest) GetSpecId() int32
func (*CreateInstanceRequest) ProtoMessage ¶ added in v0.0.2
func (*CreateInstanceRequest) ProtoMessage()
func (*CreateInstanceRequest) ProtoReflect ¶ added in v0.0.2
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
func (*CreateInstanceRequest) Reset ¶ added in v0.0.2
func (x *CreateInstanceRequest) Reset()
func (*CreateInstanceRequest) String ¶ added in v0.0.2
func (x *CreateInstanceRequest) String() string
type DeleteInstanceReply ¶ added in v0.0.2
type DeleteInstanceReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DeleteInstanceReply) Descriptor
deprecated
added in
v0.0.2
func (*DeleteInstanceReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceReply.ProtoReflect.Descriptor instead.
func (*DeleteInstanceReply) GetCode ¶ added in v0.0.3
func (x *DeleteInstanceReply) GetCode() int32
func (*DeleteInstanceReply) GetMessage ¶ added in v0.0.3
func (x *DeleteInstanceReply) GetMessage() string
func (*DeleteInstanceReply) ProtoMessage ¶ added in v0.0.2
func (*DeleteInstanceReply) ProtoMessage()
func (*DeleteInstanceReply) ProtoReflect ¶ added in v0.0.2
func (x *DeleteInstanceReply) ProtoReflect() protoreflect.Message
func (*DeleteInstanceReply) Reset ¶ added in v0.0.2
func (x *DeleteInstanceReply) Reset()
func (*DeleteInstanceReply) String ¶ added in v0.0.2
func (x *DeleteInstanceReply) String() string
type DeleteInstanceRequest ¶ added in v0.0.2
type DeleteInstanceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteInstanceRequest) Descriptor
deprecated
added in
v0.0.2
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) GetId ¶ added in v0.0.2
func (x *DeleteInstanceRequest) GetId() string
func (*DeleteInstanceRequest) ProtoMessage ¶ added in v0.0.2
func (*DeleteInstanceRequest) ProtoMessage()
func (*DeleteInstanceRequest) ProtoReflect ¶ added in v0.0.2
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
func (*DeleteInstanceRequest) Reset ¶ added in v0.0.2
func (x *DeleteInstanceRequest) Reset()
func (*DeleteInstanceRequest) String ¶ added in v0.0.2
func (x *DeleteInstanceRequest) String() string
type DeleteReply ¶
type DeleteReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DeleteReply) Descriptor
deprecated
func (*DeleteReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReply.ProtoReflect.Descriptor instead.
func (*DeleteReply) GetCode ¶ added in v0.0.3
func (x *DeleteReply) GetCode() int32
func (*DeleteReply) GetMessage ¶ added in v0.0.3
func (x *DeleteReply) GetMessage() string
func (*DeleteReply) ProtoMessage ¶
func (*DeleteReply) ProtoMessage()
func (*DeleteReply) ProtoReflect ¶
func (x *DeleteReply) ProtoReflect() protoreflect.Message
func (*DeleteReply) Reset ¶
func (x *DeleteReply) Reset()
func (*DeleteReply) String ¶
func (x *DeleteReply) String() string
type DeleteRequest ¶
type DeleteRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetIds ¶
func (x *DeleteRequest) GetIds() []string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DownloadReply ¶
type DownloadReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *DownloadReply_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DownloadReply) Descriptor
deprecated
func (*DownloadReply) Descriptor() ([]byte, []int)
Deprecated: Use DownloadReply.ProtoReflect.Descriptor instead.
func (*DownloadReply) GetCode ¶ added in v0.0.3
func (x *DownloadReply) GetCode() int32
func (*DownloadReply) GetData ¶ added in v0.0.3
func (x *DownloadReply) GetData() *DownloadReply_Data
func (*DownloadReply) GetMessage ¶ added in v0.0.3
func (x *DownloadReply) GetMessage() string
func (*DownloadReply) ProtoMessage ¶
func (*DownloadReply) ProtoMessage()
func (*DownloadReply) ProtoReflect ¶
func (x *DownloadReply) ProtoReflect() protoreflect.Message
func (*DownloadReply) Reset ¶
func (x *DownloadReply) Reset()
func (*DownloadReply) String ¶
func (x *DownloadReply) String() string
type DownloadReply_Data ¶ added in v0.0.3
type DownloadReply_Data struct { Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DownloadReply_Data) Descriptor
deprecated
added in
v0.0.3
func (*DownloadReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use DownloadReply_Data.ProtoReflect.Descriptor instead.
func (*DownloadReply_Data) GetBody ¶ added in v0.0.3
func (x *DownloadReply_Data) GetBody() []byte
func (*DownloadReply_Data) GetName ¶ added in v0.0.3
func (x *DownloadReply_Data) GetName() string
func (*DownloadReply_Data) ProtoMessage ¶ added in v0.0.3
func (*DownloadReply_Data) ProtoMessage()
func (*DownloadReply_Data) ProtoReflect ¶ added in v0.0.3
func (x *DownloadReply_Data) ProtoReflect() protoreflect.Message
func (*DownloadReply_Data) Reset ¶ added in v0.0.3
func (x *DownloadReply_Data) Reset()
func (*DownloadReply_Data) String ¶ added in v0.0.3
func (x *DownloadReply_Data) String() string
type DownloadRequest ¶
type DownloadRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DownloadRequest) Descriptor
deprecated
func (*DownloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadRequest.ProtoReflect.Descriptor instead.
func (*DownloadRequest) GetId ¶
func (x *DownloadRequest) GetId() string
func (*DownloadRequest) ProtoMessage ¶
func (*DownloadRequest) ProtoMessage()
func (*DownloadRequest) ProtoReflect ¶
func (x *DownloadRequest) ProtoReflect() protoreflect.Message
func (*DownloadRequest) Reset ¶
func (x *DownloadRequest) Reset()
func (*DownloadRequest) String ¶
func (x *DownloadRequest) String() string
type DownloadScriptExecuteResultReply ¶ added in v0.0.3
type DownloadScriptExecuteResultReply struct { Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DownloadScriptExecuteResultReply) Descriptor
deprecated
added in
v0.0.3
func (*DownloadScriptExecuteResultReply) Descriptor() ([]byte, []int)
Deprecated: Use DownloadScriptExecuteResultReply.ProtoReflect.Descriptor instead.
func (*DownloadScriptExecuteResultReply) GetBody ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultReply) GetBody() []byte
func (*DownloadScriptExecuteResultReply) GetName ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultReply) GetName() string
func (*DownloadScriptExecuteResultReply) ProtoMessage ¶ added in v0.0.3
func (*DownloadScriptExecuteResultReply) ProtoMessage()
func (*DownloadScriptExecuteResultReply) ProtoReflect ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultReply) ProtoReflect() protoreflect.Message
func (*DownloadScriptExecuteResultReply) Reset ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultReply) Reset()
func (*DownloadScriptExecuteResultReply) String ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultReply) String() string
type DownloadScriptExecuteResultRequest ¶ added in v0.0.3
type DownloadScriptExecuteResultRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DownloadScriptExecuteResultRequest) Descriptor
deprecated
added in
v0.0.3
func (*DownloadScriptExecuteResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadScriptExecuteResultRequest.ProtoReflect.Descriptor instead.
func (*DownloadScriptExecuteResultRequest) GetId ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultRequest) GetId() int32
func (*DownloadScriptExecuteResultRequest) ProtoMessage ¶ added in v0.0.3
func (*DownloadScriptExecuteResultRequest) ProtoMessage()
func (*DownloadScriptExecuteResultRequest) ProtoReflect ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultRequest) ProtoReflect() protoreflect.Message
func (*DownloadScriptExecuteResultRequest) Reset ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultRequest) Reset()
func (*DownloadScriptExecuteResultRequest) String ¶ added in v0.0.3
func (x *DownloadScriptExecuteResultRequest) String() string
type File ¶
type File struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type FileType `protobuf:"varint,2,opt,name=type,proto3,enum=api.compute.v1.FileType" json:"type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` LastModify int64 `protobuf:"varint,5,opt,name=last_modify,json=lastModify,proto3" json:"last_modify,omitempty"` Cid *string `protobuf:"bytes,6,opt,name=cid,proto3,oneof" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetLastModify ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileType ¶
type FileType int32
func (FileType) Descriptor ¶
func (FileType) Descriptor() protoreflect.EnumDescriptor
func (FileType) EnumDescriptor
deprecated
func (FileType) Number ¶
func (x FileType) Number() protoreflect.EnumNumber
func (FileType) Type ¶
func (FileType) Type() protoreflect.EnumType
type GetInstanceReply ¶ added in v0.0.2
type GetInstanceReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *Instance `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetInstanceReply) Descriptor
deprecated
added in
v0.0.2
func (*GetInstanceReply) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceReply.ProtoReflect.Descriptor instead.
func (*GetInstanceReply) GetCode ¶ added in v0.0.3
func (x *GetInstanceReply) GetCode() int32
func (*GetInstanceReply) GetData ¶ added in v0.0.3
func (x *GetInstanceReply) GetData() *Instance
func (*GetInstanceReply) GetMessage ¶ added in v0.0.3
func (x *GetInstanceReply) GetMessage() string
func (*GetInstanceReply) ProtoMessage ¶ added in v0.0.2
func (*GetInstanceReply) ProtoMessage()
func (*GetInstanceReply) ProtoReflect ¶ added in v0.0.2
func (x *GetInstanceReply) ProtoReflect() protoreflect.Message
func (*GetInstanceReply) Reset ¶ added in v0.0.2
func (x *GetInstanceReply) Reset()
func (*GetInstanceReply) String ¶ added in v0.0.2
func (x *GetInstanceReply) String() string
type GetInstanceRequest ¶ added in v0.0.2
type GetInstanceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetInstanceRequest) Descriptor
deprecated
added in
v0.0.2
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetId ¶ added in v0.0.2
func (x *GetInstanceRequest) GetId() string
func (*GetInstanceRequest) ProtoMessage ¶ added in v0.0.2
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) ProtoReflect ¶ added in v0.0.2
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceRequest) Reset ¶ added in v0.0.2
func (x *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String ¶ added in v0.0.2
func (x *GetInstanceRequest) String() string
type GetScriptInfoReply ¶ added in v0.0.3
type GetScriptInfoReply struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TaskNumber int32 `protobuf:"varint,2,opt,name=taskNumber,proto3" json:"taskNumber,omitempty"` ScriptName string `protobuf:"bytes,3,opt,name=scriptName,proto3" json:"scriptName,omitempty"` ScriptContent string `protobuf:"bytes,4,opt,name=scriptContent,proto3" json:"scriptContent,omitempty"` ExecuteState int32 `protobuf:"varint,5,opt,name=executeState,proto3" json:"executeState,omitempty"` ExecuteResult string `protobuf:"bytes,6,opt,name=executeResult,proto3" json:"executeResult,omitempty"` // contains filtered or unexported fields }
func (*GetScriptInfoReply) Descriptor
deprecated
added in
v0.0.3
func (*GetScriptInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use GetScriptInfoReply.ProtoReflect.Descriptor instead.
func (*GetScriptInfoReply) GetExecuteResult ¶ added in v0.0.3
func (x *GetScriptInfoReply) GetExecuteResult() string
func (*GetScriptInfoReply) GetExecuteState ¶ added in v0.0.3
func (x *GetScriptInfoReply) GetExecuteState() int32
func (*GetScriptInfoReply) GetId ¶ added in v0.0.3
func (x *GetScriptInfoReply) GetId() int32
func (*GetScriptInfoReply) GetScriptContent ¶ added in v0.0.3
func (x *GetScriptInfoReply) GetScriptContent() string
func (*GetScriptInfoReply) GetScriptName ¶ added in v0.0.3
func (x *GetScriptInfoReply) GetScriptName() string
func (*GetScriptInfoReply) GetTaskNumber ¶ added in v0.0.3
func (x *GetScriptInfoReply) GetTaskNumber() int32
func (*GetScriptInfoReply) ProtoMessage ¶ added in v0.0.3
func (*GetScriptInfoReply) ProtoMessage()
func (*GetScriptInfoReply) ProtoReflect ¶ added in v0.0.3
func (x *GetScriptInfoReply) ProtoReflect() protoreflect.Message
func (*GetScriptInfoReply) Reset ¶ added in v0.0.3
func (x *GetScriptInfoReply) Reset()
func (*GetScriptInfoReply) String ¶ added in v0.0.3
func (x *GetScriptInfoReply) String() string
type GetScriptInfoRequest ¶ added in v0.0.3
type GetScriptInfoRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetScriptInfoRequest) Descriptor
deprecated
added in
v0.0.3
func (*GetScriptInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetScriptInfoRequest.ProtoReflect.Descriptor instead.
func (*GetScriptInfoRequest) GetId ¶ added in v0.0.3
func (x *GetScriptInfoRequest) GetId() int32
func (*GetScriptInfoRequest) ProtoMessage ¶ added in v0.0.3
func (*GetScriptInfoRequest) ProtoMessage()
func (*GetScriptInfoRequest) ProtoReflect ¶ added in v0.0.3
func (x *GetScriptInfoRequest) ProtoReflect() protoreflect.Message
func (*GetScriptInfoRequest) Reset ¶ added in v0.0.3
func (x *GetScriptInfoRequest) Reset()
func (*GetScriptInfoRequest) String ¶ added in v0.0.3
func (x *GetScriptInfoRequest) String() string
type GetScriptListReply ¶ added in v0.0.3
type GetScriptListReply struct { List []*UploadScriptFileReply `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*GetScriptListReply) Descriptor
deprecated
added in
v0.0.3
func (*GetScriptListReply) Descriptor() ([]byte, []int)
Deprecated: Use GetScriptListReply.ProtoReflect.Descriptor instead.
func (*GetScriptListReply) GetList ¶ added in v0.0.3
func (x *GetScriptListReply) GetList() []*UploadScriptFileReply
func (*GetScriptListReply) GetPage ¶ added in v0.0.3
func (x *GetScriptListReply) GetPage() int32
func (*GetScriptListReply) GetSize ¶ added in v0.0.3
func (x *GetScriptListReply) GetSize() int32
func (*GetScriptListReply) GetTotal ¶ added in v0.0.3
func (x *GetScriptListReply) GetTotal() int32
func (*GetScriptListReply) ProtoMessage ¶ added in v0.0.3
func (*GetScriptListReply) ProtoMessage()
func (*GetScriptListReply) ProtoReflect ¶ added in v0.0.3
func (x *GetScriptListReply) ProtoReflect() protoreflect.Message
func (*GetScriptListReply) Reset ¶ added in v0.0.3
func (x *GetScriptListReply) Reset()
func (*GetScriptListReply) String ¶ added in v0.0.3
func (x *GetScriptListReply) String() string
type GetScriptListRequest ¶ added in v0.0.3
type GetScriptListRequest struct { Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*GetScriptListRequest) Descriptor
deprecated
added in
v0.0.3
func (*GetScriptListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetScriptListRequest.ProtoReflect.Descriptor instead.
func (*GetScriptListRequest) GetPage ¶ added in v0.0.3
func (x *GetScriptListRequest) GetPage() int32
func (*GetScriptListRequest) GetSize ¶ added in v0.0.3
func (x *GetScriptListRequest) GetSize() int32
func (*GetScriptListRequest) ProtoMessage ¶ added in v0.0.3
func (*GetScriptListRequest) ProtoMessage()
func (*GetScriptListRequest) ProtoReflect ¶ added in v0.0.3
func (x *GetScriptListRequest) ProtoReflect() protoreflect.Message
func (*GetScriptListRequest) Reset ¶ added in v0.0.3
func (x *GetScriptListRequest) Reset()
func (*GetScriptListRequest) String ¶ added in v0.0.3
func (x *GetScriptListRequest) String() string
type Instance ¶ added in v0.0.3
type Instance struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` ExpirationTime int64 `protobuf:"varint,4,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` ImageName string `protobuf:"bytes,5,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` Core string `protobuf:"bytes,6,opt,name=core,proto3" json:"core,omitempty"` Memory string `protobuf:"bytes,7,opt,name=memory,proto3" json:"memory,omitempty"` Stats []*InstanceStats `protobuf:"bytes,8,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*Instance) Descriptor
deprecated
added in
v0.0.3
func (*Instance) GetExpirationTime ¶ added in v0.0.3
func (*Instance) GetImageName ¶ added in v0.0.3
func (*Instance) GetStats ¶ added in v0.0.3
func (x *Instance) GetStats() []*InstanceStats
func (*Instance) ProtoMessage ¶ added in v0.0.3
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶ added in v0.0.3
func (x *Instance) ProtoReflect() protoreflect.Message
type InstanceStats ¶ added in v0.0.3
type InstanceStats struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CpuUsage uint64 `protobuf:"varint,2,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` MemoryUsage uint64 `protobuf:"varint,3,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` StatsTime int64 `protobuf:"varint,4,opt,name=StatsTime,proto3" json:"StatsTime,omitempty"` // contains filtered or unexported fields }
func (*InstanceStats) Descriptor
deprecated
added in
v0.0.3
func (*InstanceStats) Descriptor() ([]byte, []int)
Deprecated: Use InstanceStats.ProtoReflect.Descriptor instead.
func (*InstanceStats) GetCpuUsage ¶ added in v0.0.3
func (x *InstanceStats) GetCpuUsage() uint64
func (*InstanceStats) GetId ¶ added in v0.0.3
func (x *InstanceStats) GetId() string
func (*InstanceStats) GetMemoryUsage ¶ added in v0.0.3
func (x *InstanceStats) GetMemoryUsage() uint64
func (*InstanceStats) GetStatsTime ¶ added in v0.0.3
func (x *InstanceStats) GetStatsTime() int64
func (*InstanceStats) ProtoMessage ¶ added in v0.0.3
func (*InstanceStats) ProtoMessage()
func (*InstanceStats) ProtoReflect ¶ added in v0.0.3
func (x *InstanceStats) ProtoReflect() protoreflect.Message
func (*InstanceStats) Reset ¶ added in v0.0.3
func (x *InstanceStats) Reset()
func (*InstanceStats) String ¶ added in v0.0.3
func (x *InstanceStats) String() string
type ListComputeDurationReply ¶ added in v0.0.2
type ListComputeDurationReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*ComputeDuration `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListComputeDurationReply) Descriptor
deprecated
added in
v0.0.2
func (*ListComputeDurationReply) Descriptor() ([]byte, []int)
Deprecated: Use ListComputeDurationReply.ProtoReflect.Descriptor instead.
func (*ListComputeDurationReply) GetCode ¶ added in v0.0.3
func (x *ListComputeDurationReply) GetCode() int32
func (*ListComputeDurationReply) GetData ¶ added in v0.0.3
func (x *ListComputeDurationReply) GetData() []*ComputeDuration
func (*ListComputeDurationReply) GetMessage ¶ added in v0.0.3
func (x *ListComputeDurationReply) GetMessage() string
func (*ListComputeDurationReply) ProtoMessage ¶ added in v0.0.2
func (*ListComputeDurationReply) ProtoMessage()
func (*ListComputeDurationReply) ProtoReflect ¶ added in v0.0.2
func (x *ListComputeDurationReply) ProtoReflect() protoreflect.Message
func (*ListComputeDurationReply) Reset ¶ added in v0.0.2
func (x *ListComputeDurationReply) Reset()
func (*ListComputeDurationReply) String ¶ added in v0.0.2
func (x *ListComputeDurationReply) String() string
type ListComputeDurationRequest ¶ added in v0.0.2
type ListComputeDurationRequest struct {
// contains filtered or unexported fields
}
func (*ListComputeDurationRequest) Descriptor
deprecated
added in
v0.0.2
func (*ListComputeDurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComputeDurationRequest.ProtoReflect.Descriptor instead.
func (*ListComputeDurationRequest) ProtoMessage ¶ added in v0.0.2
func (*ListComputeDurationRequest) ProtoMessage()
func (*ListComputeDurationRequest) ProtoReflect ¶ added in v0.0.2
func (x *ListComputeDurationRequest) ProtoReflect() protoreflect.Message
func (*ListComputeDurationRequest) Reset ¶ added in v0.0.2
func (x *ListComputeDurationRequest) Reset()
func (*ListComputeDurationRequest) String ¶ added in v0.0.2
func (x *ListComputeDurationRequest) String() string
type ListComputeImageReply ¶ added in v0.0.2
type ListComputeImageReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*ComputeImage `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListComputeImageReply) Descriptor
deprecated
added in
v0.0.2
func (*ListComputeImageReply) Descriptor() ([]byte, []int)
Deprecated: Use ListComputeImageReply.ProtoReflect.Descriptor instead.
func (*ListComputeImageReply) GetCode ¶ added in v0.0.3
func (x *ListComputeImageReply) GetCode() int32
func (*ListComputeImageReply) GetData ¶ added in v0.0.3
func (x *ListComputeImageReply) GetData() []*ComputeImage
func (*ListComputeImageReply) GetMessage ¶ added in v0.0.3
func (x *ListComputeImageReply) GetMessage() string
func (*ListComputeImageReply) ProtoMessage ¶ added in v0.0.2
func (*ListComputeImageReply) ProtoMessage()
func (*ListComputeImageReply) ProtoReflect ¶ added in v0.0.2
func (x *ListComputeImageReply) ProtoReflect() protoreflect.Message
func (*ListComputeImageReply) Reset ¶ added in v0.0.2
func (x *ListComputeImageReply) Reset()
func (*ListComputeImageReply) String ¶ added in v0.0.2
func (x *ListComputeImageReply) String() string
type ListComputeImageRequest ¶ added in v0.0.2
type ListComputeImageRequest struct {
// contains filtered or unexported fields
}
func (*ListComputeImageRequest) Descriptor
deprecated
added in
v0.0.2
func (*ListComputeImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComputeImageRequest.ProtoReflect.Descriptor instead.
func (*ListComputeImageRequest) ProtoMessage ¶ added in v0.0.2
func (*ListComputeImageRequest) ProtoMessage()
func (*ListComputeImageRequest) ProtoReflect ¶ added in v0.0.2
func (x *ListComputeImageRequest) ProtoReflect() protoreflect.Message
func (*ListComputeImageRequest) Reset ¶ added in v0.0.2
func (x *ListComputeImageRequest) Reset()
func (*ListComputeImageRequest) String ¶ added in v0.0.2
func (x *ListComputeImageRequest) String() string
type ListComputeSpecReply ¶ added in v0.0.2
type ListComputeSpecReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*ComputeSpec `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListComputeSpecReply) Descriptor
deprecated
added in
v0.0.2
func (*ListComputeSpecReply) Descriptor() ([]byte, []int)
Deprecated: Use ListComputeSpecReply.ProtoReflect.Descriptor instead.
func (*ListComputeSpecReply) GetCode ¶ added in v0.0.3
func (x *ListComputeSpecReply) GetCode() int32
func (*ListComputeSpecReply) GetData ¶ added in v0.0.3
func (x *ListComputeSpecReply) GetData() []*ComputeSpec
func (*ListComputeSpecReply) GetMessage ¶ added in v0.0.3
func (x *ListComputeSpecReply) GetMessage() string
func (*ListComputeSpecReply) ProtoMessage ¶ added in v0.0.2
func (*ListComputeSpecReply) ProtoMessage()
func (*ListComputeSpecReply) ProtoReflect ¶ added in v0.0.2
func (x *ListComputeSpecReply) ProtoReflect() protoreflect.Message
func (*ListComputeSpecReply) Reset ¶ added in v0.0.2
func (x *ListComputeSpecReply) Reset()
func (*ListComputeSpecReply) String ¶ added in v0.0.2
func (x *ListComputeSpecReply) String() string
type ListComputeSpecRequest ¶ added in v0.0.2
type ListComputeSpecRequest struct {
// contains filtered or unexported fields
}
func (*ListComputeSpecRequest) Descriptor
deprecated
added in
v0.0.2
func (*ListComputeSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComputeSpecRequest.ProtoReflect.Descriptor instead.
func (*ListComputeSpecRequest) ProtoMessage ¶ added in v0.0.2
func (*ListComputeSpecRequest) ProtoMessage()
func (*ListComputeSpecRequest) ProtoReflect ¶ added in v0.0.2
func (x *ListComputeSpecRequest) ProtoReflect() protoreflect.Message
func (*ListComputeSpecRequest) Reset ¶ added in v0.0.2
func (x *ListComputeSpecRequest) Reset()
func (*ListComputeSpecRequest) String ¶ added in v0.0.2
func (x *ListComputeSpecRequest) String() string
type ListInstanceReply ¶ added in v0.0.2
type ListInstanceReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*Instance `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListInstanceReply) Descriptor
deprecated
added in
v0.0.2
func (*ListInstanceReply) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceReply.ProtoReflect.Descriptor instead.
func (*ListInstanceReply) GetCode ¶ added in v0.0.3
func (x *ListInstanceReply) GetCode() int32
func (*ListInstanceReply) GetData ¶ added in v0.0.3
func (x *ListInstanceReply) GetData() []*Instance
func (*ListInstanceReply) GetMessage ¶ added in v0.0.3
func (x *ListInstanceReply) GetMessage() string
func (*ListInstanceReply) ProtoMessage ¶ added in v0.0.2
func (*ListInstanceReply) ProtoMessage()
func (*ListInstanceReply) ProtoReflect ¶ added in v0.0.2
func (x *ListInstanceReply) ProtoReflect() protoreflect.Message
func (*ListInstanceReply) Reset ¶ added in v0.0.2
func (x *ListInstanceReply) Reset()
func (*ListInstanceReply) String ¶ added in v0.0.2
func (x *ListInstanceReply) String() string
type ListInstanceRequest ¶ added in v0.0.2
type ListInstanceRequest struct {
// contains filtered or unexported fields
}
func (*ListInstanceRequest) Descriptor
deprecated
added in
v0.0.2
func (*ListInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceRequest.ProtoReflect.Descriptor instead.
func (*ListInstanceRequest) ProtoMessage ¶ added in v0.0.2
func (*ListInstanceRequest) ProtoMessage()
func (*ListInstanceRequest) ProtoReflect ¶ added in v0.0.2
func (x *ListInstanceRequest) ProtoReflect() protoreflect.Message
func (*ListInstanceRequest) Reset ¶ added in v0.0.2
func (x *ListInstanceRequest) Reset()
func (*ListInstanceRequest) String ¶ added in v0.0.2
func (x *ListInstanceRequest) String() string
type ListReply ¶
type ListReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data []*File `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListReply) Descriptor
deprecated
func (*ListReply) GetMessage ¶ added in v0.0.3
func (*ListReply) ProtoMessage ¶
func (*ListReply) ProtoMessage()
func (*ListReply) ProtoReflect ¶
func (x *ListReply) ProtoReflect() protoreflect.Message
type ListRequest ¶
type ListRequest struct { ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetParentId ¶
func (x *ListRequest) GetParentId() string
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type PortBinding ¶ added in v0.0.2
type PortBinding struct { ListenPort string `protobuf:"bytes,1,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` TargetPort string `protobuf:"bytes,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` // contains filtered or unexported fields }
func (*PortBinding) Descriptor
deprecated
added in
v0.0.2
func (*PortBinding) Descriptor() ([]byte, []int)
Deprecated: Use PortBinding.ProtoReflect.Descriptor instead.
func (*PortBinding) GetListenPort ¶ added in v0.0.2
func (x *PortBinding) GetListenPort() string
func (*PortBinding) GetTargetPort ¶ added in v0.0.2
func (x *PortBinding) GetTargetPort() string
func (*PortBinding) ProtoMessage ¶ added in v0.0.2
func (*PortBinding) ProtoMessage()
func (*PortBinding) ProtoReflect ¶ added in v0.0.2
func (x *PortBinding) ProtoReflect() protoreflect.Message
func (*PortBinding) Reset ¶ added in v0.0.2
func (x *PortBinding) Reset()
func (*PortBinding) String ¶ added in v0.0.2
func (x *PortBinding) String() string
type RunPythonPackageServerReply ¶ added in v0.0.3
type RunPythonPackageServerReply struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TaskNumber int32 `protobuf:"varint,2,opt,name=taskNumber,proto3" json:"taskNumber,omitempty"` ScriptName string `protobuf:"bytes,3,opt,name=scriptName,proto3" json:"scriptName,omitempty"` ScriptContent string `protobuf:"bytes,4,opt,name=scriptContent,proto3" json:"scriptContent,omitempty"` ExecuteState int32 `protobuf:"varint,5,opt,name=executeState,proto3" json:"executeState,omitempty"` ExecuteResult string `protobuf:"bytes,6,opt,name=executeResult,proto3" json:"executeResult,omitempty"` // contains filtered or unexported fields }
func (*RunPythonPackageServerReply) Descriptor
deprecated
added in
v0.0.3
func (*RunPythonPackageServerReply) Descriptor() ([]byte, []int)
Deprecated: Use RunPythonPackageServerReply.ProtoReflect.Descriptor instead.
func (*RunPythonPackageServerReply) GetExecuteResult ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) GetExecuteResult() string
func (*RunPythonPackageServerReply) GetExecuteState ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) GetExecuteState() int32
func (*RunPythonPackageServerReply) GetId ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) GetId() int32
func (*RunPythonPackageServerReply) GetScriptContent ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) GetScriptContent() string
func (*RunPythonPackageServerReply) GetScriptName ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) GetScriptName() string
func (*RunPythonPackageServerReply) GetTaskNumber ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) GetTaskNumber() int32
func (*RunPythonPackageServerReply) ProtoMessage ¶ added in v0.0.3
func (*RunPythonPackageServerReply) ProtoMessage()
func (*RunPythonPackageServerReply) ProtoReflect ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) ProtoReflect() protoreflect.Message
func (*RunPythonPackageServerReply) Reset ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) Reset()
func (*RunPythonPackageServerReply) String ¶ added in v0.0.3
func (x *RunPythonPackageServerReply) String() string
type RunPythonPackageServerRequest ¶ added in v0.0.3
type RunPythonPackageServerRequest struct { Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RunPythonPackageServerRequest) Descriptor
deprecated
added in
v0.0.3
func (*RunPythonPackageServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunPythonPackageServerRequest.ProtoReflect.Descriptor instead.
func (*RunPythonPackageServerRequest) GetId ¶ added in v0.0.3
func (x *RunPythonPackageServerRequest) GetId() int32
func (*RunPythonPackageServerRequest) ProtoMessage ¶ added in v0.0.3
func (*RunPythonPackageServerRequest) ProtoMessage()
func (*RunPythonPackageServerRequest) ProtoReflect ¶ added in v0.0.3
func (x *RunPythonPackageServerRequest) ProtoReflect() protoreflect.Message
func (*RunPythonPackageServerRequest) Reset ¶ added in v0.0.3
func (x *RunPythonPackageServerRequest) Reset()
func (*RunPythonPackageServerRequest) String ¶ added in v0.0.3
func (x *RunPythonPackageServerRequest) String() string
type StartInstanceReply ¶ added in v0.0.2
type StartInstanceReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*StartInstanceReply) Descriptor
deprecated
added in
v0.0.2
func (*StartInstanceReply) Descriptor() ([]byte, []int)
Deprecated: Use StartInstanceReply.ProtoReflect.Descriptor instead.
func (*StartInstanceReply) GetCode ¶ added in v0.0.3
func (x *StartInstanceReply) GetCode() int32
func (*StartInstanceReply) GetMessage ¶ added in v0.0.3
func (x *StartInstanceReply) GetMessage() string
func (*StartInstanceReply) ProtoMessage ¶ added in v0.0.2
func (*StartInstanceReply) ProtoMessage()
func (*StartInstanceReply) ProtoReflect ¶ added in v0.0.2
func (x *StartInstanceReply) ProtoReflect() protoreflect.Message
func (*StartInstanceReply) Reset ¶ added in v0.0.2
func (x *StartInstanceReply) Reset()
func (*StartInstanceReply) String ¶ added in v0.0.2
func (x *StartInstanceReply) String() string
type StopInstanceReply ¶ added in v0.0.2
type StopInstanceReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*StopInstanceReply) Descriptor
deprecated
added in
v0.0.2
func (*StopInstanceReply) Descriptor() ([]byte, []int)
Deprecated: Use StopInstanceReply.ProtoReflect.Descriptor instead.
func (*StopInstanceReply) GetCode ¶ added in v0.0.3
func (x *StopInstanceReply) GetCode() int32
func (*StopInstanceReply) GetMessage ¶ added in v0.0.3
func (x *StopInstanceReply) GetMessage() string
func (*StopInstanceReply) ProtoMessage ¶ added in v0.0.2
func (*StopInstanceReply) ProtoMessage()
func (*StopInstanceReply) ProtoReflect ¶ added in v0.0.2
func (x *StopInstanceReply) ProtoReflect() protoreflect.Message
func (*StopInstanceReply) Reset ¶ added in v0.0.2
func (x *StopInstanceReply) Reset()
func (*StopInstanceReply) String ¶ added in v0.0.2
func (x *StopInstanceReply) String() string
type StorageClient ¶
type StorageClient interface { List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListReply, error) UploadFile(ctx context.Context, in *UploadFileRequest, opts ...grpc.CallOption) (*UploadFileReply, error) CreateDir(ctx context.Context, in *CreateDirRequest, opts ...grpc.CallOption) (*CreateDirReply, error) Download(ctx context.Context, in *DownloadRequest, opts ...grpc.CallOption) (*DownloadReply, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteReply, error) }
StorageClient is the client API for Storage 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.
func NewStorageClient ¶
func NewStorageClient(cc grpc.ClientConnInterface) StorageClient
type StorageHTTPClient ¶
type StorageHTTPClient interface { CreateDir(ctx context.Context, req *CreateDirRequest, opts ...http.CallOption) (rsp *CreateDirReply, err error) Delete(ctx context.Context, req *DeleteRequest, opts ...http.CallOption) (rsp *DeleteReply, err error) Download(ctx context.Context, req *DownloadRequest, opts ...http.CallOption) (rsp *DownloadReply, err error) List(ctx context.Context, req *ListRequest, opts ...http.CallOption) (rsp *ListReply, err error) UploadFile(ctx context.Context, req *UploadFileRequest, opts ...http.CallOption) (rsp *UploadFileReply, err error) }
func NewStorageHTTPClient ¶
func NewStorageHTTPClient(client *http.Client) StorageHTTPClient
type StorageHTTPClientImpl ¶
type StorageHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*StorageHTTPClientImpl) CreateDir ¶
func (c *StorageHTTPClientImpl) CreateDir(ctx context.Context, in *CreateDirRequest, opts ...http.CallOption) (*CreateDirReply, error)
func (*StorageHTTPClientImpl) Delete ¶
func (c *StorageHTTPClientImpl) Delete(ctx context.Context, in *DeleteRequest, opts ...http.CallOption) (*DeleteReply, error)
func (*StorageHTTPClientImpl) Download ¶
func (c *StorageHTTPClientImpl) Download(ctx context.Context, in *DownloadRequest, opts ...http.CallOption) (*DownloadReply, error)
func (*StorageHTTPClientImpl) List ¶
func (c *StorageHTTPClientImpl) List(ctx context.Context, in *ListRequest, opts ...http.CallOption) (*ListReply, error)
func (*StorageHTTPClientImpl) UploadFile ¶
func (c *StorageHTTPClientImpl) UploadFile(ctx context.Context, in *UploadFileRequest, opts ...http.CallOption) (*UploadFileReply, error)
type StorageHTTPServer ¶
type StorageHTTPServer interface { CreateDir(context.Context, *CreateDirRequest) (*CreateDirReply, error) Delete(context.Context, *DeleteRequest) (*DeleteReply, error) Download(context.Context, *DownloadRequest) (*DownloadReply, error) List(context.Context, *ListRequest) (*ListReply, error) UploadFile(context.Context, *UploadFileRequest) (*UploadFileReply, error) }
type StorageServer ¶
type StorageServer interface { List(context.Context, *ListRequest) (*ListReply, error) UploadFile(context.Context, *UploadFileRequest) (*UploadFileReply, error) CreateDir(context.Context, *CreateDirRequest) (*CreateDirReply, error) Download(context.Context, *DownloadRequest) (*DownloadReply, error) Delete(context.Context, *DeleteRequest) (*DeleteReply, error) // contains filtered or unexported methods }
StorageServer is the server API for Storage service. All implementations must embed UnimplementedStorageServer for forward compatibility
type UnimplementedComputeInstanceServer ¶ added in v0.0.2
type UnimplementedComputeInstanceServer struct { }
UnimplementedComputeInstanceServer must be embedded to have forward compatible implementations.
func (UnimplementedComputeInstanceServer) Create ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) Create(context.Context, *CreateInstanceRequest) (*CreateInstanceReply, error)
func (UnimplementedComputeInstanceServer) Delete ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) Delete(context.Context, *DeleteInstanceRequest) (*DeleteInstanceReply, error)
func (UnimplementedComputeInstanceServer) Get ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) Get(context.Context, *GetInstanceRequest) (*GetInstanceReply, error)
func (UnimplementedComputeInstanceServer) List ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) List(context.Context, *ListInstanceRequest) (*ListInstanceReply, error)
func (UnimplementedComputeInstanceServer) ListComputeImage ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) ListComputeImage(context.Context, *ListComputeImageRequest) (*ListComputeImageReply, error)
func (UnimplementedComputeInstanceServer) ListComputeInstanceDuration ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) ListComputeInstanceDuration(context.Context, *ListComputeDurationRequest) (*ListComputeDurationReply, error)
func (UnimplementedComputeInstanceServer) ListComputeSpec ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) ListComputeSpec(context.Context, *ListComputeSpecRequest) (*ListComputeSpecReply, error)
func (UnimplementedComputeInstanceServer) StartInstance ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) StartInstance(context.Context, *GetInstanceRequest) (*StartInstanceReply, error)
func (UnimplementedComputeInstanceServer) StopInstance ¶ added in v0.0.2
func (UnimplementedComputeInstanceServer) StopInstance(context.Context, *GetInstanceRequest) (*StopInstanceReply, error)
type UnimplementedComputePowerServer ¶ added in v0.0.3
type UnimplementedComputePowerServer struct { }
UnimplementedComputePowerServer must be embedded to have forward compatible implementations.
func (UnimplementedComputePowerServer) CancelExecPythonPackage ¶ added in v0.0.3
func (UnimplementedComputePowerServer) CancelExecPythonPackage(context.Context, *CancelExecPythonPackageRequest) (*CancelExecPythonPackageReply, error)
func (UnimplementedComputePowerServer) DownloadScriptExecuteResult ¶ added in v0.0.3
func (UnimplementedComputePowerServer) DownloadScriptExecuteResult(context.Context, *DownloadScriptExecuteResultRequest) (*DownloadScriptExecuteResultReply, error)
func (UnimplementedComputePowerServer) GetScriptInfo ¶ added in v0.0.3
func (UnimplementedComputePowerServer) GetScriptInfo(context.Context, *GetScriptInfoRequest) (*GetScriptInfoReply, error)
func (UnimplementedComputePowerServer) GetScriptList ¶ added in v0.0.3
func (UnimplementedComputePowerServer) GetScriptList(context.Context, *GetScriptListRequest) (*GetScriptListReply, error)
func (UnimplementedComputePowerServer) RunPythonPackage ¶ added in v0.0.3
func (UnimplementedComputePowerServer) RunPythonPackage(context.Context, *RunPythonPackageServerRequest) (*RunPythonPackageServerReply, error)
func (UnimplementedComputePowerServer) UploadScriptFile ¶ added in v0.0.3
func (UnimplementedComputePowerServer) UploadScriptFile(context.Context, *UploadScriptFileRequest) (*UploadScriptFileReply, error)
type UnimplementedStorageServer ¶
type UnimplementedStorageServer struct { }
UnimplementedStorageServer must be embedded to have forward compatible implementations.
func (UnimplementedStorageServer) CreateDir ¶
func (UnimplementedStorageServer) CreateDir(context.Context, *CreateDirRequest) (*CreateDirReply, error)
func (UnimplementedStorageServer) Delete ¶
func (UnimplementedStorageServer) Delete(context.Context, *DeleteRequest) (*DeleteReply, error)
func (UnimplementedStorageServer) Download ¶
func (UnimplementedStorageServer) Download(context.Context, *DownloadRequest) (*DownloadReply, error)
func (UnimplementedStorageServer) List ¶
func (UnimplementedStorageServer) List(context.Context, *ListRequest) (*ListReply, error)
func (UnimplementedStorageServer) UploadFile ¶
func (UnimplementedStorageServer) UploadFile(context.Context, *UploadFileRequest) (*UploadFileReply, error)
type UnsafeComputeInstanceServer ¶ added in v0.0.2
type UnsafeComputeInstanceServer interface {
// contains filtered or unexported methods
}
UnsafeComputeInstanceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ComputeInstanceServer will result in compilation errors.
type UnsafeComputePowerServer ¶ added in v0.0.3
type UnsafeComputePowerServer interface {
// contains filtered or unexported methods
}
UnsafeComputePowerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ComputePowerServer will result in compilation errors.
type UnsafeStorageServer ¶
type UnsafeStorageServer interface {
// contains filtered or unexported methods
}
UnsafeStorageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServer will result in compilation errors.
type UploadFileReply ¶ added in v0.0.3
type UploadFileReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *File `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UploadFileReply) Descriptor
deprecated
added in
v0.0.3
func (*UploadFileReply) Descriptor() ([]byte, []int)
Deprecated: Use UploadFileReply.ProtoReflect.Descriptor instead.
func (*UploadFileReply) GetCode ¶ added in v0.0.3
func (x *UploadFileReply) GetCode() int32
func (*UploadFileReply) GetData ¶ added in v0.0.3
func (x *UploadFileReply) GetData() *File
func (*UploadFileReply) GetMessage ¶ added in v0.0.3
func (x *UploadFileReply) GetMessage() string
func (*UploadFileReply) ProtoMessage ¶ added in v0.0.3
func (*UploadFileReply) ProtoMessage()
func (*UploadFileReply) ProtoReflect ¶ added in v0.0.3
func (x *UploadFileReply) ProtoReflect() protoreflect.Message
func (*UploadFileReply) Reset ¶ added in v0.0.3
func (x *UploadFileReply) Reset()
func (*UploadFileReply) String ¶ added in v0.0.3
func (x *UploadFileReply) String() string
type UploadFileRequest ¶
type UploadFileRequest struct { Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ParentId *string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` // contains filtered or unexported fields }
func (*UploadFileRequest) Descriptor
deprecated
func (*UploadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadFileRequest.ProtoReflect.Descriptor instead.
func (*UploadFileRequest) GetBody ¶
func (x *UploadFileRequest) GetBody() []byte
func (*UploadFileRequest) GetName ¶
func (x *UploadFileRequest) GetName() string
func (*UploadFileRequest) GetParentId ¶
func (x *UploadFileRequest) GetParentId() string
func (*UploadFileRequest) ProtoMessage ¶
func (*UploadFileRequest) ProtoMessage()
func (*UploadFileRequest) ProtoReflect ¶
func (x *UploadFileRequest) ProtoReflect() protoreflect.Message
func (*UploadFileRequest) Reset ¶
func (x *UploadFileRequest) Reset()
func (*UploadFileRequest) String ¶
func (x *UploadFileRequest) String() string
type UploadScriptFileReply ¶ added in v0.0.3
type UploadScriptFileReply struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TaskNumber int32 `protobuf:"varint,2,opt,name=taskNumber,proto3" json:"taskNumber,omitempty"` ScriptName string `protobuf:"bytes,3,opt,name=scriptName,proto3" json:"scriptName,omitempty"` ScriptContent string `protobuf:"bytes,4,opt,name=scriptContent,proto3" json:"scriptContent,omitempty"` ExecuteState int32 `protobuf:"varint,5,opt,name=executeState,proto3" json:"executeState,omitempty"` // contains filtered or unexported fields }
func (*UploadScriptFileReply) Descriptor
deprecated
added in
v0.0.3
func (*UploadScriptFileReply) Descriptor() ([]byte, []int)
Deprecated: Use UploadScriptFileReply.ProtoReflect.Descriptor instead.
func (*UploadScriptFileReply) GetExecuteState ¶ added in v0.0.3
func (x *UploadScriptFileReply) GetExecuteState() int32
func (*UploadScriptFileReply) GetId ¶ added in v0.0.3
func (x *UploadScriptFileReply) GetId() int32
func (*UploadScriptFileReply) GetScriptContent ¶ added in v0.0.3
func (x *UploadScriptFileReply) GetScriptContent() string
func (*UploadScriptFileReply) GetScriptName ¶ added in v0.0.3
func (x *UploadScriptFileReply) GetScriptName() string
func (*UploadScriptFileReply) GetTaskNumber ¶ added in v0.0.3
func (x *UploadScriptFileReply) GetTaskNumber() int32
func (*UploadScriptFileReply) ProtoMessage ¶ added in v0.0.3
func (*UploadScriptFileReply) ProtoMessage()
func (*UploadScriptFileReply) ProtoReflect ¶ added in v0.0.3
func (x *UploadScriptFileReply) ProtoReflect() protoreflect.Message
func (*UploadScriptFileReply) Reset ¶ added in v0.0.3
func (x *UploadScriptFileReply) Reset()
func (*UploadScriptFileReply) String ¶ added in v0.0.3
func (x *UploadScriptFileReply) String() string
type UploadScriptFileRequest ¶ added in v0.0.3
type UploadScriptFileRequest struct { Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UploadScriptFileRequest) Descriptor
deprecated
added in
v0.0.3
func (*UploadScriptFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadScriptFileRequest.ProtoReflect.Descriptor instead.
func (*UploadScriptFileRequest) GetBody ¶ added in v0.0.3
func (x *UploadScriptFileRequest) GetBody() []byte
func (*UploadScriptFileRequest) GetName ¶ added in v0.0.3
func (x *UploadScriptFileRequest) GetName() string
func (*UploadScriptFileRequest) ProtoMessage ¶ added in v0.0.3
func (*UploadScriptFileRequest) ProtoMessage()
func (*UploadScriptFileRequest) ProtoReflect ¶ added in v0.0.3
func (x *UploadScriptFileRequest) ProtoReflect() protoreflect.Message
func (*UploadScriptFileRequest) Reset ¶ added in v0.0.3
func (x *UploadScriptFileRequest) Reset()
func (*UploadScriptFileRequest) String ¶ added in v0.0.3
func (x *UploadScriptFileRequest) String() string