v1.5.1 增强程序稳定性
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc v6.33.2
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.19.6
|
||||
// source: service_node_task.proto
|
||||
|
||||
package pb
|
||||
@@ -203,34 +203,34 @@ type NodeTaskServiceServer interface {
|
||||
type UnimplementedNodeTaskServiceServer struct{}
|
||||
|
||||
func (UnimplementedNodeTaskServiceServer) FindNodeTasks(context.Context, *FindNodeTasksRequest) (*FindNodeTasksResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNodeTasks not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNodeTasks not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) ReportNodeTaskDone(context.Context, *ReportNodeTaskDoneRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ReportNodeTaskDone not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ReportNodeTaskDone not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) FindNodeClusterTasks(context.Context, *FindNodeClusterTasksRequest) (*FindNodeClusterTasksResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNodeClusterTasks not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNodeClusterTasks not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) ExistsNodeTasks(context.Context, *ExistsNodeTasksRequest) (*ExistsNodeTasksResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ExistsNodeTasks not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method ExistsNodeTasks not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) DeleteNodeTask(context.Context, *DeleteNodeTaskRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteNodeTask not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteNodeTask not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) DeleteNodeTasks(context.Context, *DeleteNodeTasksRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteNodeTasks not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteNodeTasks not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) DeleteAllNodeTasks(context.Context, *DeleteAllNodeTasksRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteAllNodeTasks not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method DeleteAllNodeTasks not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) CountDoingNodeTasks(context.Context, *CountDoingNodeTasksRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountDoingNodeTasks not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CountDoingNodeTasks not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) FindNotifyingNodeTasks(context.Context, *FindNotifyingNodeTasksRequest) (*FindNotifyingNodeTasksResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindNotifyingNodeTasks not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindNotifyingNodeTasks not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) UpdateNodeTasksNotified(context.Context, *UpdateNodeTasksNotifiedRequest) (*RPCSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeTasksNotified not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method UpdateNodeTasksNotified not implemented")
|
||||
}
|
||||
func (UnimplementedNodeTaskServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -242,7 +242,7 @@ type UnsafeNodeTaskServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterNodeTaskServiceServer(s grpc.ServiceRegistrar, srv NodeTaskServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedNodeTaskServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedNodeTaskServiceServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
Reference in New Issue
Block a user