mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-07 23:30:25 +08:00
实现路径规则部分功能
This commit is contained in:
@@ -276,44 +276,6 @@ func (x *DeleteAPINodeRequest) GetNodeId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type DeleteAPINodeResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *DeleteAPINodeResponse) Reset() {
|
||||
*x = DeleteAPINodeResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DeleteAPINodeResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeleteAPINodeResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[4]
|
||||
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 DeleteAPINodeResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteAPINodeResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
// 列出所有可用API节点
|
||||
type FindAllEnabledAPINodesRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -324,7 +286,7 @@ type FindAllEnabledAPINodesRequest struct {
|
||||
func (x *FindAllEnabledAPINodesRequest) Reset() {
|
||||
*x = FindAllEnabledAPINodesRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[5]
|
||||
mi := &file_service_api_node_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -337,7 +299,7 @@ func (x *FindAllEnabledAPINodesRequest) String() string {
|
||||
func (*FindAllEnabledAPINodesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindAllEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[5]
|
||||
mi := &file_service_api_node_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -350,7 +312,7 @@ func (x *FindAllEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllEnabledAPINodesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindAllEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{5}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
type FindAllEnabledAPINodesResponse struct {
|
||||
@@ -364,7 +326,7 @@ type FindAllEnabledAPINodesResponse struct {
|
||||
func (x *FindAllEnabledAPINodesResponse) Reset() {
|
||||
*x = FindAllEnabledAPINodesResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[6]
|
||||
mi := &file_service_api_node_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -377,7 +339,7 @@ func (x *FindAllEnabledAPINodesResponse) String() string {
|
||||
func (*FindAllEnabledAPINodesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[6]
|
||||
mi := &file_service_api_node_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -390,7 +352,7 @@ func (x *FindAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindAllEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindAllEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *FindAllEnabledAPINodesResponse) GetNodes() []*APINode {
|
||||
@@ -410,7 +372,7 @@ type CountAllEnabledAPINodesRequest struct {
|
||||
func (x *CountAllEnabledAPINodesRequest) Reset() {
|
||||
*x = CountAllEnabledAPINodesRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
mi := &file_service_api_node_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -423,7 +385,7 @@ func (x *CountAllEnabledAPINodesRequest) String() string {
|
||||
func (*CountAllEnabledAPINodesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
mi := &file_service_api_node_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -436,7 +398,7 @@ func (x *CountAllEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CountAllEnabledAPINodesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{7}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
type CountAllEnabledAPINodesResponse struct {
|
||||
@@ -450,7 +412,7 @@ type CountAllEnabledAPINodesResponse struct {
|
||||
func (x *CountAllEnabledAPINodesResponse) Reset() {
|
||||
*x = CountAllEnabledAPINodesResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[8]
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -463,7 +425,7 @@ func (x *CountAllEnabledAPINodesResponse) String() string {
|
||||
func (*CountAllEnabledAPINodesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[8]
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -476,7 +438,7 @@ func (x *CountAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CountAllEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *CountAllEnabledAPINodesResponse) GetCount() int64 {
|
||||
@@ -499,7 +461,7 @@ type ListEnabledAPINodesRequest struct {
|
||||
func (x *ListEnabledAPINodesRequest) Reset() {
|
||||
*x = ListEnabledAPINodesRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[9]
|
||||
mi := &file_service_api_node_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -512,7 +474,7 @@ func (x *ListEnabledAPINodesRequest) String() string {
|
||||
func (*ListEnabledAPINodesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[9]
|
||||
mi := &file_service_api_node_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -525,7 +487,7 @@ func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListEnabledAPINodesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{9}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *ListEnabledAPINodesRequest) GetOffset() int64 {
|
||||
@@ -553,7 +515,7 @@ type ListEnabledAPINodesResponse struct {
|
||||
func (x *ListEnabledAPINodesResponse) Reset() {
|
||||
*x = ListEnabledAPINodesResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[10]
|
||||
mi := &file_service_api_node_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -566,7 +528,7 @@ func (x *ListEnabledAPINodesResponse) String() string {
|
||||
func (*ListEnabledAPINodesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[10]
|
||||
mi := &file_service_api_node_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -579,7 +541,7 @@ func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *ListEnabledAPINodesResponse) GetNodes() []*APINode {
|
||||
@@ -601,7 +563,7 @@ type FindEnabledAPINodeRequest struct {
|
||||
func (x *FindEnabledAPINodeRequest) Reset() {
|
||||
*x = FindEnabledAPINodeRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[11]
|
||||
mi := &file_service_api_node_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -614,7 +576,7 @@ func (x *FindEnabledAPINodeRequest) String() string {
|
||||
func (*FindEnabledAPINodeRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[11]
|
||||
mi := &file_service_api_node_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -627,7 +589,7 @@ func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledAPINodeRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledAPINodeRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{11}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *FindEnabledAPINodeRequest) GetNodeId() int64 {
|
||||
@@ -648,7 +610,7 @@ type FindEnabledAPINodeResponse struct {
|
||||
func (x *FindEnabledAPINodeResponse) Reset() {
|
||||
*x = FindEnabledAPINodeResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[12]
|
||||
mi := &file_service_api_node_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -661,7 +623,7 @@ func (x *FindEnabledAPINodeResponse) String() string {
|
||||
func (*FindEnabledAPINodeResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[12]
|
||||
mi := &file_service_api_node_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -674,7 +636,7 @@ func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledAPINodeResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledAPINodeResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *FindEnabledAPINodeResponse) GetNode() *APINode {
|
||||
@@ -713,75 +675,73 @@ var file_service_api_node_proto_rawDesc = []byte{
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x2e, 0x0a, 0x14,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x43, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65,
|
||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x43,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50,
|
||||
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x37, 0x0a,
|
||||
0x1f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x48, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
||||
0x22, 0x40, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d,
|
||||
0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50,
|
||||
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x43, 0x0a,
|
||||
0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41,
|
||||
0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0xcf, 0x04, 0x0a, 0x0e, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
||||
0x12, 0x44, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49,
|
||||
0x65, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x22, 0x37, 0x0a, 0x1f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x48, 0x0a,
|
||||
0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f,
|
||||
0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66,
|
||||
0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x40, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3d,
|
||||
0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0xca, 0x04,
|
||||
0x0a, 0x0e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
||||
0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64,
|
||||
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6c,
|
||||
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
|
||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x63, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
||||
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f,
|
||||
0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a,
|
||||
0x13, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -796,42 +756,42 @@ func file_service_api_node_proto_rawDescGZIP() []byte {
|
||||
return file_service_api_node_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_api_node_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_service_api_node_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_service_api_node_proto_goTypes = []interface{}{
|
||||
(*CreateAPINodeRequest)(nil), // 0: pb.CreateAPINodeRequest
|
||||
(*CreateAPINodeResponse)(nil), // 1: pb.CreateAPINodeResponse
|
||||
(*UpdateAPINodeRequest)(nil), // 2: pb.UpdateAPINodeRequest
|
||||
(*DeleteAPINodeRequest)(nil), // 3: pb.DeleteAPINodeRequest
|
||||
(*DeleteAPINodeResponse)(nil), // 4: pb.DeleteAPINodeResponse
|
||||
(*FindAllEnabledAPINodesRequest)(nil), // 5: pb.FindAllEnabledAPINodesRequest
|
||||
(*FindAllEnabledAPINodesResponse)(nil), // 6: pb.FindAllEnabledAPINodesResponse
|
||||
(*CountAllEnabledAPINodesRequest)(nil), // 7: pb.CountAllEnabledAPINodesRequest
|
||||
(*CountAllEnabledAPINodesResponse)(nil), // 8: pb.CountAllEnabledAPINodesResponse
|
||||
(*ListEnabledAPINodesRequest)(nil), // 9: pb.ListEnabledAPINodesRequest
|
||||
(*ListEnabledAPINodesResponse)(nil), // 10: pb.ListEnabledAPINodesResponse
|
||||
(*FindEnabledAPINodeRequest)(nil), // 11: pb.FindEnabledAPINodeRequest
|
||||
(*FindEnabledAPINodeResponse)(nil), // 12: pb.FindEnabledAPINodeResponse
|
||||
(*APINode)(nil), // 13: pb.APINode
|
||||
(*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess
|
||||
(*FindAllEnabledAPINodesRequest)(nil), // 4: pb.FindAllEnabledAPINodesRequest
|
||||
(*FindAllEnabledAPINodesResponse)(nil), // 5: pb.FindAllEnabledAPINodesResponse
|
||||
(*CountAllEnabledAPINodesRequest)(nil), // 6: pb.CountAllEnabledAPINodesRequest
|
||||
(*CountAllEnabledAPINodesResponse)(nil), // 7: pb.CountAllEnabledAPINodesResponse
|
||||
(*ListEnabledAPINodesRequest)(nil), // 8: pb.ListEnabledAPINodesRequest
|
||||
(*ListEnabledAPINodesResponse)(nil), // 9: pb.ListEnabledAPINodesResponse
|
||||
(*FindEnabledAPINodeRequest)(nil), // 10: pb.FindEnabledAPINodeRequest
|
||||
(*FindEnabledAPINodeResponse)(nil), // 11: pb.FindEnabledAPINodeResponse
|
||||
(*APINode)(nil), // 12: pb.APINode
|
||||
(*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess
|
||||
(*RPCDeleteSuccess)(nil), // 14: pb.RPCDeleteSuccess
|
||||
}
|
||||
var file_service_api_node_proto_depIdxs = []int32{
|
||||
13, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
13, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
13, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode
|
||||
12, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
12, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
12, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode
|
||||
0, // 3: pb.APINodeService.createAPINode:input_type -> pb.CreateAPINodeRequest
|
||||
2, // 4: pb.APINodeService.updateAPINode:input_type -> pb.UpdateAPINodeRequest
|
||||
3, // 5: pb.APINodeService.deleteAPINode:input_type -> pb.DeleteAPINodeRequest
|
||||
5, // 6: pb.APINodeService.findAllEnabledAPINodes:input_type -> pb.FindAllEnabledAPINodesRequest
|
||||
7, // 7: pb.APINodeService.countAllEnabledAPINodes:input_type -> pb.CountAllEnabledAPINodesRequest
|
||||
9, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest
|
||||
11, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest
|
||||
4, // 6: pb.APINodeService.findAllEnabledAPINodes:input_type -> pb.FindAllEnabledAPINodesRequest
|
||||
6, // 7: pb.APINodeService.countAllEnabledAPINodes:input_type -> pb.CountAllEnabledAPINodesRequest
|
||||
8, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest
|
||||
10, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest
|
||||
1, // 10: pb.APINodeService.createAPINode:output_type -> pb.CreateAPINodeResponse
|
||||
14, // 11: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess
|
||||
4, // 12: pb.APINodeService.deleteAPINode:output_type -> pb.DeleteAPINodeResponse
|
||||
6, // 13: pb.APINodeService.findAllEnabledAPINodes:output_type -> pb.FindAllEnabledAPINodesResponse
|
||||
8, // 14: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.CountAllEnabledAPINodesResponse
|
||||
10, // 15: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse
|
||||
12, // 16: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse
|
||||
13, // 11: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess
|
||||
14, // 12: pb.APINodeService.deleteAPINode:output_type -> pb.RPCDeleteSuccess
|
||||
5, // 13: pb.APINodeService.findAllEnabledAPINodes:output_type -> pb.FindAllEnabledAPINodesResponse
|
||||
7, // 14: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.CountAllEnabledAPINodesResponse
|
||||
9, // 15: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse
|
||||
11, // 16: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse
|
||||
10, // [10:17] is the sub-list for method output_type
|
||||
3, // [3:10] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
@@ -896,18 +856,6 @@ func file_service_api_node_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DeleteAPINodeResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindAllEnabledAPINodesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -919,7 +867,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindAllEnabledAPINodesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -931,7 +879,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountAllEnabledAPINodesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -943,7 +891,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountAllEnabledAPINodesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -955,7 +903,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListEnabledAPINodesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -967,7 +915,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListEnabledAPINodesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -979,7 +927,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledAPINodeRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -991,7 +939,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledAPINodeResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1010,7 +958,7 @@ func file_service_api_node_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_api_node_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 13,
|
||||
NumMessages: 12,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1041,7 +989,7 @@ type APINodeServiceClient interface {
|
||||
// 修改API节点
|
||||
UpdateAPINode(ctx context.Context, in *UpdateAPINodeRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
||||
// 删除API节点
|
||||
DeleteAPINode(ctx context.Context, in *DeleteAPINodeRequest, opts ...grpc.CallOption) (*DeleteAPINodeResponse, error)
|
||||
DeleteAPINode(ctx context.Context, in *DeleteAPINodeRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
||||
// 列出所有可用API节点
|
||||
FindAllEnabledAPINodes(ctx context.Context, in *FindAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*FindAllEnabledAPINodesResponse, error)
|
||||
// 计算API节点数量
|
||||
@@ -1078,8 +1026,8 @@ func (c *aPINodeServiceClient) UpdateAPINode(ctx context.Context, in *UpdateAPIN
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *aPINodeServiceClient) DeleteAPINode(ctx context.Context, in *DeleteAPINodeRequest, opts ...grpc.CallOption) (*DeleteAPINodeResponse, error) {
|
||||
out := new(DeleteAPINodeResponse)
|
||||
func (c *aPINodeServiceClient) DeleteAPINode(ctx context.Context, in *DeleteAPINodeRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error) {
|
||||
out := new(RPCDeleteSuccess)
|
||||
err := c.cc.Invoke(ctx, "/pb.APINodeService/deleteAPINode", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1130,7 +1078,7 @@ type APINodeServiceServer interface {
|
||||
// 修改API节点
|
||||
UpdateAPINode(context.Context, *UpdateAPINodeRequest) (*RPCUpdateSuccess, error)
|
||||
// 删除API节点
|
||||
DeleteAPINode(context.Context, *DeleteAPINodeRequest) (*DeleteAPINodeResponse, error)
|
||||
DeleteAPINode(context.Context, *DeleteAPINodeRequest) (*RPCDeleteSuccess, error)
|
||||
// 列出所有可用API节点
|
||||
FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error)
|
||||
// 计算API节点数量
|
||||
@@ -1151,7 +1099,7 @@ func (*UnimplementedAPINodeServiceServer) CreateAPINode(context.Context, *Create
|
||||
func (*UnimplementedAPINodeServiceServer) UpdateAPINode(context.Context, *UpdateAPINodeRequest) (*RPCUpdateSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateAPINode not implemented")
|
||||
}
|
||||
func (*UnimplementedAPINodeServiceServer) DeleteAPINode(context.Context, *DeleteAPINodeRequest) (*DeleteAPINodeResponse, error) {
|
||||
func (*UnimplementedAPINodeServiceServer) DeleteAPINode(context.Context, *DeleteAPINodeRequest) (*RPCDeleteSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteAPINode not implemented")
|
||||
}
|
||||
func (*UnimplementedAPINodeServiceServer) FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error) {
|
||||
|
||||
Reference in New Issue
Block a user