Documentation ¶
Index ¶
- Variables
- type AllocatePartyResourceRequest
- func (*AllocatePartyResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllocatePartyResourceRequest) GetBlockId() *protobuf.BlockID
- func (x *AllocatePartyResourceRequest) GetResourceRequirement() *common.ResourceRequirement
- func (x *AllocatePartyResourceRequest) GetResourceType() enums.Resource_Type
- func (*AllocatePartyResourceRequest) ProtoMessage()
- func (x *AllocatePartyResourceRequest) ProtoReflect() protoreflect.Message
- func (x *AllocatePartyResourceRequest) Reset()
- func (x *AllocatePartyResourceRequest) String() string
- type AllocatePartyResourceResponse
- func (*AllocatePartyResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllocatePartyResourceResponse) GetOperator() *Operator
- func (x *AllocatePartyResourceResponse) GetResourceRequirement() *common.ResourceRequirement
- func (*AllocatePartyResourceResponse) ProtoMessage()
- func (x *AllocatePartyResourceResponse) ProtoReflect() protoreflect.Message
- func (x *AllocatePartyResourceResponse) Reset()
- func (x *AllocatePartyResourceResponse) String() string
- type Consumption
- func (*Consumption) Descriptor() ([]byte, []int)deprecated
- func (x *Consumption) GetConsumed() map[string]uint64
- func (x *Consumption) GetResourceId() string
- func (x *Consumption) GetResourceMode() enums.Resource_Mode
- func (x *Consumption) GetResourceType() enums.Resource_Type
- func (*Consumption) ProtoMessage()
- func (x *Consumption) ProtoReflect() protoreflect.Message
- func (x *Consumption) Reset()
- func (x *Consumption) String() string
- type DeployPartyResourceRequest
- func (*DeployPartyResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployPartyResourceRequest) GetBlockId() *protobuf.BlockID
- func (x *DeployPartyResourceRequest) GetResourceRequirement() *common.ResourceRequirement
- func (x *DeployPartyResourceRequest) GetResourceType() enums.Resource_Type
- func (*DeployPartyResourceRequest) ProtoMessage()
- func (x *DeployPartyResourceRequest) ProtoReflect() protoreflect.Message
- func (x *DeployPartyResourceRequest) Reset()
- func (x *DeployPartyResourceRequest) String() string
- type DeployPartyResourceResponse
- func (*DeployPartyResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployPartyResourceResponse) GetOperator() *Operator
- func (*DeployPartyResourceResponse) ProtoMessage()
- func (x *DeployPartyResourceResponse) ProtoReflect() protoreflect.Message
- func (x *DeployPartyResourceResponse) Reset()
- func (x *DeployPartyResourceResponse) String() string
- type FinishPartyBlockRequest
- func (*FinishPartyBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FinishPartyBlockRequest) GetBlockId() *protobuf.BlockID
- func (x *FinishPartyBlockRequest) GetFinalStatus() enums.Dag_Job_Status
- func (x *FinishPartyBlockRequest) GetMessage() string
- func (*FinishPartyBlockRequest) ProtoMessage()
- func (x *FinishPartyBlockRequest) ProtoReflect() protoreflect.Message
- func (x *FinishPartyBlockRequest) Reset()
- func (x *FinishPartyBlockRequest) String() string
- type GetPartyResourceStatusRequest
- func (*GetPartyResourceStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPartyResourceStatusRequest) GetBlockId() *protobuf.BlockID
- func (x *GetPartyResourceStatusRequest) GetResourceType() enums.Resource_Type
- func (*GetPartyResourceStatusRequest) ProtoMessage()
- func (x *GetPartyResourceStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetPartyResourceStatusRequest) Reset()
- func (x *GetPartyResourceStatusRequest) String() string
- type GetPartyResourceStatusResponse
- func (*GetPartyResourceStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPartyResourceStatusResponse) GetOperator() *Operator
- func (*GetPartyResourceStatusResponse) ProtoMessage()
- func (x *GetPartyResourceStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetPartyResourceStatusResponse) Reset()
- func (x *GetPartyResourceStatusResponse) String() string
- type Operator
- func (*Operator) Descriptor() ([]byte, []int)deprecated
- func (x *Operator) GetGrpcPort() uint32
- func (x *Operator) GetOpHost() string
- func (x *Operator) GetOpPort() uint32
- func (x *Operator) GetReady() bool
- func (*Operator) ProtoMessage()
- func (x *Operator) ProtoReflect() protoreflect.Message
- func (x *Operator) Reset()
- func (x *Operator) String() string
- type PartyResourceStatus
- func (*PartyResourceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PartyResourceStatus) GetStatus() map[uint64]*Operator
- func (*PartyResourceStatus) ProtoMessage()
- func (x *PartyResourceStatus) ProtoReflect() protoreflect.Message
- func (x *PartyResourceStatus) Reset()
- func (x *PartyResourceStatus) String() string
- type ReleasePartyResourceRequest
- func (*ReleasePartyResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleasePartyResourceRequest) GetBlockId() *protobuf.BlockID
- func (x *ReleasePartyResourceRequest) GetResourceType() enums.Resource_Type
- func (*ReleasePartyResourceRequest) ProtoMessage()
- func (x *ReleasePartyResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ReleasePartyResourceRequest) Reset()
- func (x *ReleasePartyResourceRequest) String() string
- type UpdatePartyResourceStatusRequest
- func (*UpdatePartyResourceStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePartyResourceStatusRequest) GetBlockId() *protobuf.BlockID
- func (x *UpdatePartyResourceStatusRequest) GetBlockScheduleStatus() enums.Job_BlockScheduleStatus
- func (x *UpdatePartyResourceStatusRequest) GetBlockStatus() enums.Dag_Job_Status
- func (x *UpdatePartyResourceStatusRequest) GetOperator() *Operator
- func (*UpdatePartyResourceStatusRequest) ProtoMessage()
- func (x *UpdatePartyResourceStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePartyResourceStatusRequest) Reset()
- func (x *UpdatePartyResourceStatusRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_sudo_mpc_virtual_service_platform_resource_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllocatePartyResourceRequest ¶
type AllocatePartyResourceRequest struct { BlockId *protobuf.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` ResourceType enums.Resource_Type `` /* 137-byte string literal not displayed */ ResourceRequirement *common.ResourceRequirement `protobuf:"bytes,3,opt,name=resource_requirement,json=resourceRequirement,proto3" json:"resource_requirement,omitempty"` // contains filtered or unexported fields }
func (*AllocatePartyResourceRequest) Descriptor
deprecated
func (*AllocatePartyResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllocatePartyResourceRequest.ProtoReflect.Descriptor instead.
func (*AllocatePartyResourceRequest) GetBlockId ¶
func (x *AllocatePartyResourceRequest) GetBlockId() *protobuf.BlockID
func (*AllocatePartyResourceRequest) GetResourceRequirement ¶
func (x *AllocatePartyResourceRequest) GetResourceRequirement() *common.ResourceRequirement
func (*AllocatePartyResourceRequest) GetResourceType ¶
func (x *AllocatePartyResourceRequest) GetResourceType() enums.Resource_Type
func (*AllocatePartyResourceRequest) ProtoMessage ¶
func (*AllocatePartyResourceRequest) ProtoMessage()
func (*AllocatePartyResourceRequest) ProtoReflect ¶
func (x *AllocatePartyResourceRequest) ProtoReflect() protoreflect.Message
func (*AllocatePartyResourceRequest) Reset ¶
func (x *AllocatePartyResourceRequest) Reset()
func (*AllocatePartyResourceRequest) String ¶
func (x *AllocatePartyResourceRequest) String() string
type AllocatePartyResourceResponse ¶
type AllocatePartyResourceResponse struct { Operator *Operator `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` ResourceRequirement *common.ResourceRequirement `protobuf:"bytes,2,opt,name=resource_requirement,json=resourceRequirement,proto3" json:"resource_requirement,omitempty"` // contains filtered or unexported fields }
func (*AllocatePartyResourceResponse) Descriptor
deprecated
func (*AllocatePartyResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllocatePartyResourceResponse.ProtoReflect.Descriptor instead.
func (*AllocatePartyResourceResponse) GetOperator ¶
func (x *AllocatePartyResourceResponse) GetOperator() *Operator
func (*AllocatePartyResourceResponse) GetResourceRequirement ¶
func (x *AllocatePartyResourceResponse) GetResourceRequirement() *common.ResourceRequirement
func (*AllocatePartyResourceResponse) ProtoMessage ¶
func (*AllocatePartyResourceResponse) ProtoMessage()
func (*AllocatePartyResourceResponse) ProtoReflect ¶
func (x *AllocatePartyResourceResponse) ProtoReflect() protoreflect.Message
func (*AllocatePartyResourceResponse) Reset ¶
func (x *AllocatePartyResourceResponse) Reset()
func (*AllocatePartyResourceResponse) String ¶
func (x *AllocatePartyResourceResponse) String() string
type Consumption ¶
type Consumption struct { ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` Consumed map[string]uint64 `` /* 158-byte string literal not displayed */ ResourceType enums.Resource_Type `` /* 137-byte string literal not displayed */ ResourceMode enums.Resource_Mode `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Consumption) Descriptor
deprecated
func (*Consumption) Descriptor() ([]byte, []int)
Deprecated: Use Consumption.ProtoReflect.Descriptor instead.
func (*Consumption) GetConsumed ¶
func (x *Consumption) GetConsumed() map[string]uint64
func (*Consumption) GetResourceId ¶
func (x *Consumption) GetResourceId() string
func (*Consumption) GetResourceMode ¶
func (x *Consumption) GetResourceMode() enums.Resource_Mode
func (*Consumption) GetResourceType ¶
func (x *Consumption) GetResourceType() enums.Resource_Type
func (*Consumption) ProtoMessage ¶
func (*Consumption) ProtoMessage()
func (*Consumption) ProtoReflect ¶
func (x *Consumption) ProtoReflect() protoreflect.Message
func (*Consumption) Reset ¶
func (x *Consumption) Reset()
func (*Consumption) String ¶
func (x *Consumption) String() string
type DeployPartyResourceRequest ¶
type DeployPartyResourceRequest struct { BlockId *protobuf.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` ResourceType enums.Resource_Type `` /* 137-byte string literal not displayed */ ResourceRequirement *common.ResourceRequirement `protobuf:"bytes,3,opt,name=resource_requirement,json=resourceRequirement,proto3" json:"resource_requirement,omitempty"` // contains filtered or unexported fields }
func (*DeployPartyResourceRequest) Descriptor
deprecated
func (*DeployPartyResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployPartyResourceRequest.ProtoReflect.Descriptor instead.
func (*DeployPartyResourceRequest) GetBlockId ¶
func (x *DeployPartyResourceRequest) GetBlockId() *protobuf.BlockID
func (*DeployPartyResourceRequest) GetResourceRequirement ¶
func (x *DeployPartyResourceRequest) GetResourceRequirement() *common.ResourceRequirement
func (*DeployPartyResourceRequest) GetResourceType ¶
func (x *DeployPartyResourceRequest) GetResourceType() enums.Resource_Type
func (*DeployPartyResourceRequest) ProtoMessage ¶
func (*DeployPartyResourceRequest) ProtoMessage()
func (*DeployPartyResourceRequest) ProtoReflect ¶
func (x *DeployPartyResourceRequest) ProtoReflect() protoreflect.Message
func (*DeployPartyResourceRequest) Reset ¶
func (x *DeployPartyResourceRequest) Reset()
func (*DeployPartyResourceRequest) String ¶
func (x *DeployPartyResourceRequest) String() string
type DeployPartyResourceResponse ¶
type DeployPartyResourceResponse struct { Operator *Operator `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // contains filtered or unexported fields }
func (*DeployPartyResourceResponse) Descriptor
deprecated
func (*DeployPartyResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployPartyResourceResponse.ProtoReflect.Descriptor instead.
func (*DeployPartyResourceResponse) GetOperator ¶
func (x *DeployPartyResourceResponse) GetOperator() *Operator
func (*DeployPartyResourceResponse) ProtoMessage ¶
func (*DeployPartyResourceResponse) ProtoMessage()
func (*DeployPartyResourceResponse) ProtoReflect ¶
func (x *DeployPartyResourceResponse) ProtoReflect() protoreflect.Message
func (*DeployPartyResourceResponse) Reset ¶
func (x *DeployPartyResourceResponse) Reset()
func (*DeployPartyResourceResponse) String ¶
func (x *DeployPartyResourceResponse) String() string
type FinishPartyBlockRequest ¶
type FinishPartyBlockRequest struct { BlockId *protobuf.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` FinalStatus enums.Dag_Job_Status `` /* 135-byte string literal not displayed */ Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*FinishPartyBlockRequest) Descriptor
deprecated
func (*FinishPartyBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinishPartyBlockRequest.ProtoReflect.Descriptor instead.
func (*FinishPartyBlockRequest) GetBlockId ¶
func (x *FinishPartyBlockRequest) GetBlockId() *protobuf.BlockID
func (*FinishPartyBlockRequest) GetFinalStatus ¶
func (x *FinishPartyBlockRequest) GetFinalStatus() enums.Dag_Job_Status
func (*FinishPartyBlockRequest) GetMessage ¶
func (x *FinishPartyBlockRequest) GetMessage() string
func (*FinishPartyBlockRequest) ProtoMessage ¶
func (*FinishPartyBlockRequest) ProtoMessage()
func (*FinishPartyBlockRequest) ProtoReflect ¶
func (x *FinishPartyBlockRequest) ProtoReflect() protoreflect.Message
func (*FinishPartyBlockRequest) Reset ¶
func (x *FinishPartyBlockRequest) Reset()
func (*FinishPartyBlockRequest) String ¶
func (x *FinishPartyBlockRequest) String() string
type GetPartyResourceStatusRequest ¶
type GetPartyResourceStatusRequest struct { BlockId *protobuf.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` ResourceType enums.Resource_Type `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetPartyResourceStatusRequest) Descriptor
deprecated
func (*GetPartyResourceStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPartyResourceStatusRequest.ProtoReflect.Descriptor instead.
func (*GetPartyResourceStatusRequest) GetBlockId ¶
func (x *GetPartyResourceStatusRequest) GetBlockId() *protobuf.BlockID
func (*GetPartyResourceStatusRequest) GetResourceType ¶
func (x *GetPartyResourceStatusRequest) GetResourceType() enums.Resource_Type
func (*GetPartyResourceStatusRequest) ProtoMessage ¶
func (*GetPartyResourceStatusRequest) ProtoMessage()
func (*GetPartyResourceStatusRequest) ProtoReflect ¶
func (x *GetPartyResourceStatusRequest) ProtoReflect() protoreflect.Message
func (*GetPartyResourceStatusRequest) Reset ¶
func (x *GetPartyResourceStatusRequest) Reset()
func (*GetPartyResourceStatusRequest) String ¶
func (x *GetPartyResourceStatusRequest) String() string
type GetPartyResourceStatusResponse ¶
type GetPartyResourceStatusResponse struct { Operator *Operator `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // contains filtered or unexported fields }
func (*GetPartyResourceStatusResponse) Descriptor
deprecated
func (*GetPartyResourceStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPartyResourceStatusResponse.ProtoReflect.Descriptor instead.
func (*GetPartyResourceStatusResponse) GetOperator ¶
func (x *GetPartyResourceStatusResponse) GetOperator() *Operator
func (*GetPartyResourceStatusResponse) ProtoMessage ¶
func (*GetPartyResourceStatusResponse) ProtoMessage()
func (*GetPartyResourceStatusResponse) ProtoReflect ¶
func (x *GetPartyResourceStatusResponse) ProtoReflect() protoreflect.Message
func (*GetPartyResourceStatusResponse) Reset ¶
func (x *GetPartyResourceStatusResponse) Reset()
func (*GetPartyResourceStatusResponse) String ¶
func (x *GetPartyResourceStatusResponse) String() string
type Operator ¶
type Operator struct { OpHost string `protobuf:"bytes,1,opt,name=op_host,json=opHost,proto3" json:"op_host,omitempty"` OpPort uint32 `protobuf:"varint,2,opt,name=op_port,json=opPort,proto3" json:"op_port,omitempty"` GrpcPort uint32 `protobuf:"varint,3,opt,name=grpc_port,json=grpcPort,proto3" json:"grpc_port,omitempty"` Ready bool `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"` // contains filtered or unexported fields }
func (*Operator) Descriptor
deprecated
func (*Operator) GetGrpcPort ¶
func (*Operator) ProtoMessage ¶
func (*Operator) ProtoMessage()
func (*Operator) ProtoReflect ¶
func (x *Operator) ProtoReflect() protoreflect.Message
type PartyResourceStatus ¶
type PartyResourceStatus struct { Status map[uint64]*Operator `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PartyResourceStatus) Descriptor
deprecated
func (*PartyResourceStatus) Descriptor() ([]byte, []int)
Deprecated: Use PartyResourceStatus.ProtoReflect.Descriptor instead.
func (*PartyResourceStatus) GetStatus ¶
func (x *PartyResourceStatus) GetStatus() map[uint64]*Operator
func (*PartyResourceStatus) ProtoMessage ¶
func (*PartyResourceStatus) ProtoMessage()
func (*PartyResourceStatus) ProtoReflect ¶
func (x *PartyResourceStatus) ProtoReflect() protoreflect.Message
func (*PartyResourceStatus) Reset ¶
func (x *PartyResourceStatus) Reset()
func (*PartyResourceStatus) String ¶
func (x *PartyResourceStatus) String() string
type ReleasePartyResourceRequest ¶
type ReleasePartyResourceRequest struct { BlockId *protobuf.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` ResourceType enums.Resource_Type `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ReleasePartyResourceRequest) Descriptor
deprecated
func (*ReleasePartyResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleasePartyResourceRequest.ProtoReflect.Descriptor instead.
func (*ReleasePartyResourceRequest) GetBlockId ¶
func (x *ReleasePartyResourceRequest) GetBlockId() *protobuf.BlockID
func (*ReleasePartyResourceRequest) GetResourceType ¶
func (x *ReleasePartyResourceRequest) GetResourceType() enums.Resource_Type
func (*ReleasePartyResourceRequest) ProtoMessage ¶
func (*ReleasePartyResourceRequest) ProtoMessage()
func (*ReleasePartyResourceRequest) ProtoReflect ¶
func (x *ReleasePartyResourceRequest) ProtoReflect() protoreflect.Message
func (*ReleasePartyResourceRequest) Reset ¶
func (x *ReleasePartyResourceRequest) Reset()
func (*ReleasePartyResourceRequest) String ¶
func (x *ReleasePartyResourceRequest) String() string
type UpdatePartyResourceStatusRequest ¶
type UpdatePartyResourceStatusRequest struct { BlockId *protobuf.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Operator *Operator `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` BlockScheduleStatus enums.Job_BlockScheduleStatus `` /* 170-byte string literal not displayed */ BlockStatus enums.Dag_Job_Status `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdatePartyResourceStatusRequest) Descriptor
deprecated
func (*UpdatePartyResourceStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePartyResourceStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdatePartyResourceStatusRequest) GetBlockId ¶
func (x *UpdatePartyResourceStatusRequest) GetBlockId() *protobuf.BlockID
func (*UpdatePartyResourceStatusRequest) GetBlockScheduleStatus ¶
func (x *UpdatePartyResourceStatusRequest) GetBlockScheduleStatus() enums.Job_BlockScheduleStatus
func (*UpdatePartyResourceStatusRequest) GetBlockStatus ¶
func (x *UpdatePartyResourceStatusRequest) GetBlockStatus() enums.Dag_Job_Status
func (*UpdatePartyResourceStatusRequest) GetOperator ¶
func (x *UpdatePartyResourceStatusRequest) GetOperator() *Operator
func (*UpdatePartyResourceStatusRequest) ProtoMessage ¶
func (*UpdatePartyResourceStatusRequest) ProtoMessage()
func (*UpdatePartyResourceStatusRequest) ProtoReflect ¶
func (x *UpdatePartyResourceStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdatePartyResourceStatusRequest) Reset ¶
func (x *UpdatePartyResourceStatusRequest) Reset()
func (*UpdatePartyResourceStatusRequest) String ¶
func (x *UpdatePartyResourceStatusRequest) String() string