 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func RegisterVmRuntimeServer(s grpc.ServiceRegistrar, srv VmRuntimeServer)
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetContent() string
- func (x *CreateRequest) GetExpParam() string
- func (x *CreateRequest) GetProjectID() uint64
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
 
- type CreateResponse
- type ExecuteRequest
- func (*ExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteRequest) GetClientID() string
- func (x *ExecuteRequest) GetDatas() []string
- func (x *ExecuteRequest) GetProjectID() uint64
- func (x *ExecuteRequest) GetSequencerSignature() string
- func (x *ExecuteRequest) GetTaskID() uint64
- func (*ExecuteRequest) ProtoMessage()
- func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteRequest) Reset()
- func (x *ExecuteRequest) String() string
 
- type ExecuteResponse
- type UnimplementedVmRuntimeServer
- type UnsafeVmRuntimeServer
- type VmRuntimeClient
- type VmRuntimeServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_vm_runtime_proto protoreflect.FileDescriptor
    var VmRuntime_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vm_runtime.VmRuntime", HandlerType: (*VmRuntimeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _VmRuntime_Create_Handler, }, { MethodName: "Execute", Handler: _VmRuntime_Execute_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/vm_runtime.proto", }
VmRuntime_ServiceDesc is the grpc.ServiceDesc for VmRuntime service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterVmRuntimeServer ¶
func RegisterVmRuntimeServer(s grpc.ServiceRegistrar, srv VmRuntimeServer)
Types ¶
type CreateRequest ¶
type CreateRequest struct {
	ProjectID uint64 `protobuf:"varint,1,opt,name=projectID,proto3" json:"projectID,omitempty"`
	Content   string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	ExpParam  string `protobuf:"bytes,3,opt,name=expParam,proto3" json:"expParam,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*CreateRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetContent ¶
func (x *CreateRequest) GetContent() string
func (*CreateRequest) GetExpParam ¶
func (x *CreateRequest) GetExpParam() string
func (*CreateRequest) GetProjectID ¶
func (x *CreateRequest) GetProjectID() uint64
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*CreateResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type ExecuteRequest ¶
type ExecuteRequest struct {
	ProjectID          uint64   `protobuf:"varint,1,opt,name=projectID,proto3" json:"projectID,omitempty"`
	TaskID             uint64   `protobuf:"varint,2,opt,name=taskID,proto3" json:"taskID,omitempty"`
	ClientID           string   `protobuf:"bytes,3,opt,name=clientID,proto3" json:"clientID,omitempty"`
	SequencerSignature string   `protobuf:"bytes,4,opt,name=sequencerSignature,proto3" json:"sequencerSignature,omitempty"`
	Datas              []string `protobuf:"bytes,5,rep,name=datas,proto3" json:"datas,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ExecuteRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRequest) GetClientID ¶
func (x *ExecuteRequest) GetClientID() string
func (*ExecuteRequest) GetDatas ¶
func (x *ExecuteRequest) GetDatas() []string
func (*ExecuteRequest) GetProjectID ¶
func (x *ExecuteRequest) GetProjectID() uint64
func (*ExecuteRequest) GetSequencerSignature ¶
func (x *ExecuteRequest) GetSequencerSignature() string
func (*ExecuteRequest) GetTaskID ¶
func (x *ExecuteRequest) GetTaskID() uint64
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) ProtoReflect ¶
func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
func (*ExecuteRequest) Reset ¶
func (x *ExecuteRequest) Reset()
func (*ExecuteRequest) String ¶
func (x *ExecuteRequest) String() string
type ExecuteResponse ¶
type ExecuteResponse struct {
	Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ExecuteResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.
func (*ExecuteResponse) GetResult ¶
func (x *ExecuteResponse) GetResult() []byte
func (*ExecuteResponse) ProtoMessage ¶
func (*ExecuteResponse) ProtoMessage()
func (*ExecuteResponse) ProtoReflect ¶
func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
func (*ExecuteResponse) Reset ¶
func (x *ExecuteResponse) Reset()
func (*ExecuteResponse) String ¶
func (x *ExecuteResponse) String() string
type UnimplementedVmRuntimeServer ¶
type UnimplementedVmRuntimeServer struct {
}
    UnimplementedVmRuntimeServer must be embedded to have forward compatible implementations.
func (UnimplementedVmRuntimeServer) Create ¶
func (UnimplementedVmRuntimeServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedVmRuntimeServer) Execute ¶
func (UnimplementedVmRuntimeServer) Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
type UnsafeVmRuntimeServer ¶
type UnsafeVmRuntimeServer interface {
	// contains filtered or unexported methods
}
    UnsafeVmRuntimeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VmRuntimeServer will result in compilation errors.
type VmRuntimeClient ¶
type VmRuntimeClient interface {
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*ExecuteResponse, error)
}
    VmRuntimeClient is the client API for VmRuntime 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 NewVmRuntimeClient ¶
func NewVmRuntimeClient(cc grpc.ClientConnInterface) VmRuntimeClient
type VmRuntimeServer ¶
type VmRuntimeServer interface {
	Create(context.Context, *CreateRequest) (*CreateResponse, error)
	Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
	// contains filtered or unexported methods
}
    VmRuntimeServer is the server API for VmRuntime service. All implementations must embed UnimplementedVmRuntimeServer for forward compatibility