|
|
|
|
@@ -536,6 +536,45 @@ func (x *DeleteNodeTasksRequest) GetNodeTaskIds() []int64 {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 删除所有任务
|
|
|
|
|
type DeleteAllNodeTasksRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteAllNodeTasksRequest) Reset() {
|
|
|
|
|
*x = DeleteAllNodeTasksRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[10]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteAllNodeTasksRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*DeleteAllNodeTasksRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteAllNodeTasksRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[10]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DeleteAllNodeTasksRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DeleteAllNodeTasksRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 计算正在执行的任务数量
|
|
|
|
|
type CountDoingNodeTasksRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
@@ -546,7 +585,7 @@ type CountDoingNodeTasksRequest struct {
|
|
|
|
|
func (x *CountDoingNodeTasksRequest) Reset() {
|
|
|
|
|
*x = CountDoingNodeTasksRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[10]
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[11]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@@ -559,7 +598,7 @@ func (x *CountDoingNodeTasksRequest) String() string {
|
|
|
|
|
func (*CountDoingNodeTasksRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountDoingNodeTasksRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[10]
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[11]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@@ -572,7 +611,7 @@ func (x *CountDoingNodeTasksRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CountDoingNodeTasksRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountDoingNodeTasksRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查找需要通知的任务
|
|
|
|
|
@@ -587,7 +626,7 @@ type FindNotifyingNodeTasksRequest struct {
|
|
|
|
|
func (x *FindNotifyingNodeTasksRequest) Reset() {
|
|
|
|
|
*x = FindNotifyingNodeTasksRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[11]
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[12]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@@ -600,7 +639,7 @@ func (x *FindNotifyingNodeTasksRequest) String() string {
|
|
|
|
|
func (*FindNotifyingNodeTasksRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindNotifyingNodeTasksRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[11]
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[12]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@@ -613,7 +652,7 @@ func (x *FindNotifyingNodeTasksRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNotifyingNodeTasksRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNotifyingNodeTasksRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNotifyingNodeTasksRequest) GetSize() int64 {
|
|
|
|
|
@@ -634,7 +673,7 @@ type FindNotifyingNodeTasksResponse struct {
|
|
|
|
|
func (x *FindNotifyingNodeTasksResponse) Reset() {
|
|
|
|
|
*x = FindNotifyingNodeTasksResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[12]
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[13]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@@ -647,7 +686,7 @@ func (x *FindNotifyingNodeTasksResponse) String() string {
|
|
|
|
|
func (*FindNotifyingNodeTasksResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindNotifyingNodeTasksResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[12]
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[13]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@@ -660,7 +699,7 @@ func (x *FindNotifyingNodeTasksResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNotifyingNodeTasksResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNotifyingNodeTasksResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{13}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNotifyingNodeTasksResponse) GetNodeTasks() []*NodeTask {
|
|
|
|
|
@@ -682,7 +721,7 @@ type UpdateNodeTasksNotifiedRequest struct {
|
|
|
|
|
func (x *UpdateNodeTasksNotifiedRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeTasksNotifiedRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[13]
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[14]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@@ -695,7 +734,7 @@ func (x *UpdateNodeTasksNotifiedRequest) String() string {
|
|
|
|
|
func (*UpdateNodeTasksNotifiedRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeTasksNotifiedRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[13]
|
|
|
|
|
mi := &file_service_node_task_proto_msgTypes[14]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@@ -708,7 +747,7 @@ func (x *UpdateNodeTasksNotifiedRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateNodeTasksNotifiedRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeTasksNotifiedRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{13}
|
|
|
|
|
return file_service_node_task_proto_rawDescGZIP(), []int{14}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeTasksNotifiedRequest) GetNodeTaskIds() []int64 {
|
|
|
|
|
@@ -772,66 +811,72 @@ var file_service_node_task_proto_rawDesc = []byte{
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
|
0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x01,
|
|
|
|
|
0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64,
|
|
|
|
|
0x73, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
|
|
|
|
0x33, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x69, 0x6e, 0x67,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
|
|
|
|
0x73, 0x69, 0x7a, 0x65, 0x22, 0x4c, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69,
|
|
|
|
|
0x66, 0x79, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61,
|
|
|
|
|
0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73,
|
|
|
|
|
0x6b, 0x73, 0x22, 0x42, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x54, 0x61, 0x73, 0x6b, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
|
|
|
0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x54,
|
|
|
|
|
0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x32, 0xbc, 0x05, 0x0a, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x54,
|
|
|
|
|
0x61, 0x73, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x66, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x43, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61,
|
|
|
|
|
0x73, 0x6b, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x70, 0x6f,
|
|
|
|
|
0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65,
|
|
|
|
|
0x73, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1c,
|
|
|
|
|
0x0a, 0x1a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x33, 0x0a, 0x1d,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a,
|
|
|
|
|
0x65, 0x22, 0x4c, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x69,
|
|
|
|
|
0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73,
|
|
|
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x54, 0x61, 0x73, 0x6b, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x22,
|
|
|
|
|
0x42, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73,
|
|
|
|
|
0x6b, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73,
|
|
|
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
|
|
|
0x49, 0x64, 0x73, 0x32, 0x81, 0x06, 0x0a, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
|
|
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x66, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a,
|
|
|
|
|
0x12, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x44,
|
|
|
|
|
0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65,
|
|
|
|
|
0x73, 0x73, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54,
|
|
|
|
|
0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a,
|
|
|
|
|
0x0f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73,
|
|
|
|
|
0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
|
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x64, 0x65, 0x6c,
|
|
|
|
|
0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53,
|
|
|
|
|
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
|
|
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
|
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1f, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x4a, 0x0a, 0x0f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61,
|
|
|
|
|
0x73, 0x6b, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
|
0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x54,
|
|
|
|
|
0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0e,
|
|
|
|
|
0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61,
|
|
|
|
|
0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
|
|
|
|
0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x64, 0x65, 0x6c,
|
|
|
|
|
0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1a, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
|
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
|
|
|
|
0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4b, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
|
|
0x74, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12,
|
|
|
|
|
0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
|
0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74,
|
|
|
|
|
0x69, 0x66, 0x79, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12,
|
|
|
|
|
0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x69,
|
|
|
|
|
0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69,
|
|
|
|
|
0x66, 0x79, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x65,
|
|
|
|
|
0x64, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
|
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41,
|
|
|
|
|
0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61,
|
|
|
|
|
0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4b, 0x0a, 0x13, 0x63, 0x6f,
|
|
|
|
|
0x75, 0x6e, 0x74, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
|
|
|
0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x69, 0x6e,
|
|
|
|
|
0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x6f, 0x74, 0x69, 0x66, 0x79, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
|
|
|
0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66,
|
|
|
|
|
0x79, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f,
|
|
|
|
|
0x74, 0x69, 0x66, 0x79, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x75, 0x70, 0x64, 0x61,
|
|
|
|
|
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66,
|
|
|
|
|
0x69, 0x65, 0x64, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
|
|
|
|
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
|
|
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
@@ -846,7 +891,7 @@ func file_service_node_task_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_service_node_task_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_service_node_task_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
|
|
|
var file_service_node_task_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
|
|
|
var file_service_node_task_proto_goTypes = []interface{}{
|
|
|
|
|
(*FindNodeTasksRequest)(nil), // 0: pb.FindNodeTasksRequest
|
|
|
|
|
(*FindNodeTasksResponse)(nil), // 1: pb.FindNodeTasksResponse
|
|
|
|
|
@@ -858,39 +903,42 @@ var file_service_node_task_proto_goTypes = []interface{}{
|
|
|
|
|
(*ExistsNodeTasksResponse)(nil), // 7: pb.ExistsNodeTasksResponse
|
|
|
|
|
(*DeleteNodeTaskRequest)(nil), // 8: pb.DeleteNodeTaskRequest
|
|
|
|
|
(*DeleteNodeTasksRequest)(nil), // 9: pb.DeleteNodeTasksRequest
|
|
|
|
|
(*CountDoingNodeTasksRequest)(nil), // 10: pb.CountDoingNodeTasksRequest
|
|
|
|
|
(*FindNotifyingNodeTasksRequest)(nil), // 11: pb.FindNotifyingNodeTasksRequest
|
|
|
|
|
(*FindNotifyingNodeTasksResponse)(nil), // 12: pb.FindNotifyingNodeTasksResponse
|
|
|
|
|
(*UpdateNodeTasksNotifiedRequest)(nil), // 13: pb.UpdateNodeTasksNotifiedRequest
|
|
|
|
|
(*NodeTask)(nil), // 14: pb.NodeTask
|
|
|
|
|
(*RPCSuccess)(nil), // 15: pb.RPCSuccess
|
|
|
|
|
(*RPCCountResponse)(nil), // 16: pb.RPCCountResponse
|
|
|
|
|
(*DeleteAllNodeTasksRequest)(nil), // 10: pb.DeleteAllNodeTasksRequest
|
|
|
|
|
(*CountDoingNodeTasksRequest)(nil), // 11: pb.CountDoingNodeTasksRequest
|
|
|
|
|
(*FindNotifyingNodeTasksRequest)(nil), // 12: pb.FindNotifyingNodeTasksRequest
|
|
|
|
|
(*FindNotifyingNodeTasksResponse)(nil), // 13: pb.FindNotifyingNodeTasksResponse
|
|
|
|
|
(*UpdateNodeTasksNotifiedRequest)(nil), // 14: pb.UpdateNodeTasksNotifiedRequest
|
|
|
|
|
(*NodeTask)(nil), // 15: pb.NodeTask
|
|
|
|
|
(*RPCSuccess)(nil), // 16: pb.RPCSuccess
|
|
|
|
|
(*RPCCountResponse)(nil), // 17: pb.RPCCountResponse
|
|
|
|
|
}
|
|
|
|
|
var file_service_node_task_proto_depIdxs = []int32{
|
|
|
|
|
14, // 0: pb.FindNodeTasksResponse.nodeTasks:type_name -> pb.NodeTask
|
|
|
|
|
15, // 0: pb.FindNodeTasksResponse.nodeTasks:type_name -> pb.NodeTask
|
|
|
|
|
5, // 1: pb.FindNodeClusterTasksResponse.clusterTasks:type_name -> pb.ClusterTask
|
|
|
|
|
14, // 2: pb.ClusterTask.nodeTasks:type_name -> pb.NodeTask
|
|
|
|
|
14, // 3: pb.FindNotifyingNodeTasksResponse.nodeTasks:type_name -> pb.NodeTask
|
|
|
|
|
15, // 2: pb.ClusterTask.nodeTasks:type_name -> pb.NodeTask
|
|
|
|
|
15, // 3: pb.FindNotifyingNodeTasksResponse.nodeTasks:type_name -> pb.NodeTask
|
|
|
|
|
0, // 4: pb.NodeTaskService.findNodeTasks:input_type -> pb.FindNodeTasksRequest
|
|
|
|
|
2, // 5: pb.NodeTaskService.reportNodeTaskDone:input_type -> pb.ReportNodeTaskDoneRequest
|
|
|
|
|
3, // 6: pb.NodeTaskService.findNodeClusterTasks:input_type -> pb.FindNodeClusterTasksRequest
|
|
|
|
|
6, // 7: pb.NodeTaskService.existsNodeTasks:input_type -> pb.ExistsNodeTasksRequest
|
|
|
|
|
8, // 8: pb.NodeTaskService.deleteNodeTask:input_type -> pb.DeleteNodeTaskRequest
|
|
|
|
|
9, // 9: pb.NodeTaskService.deleteNodeTasks:input_type -> pb.DeleteNodeTasksRequest
|
|
|
|
|
10, // 10: pb.NodeTaskService.countDoingNodeTasks:input_type -> pb.CountDoingNodeTasksRequest
|
|
|
|
|
11, // 11: pb.NodeTaskService.findNotifyingNodeTasks:input_type -> pb.FindNotifyingNodeTasksRequest
|
|
|
|
|
13, // 12: pb.NodeTaskService.updateNodeTasksNotified:input_type -> pb.UpdateNodeTasksNotifiedRequest
|
|
|
|
|
1, // 13: pb.NodeTaskService.findNodeTasks:output_type -> pb.FindNodeTasksResponse
|
|
|
|
|
15, // 14: pb.NodeTaskService.reportNodeTaskDone:output_type -> pb.RPCSuccess
|
|
|
|
|
4, // 15: pb.NodeTaskService.findNodeClusterTasks:output_type -> pb.FindNodeClusterTasksResponse
|
|
|
|
|
7, // 16: pb.NodeTaskService.existsNodeTasks:output_type -> pb.ExistsNodeTasksResponse
|
|
|
|
|
15, // 17: pb.NodeTaskService.deleteNodeTask:output_type -> pb.RPCSuccess
|
|
|
|
|
15, // 18: pb.NodeTaskService.deleteNodeTasks:output_type -> pb.RPCSuccess
|
|
|
|
|
16, // 19: pb.NodeTaskService.countDoingNodeTasks:output_type -> pb.RPCCountResponse
|
|
|
|
|
12, // 20: pb.NodeTaskService.findNotifyingNodeTasks:output_type -> pb.FindNotifyingNodeTasksResponse
|
|
|
|
|
15, // 21: pb.NodeTaskService.updateNodeTasksNotified:output_type -> pb.RPCSuccess
|
|
|
|
|
13, // [13:22] is the sub-list for method output_type
|
|
|
|
|
4, // [4:13] is the sub-list for method input_type
|
|
|
|
|
10, // 10: pb.NodeTaskService.deleteAllNodeTasks:input_type -> pb.DeleteAllNodeTasksRequest
|
|
|
|
|
11, // 11: pb.NodeTaskService.countDoingNodeTasks:input_type -> pb.CountDoingNodeTasksRequest
|
|
|
|
|
12, // 12: pb.NodeTaskService.findNotifyingNodeTasks:input_type -> pb.FindNotifyingNodeTasksRequest
|
|
|
|
|
14, // 13: pb.NodeTaskService.updateNodeTasksNotified:input_type -> pb.UpdateNodeTasksNotifiedRequest
|
|
|
|
|
1, // 14: pb.NodeTaskService.findNodeTasks:output_type -> pb.FindNodeTasksResponse
|
|
|
|
|
16, // 15: pb.NodeTaskService.reportNodeTaskDone:output_type -> pb.RPCSuccess
|
|
|
|
|
4, // 16: pb.NodeTaskService.findNodeClusterTasks:output_type -> pb.FindNodeClusterTasksResponse
|
|
|
|
|
7, // 17: pb.NodeTaskService.existsNodeTasks:output_type -> pb.ExistsNodeTasksResponse
|
|
|
|
|
16, // 18: pb.NodeTaskService.deleteNodeTask:output_type -> pb.RPCSuccess
|
|
|
|
|
16, // 19: pb.NodeTaskService.deleteNodeTasks:output_type -> pb.RPCSuccess
|
|
|
|
|
16, // 20: pb.NodeTaskService.deleteAllNodeTasks:output_type -> pb.RPCSuccess
|
|
|
|
|
17, // 21: pb.NodeTaskService.countDoingNodeTasks:output_type -> pb.RPCCountResponse
|
|
|
|
|
13, // 22: pb.NodeTaskService.findNotifyingNodeTasks:output_type -> pb.FindNotifyingNodeTasksResponse
|
|
|
|
|
16, // 23: pb.NodeTaskService.updateNodeTasksNotified:output_type -> pb.RPCSuccess
|
|
|
|
|
14, // [14:24] is the sub-list for method output_type
|
|
|
|
|
4, // [4:14] is the sub-list for method input_type
|
|
|
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
|
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:4] is the sub-list for field type_name
|
|
|
|
|
@@ -1025,7 +1073,7 @@ func file_service_node_task_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_task_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CountDoingNodeTasksRequest); i {
|
|
|
|
|
switch v := v.(*DeleteAllNodeTasksRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
@@ -1037,7 +1085,7 @@ func file_service_node_task_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_task_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNotifyingNodeTasksRequest); i {
|
|
|
|
|
switch v := v.(*CountDoingNodeTasksRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
@@ -1049,7 +1097,7 @@ func file_service_node_task_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_task_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNotifyingNodeTasksResponse); i {
|
|
|
|
|
switch v := v.(*FindNotifyingNodeTasksRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
@@ -1061,6 +1109,18 @@ func file_service_node_task_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_task_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNotifyingNodeTasksResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_task_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNodeTasksNotifiedRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
@@ -1079,7 +1139,7 @@ func file_service_node_task_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_service_node_task_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 14,
|
|
|
|
|
NumMessages: 15,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
@@ -1117,6 +1177,8 @@ type NodeTaskServiceClient interface {
|
|
|
|
|
DeleteNodeTask(ctx context.Context, in *DeleteNodeTaskRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 批量删除任务
|
|
|
|
|
DeleteNodeTasks(ctx context.Context, in *DeleteNodeTasksRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 删除所有任务
|
|
|
|
|
DeleteAllNodeTasks(ctx context.Context, in *DeleteAllNodeTasksRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 计算正在执行的任务数量
|
|
|
|
|
CountDoingNodeTasks(ctx context.Context, in *CountDoingNodeTasksRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
|
|
|
|
// 查找需要通知的任务
|
|
|
|
|
@@ -1187,6 +1249,15 @@ func (c *nodeTaskServiceClient) DeleteNodeTasks(ctx context.Context, in *DeleteN
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeTaskServiceClient) DeleteAllNodeTasks(ctx context.Context, in *DeleteAllNodeTasksRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeTaskService/deleteAllNodeTasks", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeTaskServiceClient) CountDoingNodeTasks(ctx context.Context, in *CountDoingNodeTasksRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
|
|
|
|
out := new(RPCCountResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeTaskService/countDoingNodeTasks", in, out, opts...)
|
|
|
|
|
@@ -1228,6 +1299,8 @@ type NodeTaskServiceServer interface {
|
|
|
|
|
DeleteNodeTask(context.Context, *DeleteNodeTaskRequest) (*RPCSuccess, error)
|
|
|
|
|
// 批量删除任务
|
|
|
|
|
DeleteNodeTasks(context.Context, *DeleteNodeTasksRequest) (*RPCSuccess, error)
|
|
|
|
|
// 删除所有任务
|
|
|
|
|
DeleteAllNodeTasks(context.Context, *DeleteAllNodeTasksRequest) (*RPCSuccess, error)
|
|
|
|
|
// 计算正在执行的任务数量
|
|
|
|
|
CountDoingNodeTasks(context.Context, *CountDoingNodeTasksRequest) (*RPCCountResponse, error)
|
|
|
|
|
// 查找需要通知的任务
|
|
|
|
|
@@ -1258,6 +1331,9 @@ func (*UnimplementedNodeTaskServiceServer) DeleteNodeTask(context.Context, *Dele
|
|
|
|
|
func (*UnimplementedNodeTaskServiceServer) DeleteNodeTasks(context.Context, *DeleteNodeTasksRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteNodeTasks not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeTaskServiceServer) DeleteAllNodeTasks(context.Context, *DeleteAllNodeTasksRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteAllNodeTasks not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeTaskServiceServer) CountDoingNodeTasks(context.Context, *CountDoingNodeTasksRequest) (*RPCCountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountDoingNodeTasks not implemented")
|
|
|
|
|
}
|
|
|
|
|
@@ -1380,6 +1456,24 @@ func _NodeTaskService_DeleteNodeTasks_Handler(srv interface{}, ctx context.Conte
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeTaskService_DeleteAllNodeTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(DeleteAllNodeTasksRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeTaskServiceServer).DeleteAllNodeTasks(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeTaskService/DeleteAllNodeTasks",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeTaskServiceServer).DeleteAllNodeTasks(ctx, req.(*DeleteAllNodeTasksRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeTaskService_CountDoingNodeTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountDoingNodeTasksRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
@@ -1462,6 +1556,10 @@ var _NodeTaskService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "deleteNodeTasks",
|
|
|
|
|
Handler: _NodeTaskService_DeleteNodeTasks_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "deleteAllNodeTasks",
|
|
|
|
|
Handler: _NodeTaskService_DeleteAllNodeTasks_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "countDoingNodeTasks",
|
|
|
|
|
Handler: _NodeTaskService_CountDoingNodeTasks_Handler,
|
|
|
|
|
|