mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-07 15:20:24 +08:00
增加DNS域名管理
This commit is contained in:
@@ -433,53 +433,6 @@ func (*CountAllEnabledAPINodesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
type CountAllEnabledAPINodesResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CountAllEnabledAPINodesResponse) Reset() {
|
||||
*x = CountAllEnabledAPINodesResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CountAllEnabledAPINodesResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CountAllEnabledAPINodesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CountAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[7]
|
||||
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 CountAllEnabledAPINodesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CountAllEnabledAPINodesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *CountAllEnabledAPINodesResponse) GetCount() int64 {
|
||||
if x != nil {
|
||||
return x.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 列出单页的API节点
|
||||
type ListEnabledAPINodesRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -493,7 +446,7 @@ type ListEnabledAPINodesRequest struct {
|
||||
func (x *ListEnabledAPINodesRequest) Reset() {
|
||||
*x = ListEnabledAPINodesRequest{}
|
||||
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)
|
||||
}
|
||||
@@ -506,7 +459,7 @@ func (x *ListEnabledAPINodesRequest) String() string {
|
||||
func (*ListEnabledAPINodesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledAPINodesRequest) 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 {
|
||||
@@ -519,7 +472,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{8}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *ListEnabledAPINodesRequest) GetOffset() int64 {
|
||||
@@ -547,7 +500,7 @@ type ListEnabledAPINodesResponse struct {
|
||||
func (x *ListEnabledAPINodesResponse) Reset() {
|
||||
*x = ListEnabledAPINodesResponse{}
|
||||
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)
|
||||
}
|
||||
@@ -560,7 +513,7 @@ func (x *ListEnabledAPINodesResponse) String() string {
|
||||
func (*ListEnabledAPINodesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListEnabledAPINodesResponse) 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 {
|
||||
@@ -573,7 +526,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{9}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *ListEnabledAPINodesResponse) GetNodes() []*APINode {
|
||||
@@ -595,7 +548,7 @@ type FindEnabledAPINodeRequest struct {
|
||||
func (x *FindEnabledAPINodeRequest) Reset() {
|
||||
*x = FindEnabledAPINodeRequest{}
|
||||
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)
|
||||
}
|
||||
@@ -608,7 +561,7 @@ func (x *FindEnabledAPINodeRequest) String() string {
|
||||
func (*FindEnabledAPINodeRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledAPINodeRequest) 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 {
|
||||
@@ -621,7 +574,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{10}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *FindEnabledAPINodeRequest) GetNodeId() int64 {
|
||||
@@ -642,7 +595,7 @@ type FindEnabledAPINodeResponse struct {
|
||||
func (x *FindEnabledAPINodeResponse) Reset() {
|
||||
*x = FindEnabledAPINodeResponse{}
|
||||
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)
|
||||
}
|
||||
@@ -655,7 +608,7 @@ func (x *FindEnabledAPINodeResponse) String() string {
|
||||
func (*FindEnabledAPINodeResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledAPINodeResponse) 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 {
|
||||
@@ -668,7 +621,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{11}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *FindEnabledAPINodeResponse) GetNode() *APINode {
|
||||
@@ -688,7 +641,7 @@ type FindCurrentAPINodeVersionRequest struct {
|
||||
func (x *FindCurrentAPINodeVersionRequest) Reset() {
|
||||
*x = FindCurrentAPINodeVersionRequest{}
|
||||
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)
|
||||
}
|
||||
@@ -701,7 +654,7 @@ func (x *FindCurrentAPINodeVersionRequest) String() string {
|
||||
func (*FindCurrentAPINodeVersionRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindCurrentAPINodeVersionRequest) 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 {
|
||||
@@ -714,7 +667,7 @@ func (x *FindCurrentAPINodeVersionRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindCurrentAPINodeVersionRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindCurrentAPINodeVersionRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{12}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
type FindCurrentAPINodeVersionResponse struct {
|
||||
@@ -728,7 +681,7 @@ type FindCurrentAPINodeVersionResponse struct {
|
||||
func (x *FindCurrentAPINodeVersionResponse) Reset() {
|
||||
*x = FindCurrentAPINodeVersionResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_api_node_proto_msgTypes[13]
|
||||
mi := &file_service_api_node_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -741,7 +694,7 @@ func (x *FindCurrentAPINodeVersionResponse) String() string {
|
||||
func (*FindCurrentAPINodeVersionResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindCurrentAPINodeVersionResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_api_node_proto_msgTypes[13]
|
||||
mi := &file_service_api_node_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -754,7 +707,7 @@ func (x *FindCurrentAPINodeVersionResponse) ProtoReflect() protoreflect.Message
|
||||
|
||||
// Deprecated: Use FindCurrentAPINodeVersionResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindCurrentAPINodeVersionResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{13}
|
||||
return file_service_api_node_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *FindCurrentAPINodeVersionResponse) GetVersion() string {
|
||||
@@ -812,77 +765,72 @@ var file_service_api_node_proto_rawDesc = []byte{
|
||||
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, 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, 0x22, 0x22,
|
||||
0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x22, 0x3d, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e,
|
||||
0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x32, 0xb4, 0x05, 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, 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, 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,
|
||||
0x71, 0x75, 0x65, 0x73, 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, 0x22, 0x22, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72,
|
||||
0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x21, 0x46, 0x69, 0x6e,
|
||||
0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56,
|
||||
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0xa5, 0x05, 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, 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, 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, 0x53, 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, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e,
|
||||
0x74, 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, 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, 0x12, 0x68,
|
||||
0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65,
|
||||
0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
||||
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, 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, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x43, 0x75,
|
||||
0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72,
|
||||
0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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 (
|
||||
@@ -897,7 +845,7 @@ 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, 14)
|
||||
var file_service_api_node_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_service_api_node_proto_goTypes = []interface{}{
|
||||
(*CreateAPINodeRequest)(nil), // 0: pb.CreateAPINodeRequest
|
||||
(*CreateAPINodeResponse)(nil), // 1: pb.CreateAPINodeResponse
|
||||
@@ -906,37 +854,37 @@ var file_service_api_node_proto_goTypes = []interface{}{
|
||||
(*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
|
||||
(*FindCurrentAPINodeVersionRequest)(nil), // 12: pb.FindCurrentAPINodeVersionRequest
|
||||
(*FindCurrentAPINodeVersionResponse)(nil), // 13: pb.FindCurrentAPINodeVersionResponse
|
||||
(*APINode)(nil), // 14: pb.APINode
|
||||
(*RPCUpdateSuccess)(nil), // 15: pb.RPCUpdateSuccess
|
||||
(*RPCDeleteSuccess)(nil), // 16: pb.RPCDeleteSuccess
|
||||
(*ListEnabledAPINodesRequest)(nil), // 7: pb.ListEnabledAPINodesRequest
|
||||
(*ListEnabledAPINodesResponse)(nil), // 8: pb.ListEnabledAPINodesResponse
|
||||
(*FindEnabledAPINodeRequest)(nil), // 9: pb.FindEnabledAPINodeRequest
|
||||
(*FindEnabledAPINodeResponse)(nil), // 10: pb.FindEnabledAPINodeResponse
|
||||
(*FindCurrentAPINodeVersionRequest)(nil), // 11: pb.FindCurrentAPINodeVersionRequest
|
||||
(*FindCurrentAPINodeVersionResponse)(nil), // 12: pb.FindCurrentAPINodeVersionResponse
|
||||
(*APINode)(nil), // 13: pb.APINode
|
||||
(*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess
|
||||
(*RPCDeleteSuccess)(nil), // 15: pb.RPCDeleteSuccess
|
||||
(*RPCCountResponse)(nil), // 16: pb.RPCCountResponse
|
||||
}
|
||||
var file_service_api_node_proto_depIdxs = []int32{
|
||||
14, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
14, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode
|
||||
14, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode
|
||||
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
|
||||
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
|
||||
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
|
||||
12, // 10: pb.APINodeService.findCurrentAPINodeVersion:input_type -> pb.FindCurrentAPINodeVersionRequest
|
||||
7, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest
|
||||
9, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest
|
||||
11, // 10: pb.APINodeService.findCurrentAPINodeVersion:input_type -> pb.FindCurrentAPINodeVersionRequest
|
||||
1, // 11: pb.APINodeService.createAPINode:output_type -> pb.CreateAPINodeResponse
|
||||
15, // 12: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess
|
||||
16, // 13: pb.APINodeService.deleteAPINode:output_type -> pb.RPCDeleteSuccess
|
||||
14, // 12: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess
|
||||
15, // 13: pb.APINodeService.deleteAPINode:output_type -> pb.RPCDeleteSuccess
|
||||
5, // 14: pb.APINodeService.findAllEnabledAPINodes:output_type -> pb.FindAllEnabledAPINodesResponse
|
||||
7, // 15: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.CountAllEnabledAPINodesResponse
|
||||
9, // 16: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse
|
||||
11, // 17: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse
|
||||
13, // 18: pb.APINodeService.findCurrentAPINodeVersion:output_type -> pb.FindCurrentAPINodeVersionResponse
|
||||
16, // 15: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.RPCCountResponse
|
||||
8, // 16: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse
|
||||
10, // 17: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse
|
||||
12, // 18: pb.APINodeService.findCurrentAPINodeVersion:output_type -> pb.FindCurrentAPINodeVersionResponse
|
||||
11, // [11:19] is the sub-list for method output_type
|
||||
3, // [3:11] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
@@ -1037,18 +985,6 @@ func file_service_api_node_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountAllEnabledAPINodesResponse); 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[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListEnabledAPINodesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1060,7 +996,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.(*ListEnabledAPINodesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1072,7 +1008,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.(*FindEnabledAPINodeRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1084,7 +1020,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.(*FindEnabledAPINodeResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1096,7 +1032,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.(*FindCurrentAPINodeVersionRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1108,7 +1044,7 @@ func file_service_api_node_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_api_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_api_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindCurrentAPINodeVersionResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1127,7 +1063,7 @@ func file_service_api_node_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_api_node_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 14,
|
||||
NumMessages: 13,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1162,7 +1098,7 @@ type APINodeServiceClient interface {
|
||||
// 列出所有可用API节点
|
||||
FindAllEnabledAPINodes(ctx context.Context, in *FindAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*FindAllEnabledAPINodesResponse, error)
|
||||
// 计算API节点数量
|
||||
CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*CountAllEnabledAPINodesResponse, error)
|
||||
CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||
// 列出单页的API节点
|
||||
ListEnabledAPINodes(ctx context.Context, in *ListEnabledAPINodesRequest, opts ...grpc.CallOption) (*ListEnabledAPINodesResponse, error)
|
||||
// 根据ID查找节点
|
||||
@@ -1215,8 +1151,8 @@ func (c *aPINodeServiceClient) FindAllEnabledAPINodes(ctx context.Context, in *F
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *aPINodeServiceClient) CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*CountAllEnabledAPINodesResponse, error) {
|
||||
out := new(CountAllEnabledAPINodesResponse)
|
||||
func (c *aPINodeServiceClient) CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||
out := new(RPCCountResponse)
|
||||
err := c.cc.Invoke(ctx, "/pb.APINodeService/countAllEnabledAPINodes", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1262,7 +1198,7 @@ type APINodeServiceServer interface {
|
||||
// 列出所有可用API节点
|
||||
FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error)
|
||||
// 计算API节点数量
|
||||
CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*CountAllEnabledAPINodesResponse, error)
|
||||
CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*RPCCountResponse, error)
|
||||
// 列出单页的API节点
|
||||
ListEnabledAPINodes(context.Context, *ListEnabledAPINodesRequest) (*ListEnabledAPINodesResponse, error)
|
||||
// 根据ID查找节点
|
||||
@@ -1287,7 +1223,7 @@ func (*UnimplementedAPINodeServiceServer) DeleteAPINode(context.Context, *Delete
|
||||
func (*UnimplementedAPINodeServiceServer) FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledAPINodes not implemented")
|
||||
}
|
||||
func (*UnimplementedAPINodeServiceServer) CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*CountAllEnabledAPINodesResponse, error) {
|
||||
func (*UnimplementedAPINodeServiceServer) CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledAPINodes not implemented")
|
||||
}
|
||||
func (*UnimplementedAPINodeServiceServer) ListEnabledAPINodes(context.Context, *ListEnabledAPINodesRequest) (*ListEnabledAPINodesResponse, error) {
|
||||
|
||||
Reference in New Issue
Block a user