增加DNS域名管理

This commit is contained in:
GoEdgeLab
2020-11-12 14:41:23 +08:00
parent 6d7d87aa11
commit 37538b40a9
36 changed files with 4007 additions and 4179 deletions

View File

@@ -401,53 +401,6 @@ func (*CountAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
return file_service_node_grant_proto_rawDescGZIP(), []int{5}
}
type CountAllEnabledNodeGrantsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (x *CountAllEnabledNodeGrantsResponse) Reset() {
*x = CountAllEnabledNodeGrantsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_node_grant_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledNodeGrantsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledNodeGrantsResponse) ProtoMessage() {}
func (x *CountAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_node_grant_proto_msgTypes[6]
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 CountAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
func (*CountAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
return file_service_node_grant_proto_rawDescGZIP(), []int{6}
}
func (x *CountAllEnabledNodeGrantsResponse) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
// 列出单页认证
type ListEnabledNodeGrantsRequest struct {
state protoimpl.MessageState
@@ -461,7 +414,7 @@ type ListEnabledNodeGrantsRequest struct {
func (x *ListEnabledNodeGrantsRequest) Reset() {
*x = ListEnabledNodeGrantsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_node_grant_proto_msgTypes[7]
mi := &file_service_node_grant_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -474,7 +427,7 @@ func (x *ListEnabledNodeGrantsRequest) String() string {
func (*ListEnabledNodeGrantsRequest) ProtoMessage() {}
func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_grant_proto_msgTypes[7]
mi := &file_service_node_grant_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -487,7 +440,7 @@ func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
func (*ListEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
return file_service_node_grant_proto_rawDescGZIP(), []int{7}
return file_service_node_grant_proto_rawDescGZIP(), []int{6}
}
func (x *ListEnabledNodeGrantsRequest) GetOffset() int64 {
@@ -515,7 +468,7 @@ type ListEnabledNodeGrantsResponse struct {
func (x *ListEnabledNodeGrantsResponse) Reset() {
*x = ListEnabledNodeGrantsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_node_grant_proto_msgTypes[8]
mi := &file_service_node_grant_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -528,7 +481,7 @@ func (x *ListEnabledNodeGrantsResponse) String() string {
func (*ListEnabledNodeGrantsResponse) ProtoMessage() {}
func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_node_grant_proto_msgTypes[8]
mi := &file_service_node_grant_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -541,7 +494,7 @@ func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
func (*ListEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
return file_service_node_grant_proto_rawDescGZIP(), []int{8}
return file_service_node_grant_proto_rawDescGZIP(), []int{7}
}
func (x *ListEnabledNodeGrantsResponse) GetGrants() []*NodeGrant {
@@ -561,7 +514,7 @@ type FindAllEnabledNodeGrantsRequest struct {
func (x *FindAllEnabledNodeGrantsRequest) Reset() {
*x = FindAllEnabledNodeGrantsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_node_grant_proto_msgTypes[9]
mi := &file_service_node_grant_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -574,7 +527,7 @@ func (x *FindAllEnabledNodeGrantsRequest) String() string {
func (*FindAllEnabledNodeGrantsRequest) ProtoMessage() {}
func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_grant_proto_msgTypes[9]
mi := &file_service_node_grant_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -587,7 +540,7 @@ func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindAllEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) {
return file_service_node_grant_proto_rawDescGZIP(), []int{9}
return file_service_node_grant_proto_rawDescGZIP(), []int{8}
}
type FindAllEnabledNodeGrantsResponse struct {
@@ -601,7 +554,7 @@ type FindAllEnabledNodeGrantsResponse struct {
func (x *FindAllEnabledNodeGrantsResponse) Reset() {
*x = FindAllEnabledNodeGrantsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_node_grant_proto_msgTypes[10]
mi := &file_service_node_grant_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -614,7 +567,7 @@ func (x *FindAllEnabledNodeGrantsResponse) String() string {
func (*FindAllEnabledNodeGrantsResponse) ProtoMessage() {}
func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_node_grant_proto_msgTypes[10]
mi := &file_service_node_grant_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -627,7 +580,7 @@ func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) {
return file_service_node_grant_proto_rawDescGZIP(), []int{10}
return file_service_node_grant_proto_rawDescGZIP(), []int{9}
}
func (x *FindAllEnabledNodeGrantsResponse) GetGrants() []*NodeGrant {
@@ -649,7 +602,7 @@ type FindEnabledGrantRequest struct {
func (x *FindEnabledGrantRequest) Reset() {
*x = FindEnabledGrantRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_node_grant_proto_msgTypes[11]
mi := &file_service_node_grant_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -662,7 +615,7 @@ func (x *FindEnabledGrantRequest) String() string {
func (*FindEnabledGrantRequest) ProtoMessage() {}
func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_grant_proto_msgTypes[11]
mi := &file_service_node_grant_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -675,7 +628,7 @@ func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindEnabledGrantRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledGrantRequest) Descriptor() ([]byte, []int) {
return file_service_node_grant_proto_rawDescGZIP(), []int{11}
return file_service_node_grant_proto_rawDescGZIP(), []int{10}
}
func (x *FindEnabledGrantRequest) GetGrantId() int64 {
@@ -696,7 +649,7 @@ type FindEnabledGrantResponse struct {
func (x *FindEnabledGrantResponse) Reset() {
*x = FindEnabledGrantResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_node_grant_proto_msgTypes[12]
mi := &file_service_node_grant_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -709,7 +662,7 @@ func (x *FindEnabledGrantResponse) String() string {
func (*FindEnabledGrantResponse) ProtoMessage() {}
func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_node_grant_proto_msgTypes[12]
mi := &file_service_node_grant_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -722,7 +675,7 @@ func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindEnabledGrantResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledGrantResponse) Descriptor() ([]byte, []int) {
return file_service_node_grant_proto_rawDescGZIP(), []int{12}
return file_service_node_grant_proto_rawDescGZIP(), []int{11}
}
func (x *FindEnabledGrantResponse) GetGrant() *NodeGrant {
@@ -779,74 +732,69 @@ var file_service_node_grant_proto_rawDesc = []byte{
0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x0a, 0x20,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x22, 0x39, 0x0a, 0x21, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x4a, 0x0a, 0x1c, 0x4c,
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
0x61, 0x6e, 0x74, 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, 0x46, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x45,
0x22, 0x4a, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x46, 0x0a, 0x1d,
0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47,
0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a,
0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72,
0x61, 0x6e, 0x74, 0x73, 0x22, 0x21, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e,
0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f,
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22,
0x21, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x22, 0x49, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x33, 0x0a,
0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e,
0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74,
0x49, 0x64, 0x22, 0x3f, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23,
0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72,
0x61, 0x6e, 0x74, 0x32, 0xf0, 0x04, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61,
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62,
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f,
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x4d, 0x0a, 0x10, 0x64, 0x69, 0x73,
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x2e,
0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e,
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47,
0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62,
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62,
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x65, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x2e, 0x70,
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41,
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67,
0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62,
0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e,
0x74, 0x73, 0x22, 0x33, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x32, 0xdf, 0x04, 0x0a, 0x10, 0x4e, 0x6f, 0x64,
0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a,
0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70,
0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64,
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70,
0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
0x74, 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, 0x4d,
0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e,
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65,
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a,
0x19, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x5c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12,
0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x45,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x62,
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73,
0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61,
0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x46,
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12,
0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70,
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61,
0x6e, 0x74, 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 (
@@ -861,42 +809,42 @@ func file_service_node_grant_proto_rawDescGZIP() []byte {
return file_service_node_grant_proto_rawDescData
}
var file_service_node_grant_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_service_node_grant_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_service_node_grant_proto_goTypes = []interface{}{
(*CreateNodeGrantRequest)(nil), // 0: pb.CreateNodeGrantRequest
(*CreateNodeGrantResponse)(nil), // 1: pb.CreateNodeGrantResponse
(*UpdateNodeGrantRequest)(nil), // 2: pb.UpdateNodeGrantRequest
(*DisableNodeGrantRequest)(nil), // 3: pb.DisableNodeGrantRequest
(*DisableNodeGrantResponse)(nil), // 4: pb.DisableNodeGrantResponse
(*CountAllEnabledNodeGrantsRequest)(nil), // 5: pb.CountAllEnabledNodeGrantsRequest
(*CountAllEnabledNodeGrantsResponse)(nil), // 6: pb.CountAllEnabledNodeGrantsResponse
(*ListEnabledNodeGrantsRequest)(nil), // 7: pb.ListEnabledNodeGrantsRequest
(*ListEnabledNodeGrantsResponse)(nil), // 8: pb.ListEnabledNodeGrantsResponse
(*FindAllEnabledNodeGrantsRequest)(nil), // 9: pb.FindAllEnabledNodeGrantsRequest
(*FindAllEnabledNodeGrantsResponse)(nil), // 10: pb.FindAllEnabledNodeGrantsResponse
(*FindEnabledGrantRequest)(nil), // 11: pb.FindEnabledGrantRequest
(*FindEnabledGrantResponse)(nil), // 12: pb.FindEnabledGrantResponse
(*NodeGrant)(nil), // 13: pb.NodeGrant
(*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess
(*CreateNodeGrantRequest)(nil), // 0: pb.CreateNodeGrantRequest
(*CreateNodeGrantResponse)(nil), // 1: pb.CreateNodeGrantResponse
(*UpdateNodeGrantRequest)(nil), // 2: pb.UpdateNodeGrantRequest
(*DisableNodeGrantRequest)(nil), // 3: pb.DisableNodeGrantRequest
(*DisableNodeGrantResponse)(nil), // 4: pb.DisableNodeGrantResponse
(*CountAllEnabledNodeGrantsRequest)(nil), // 5: pb.CountAllEnabledNodeGrantsRequest
(*ListEnabledNodeGrantsRequest)(nil), // 6: pb.ListEnabledNodeGrantsRequest
(*ListEnabledNodeGrantsResponse)(nil), // 7: pb.ListEnabledNodeGrantsResponse
(*FindAllEnabledNodeGrantsRequest)(nil), // 8: pb.FindAllEnabledNodeGrantsRequest
(*FindAllEnabledNodeGrantsResponse)(nil), // 9: pb.FindAllEnabledNodeGrantsResponse
(*FindEnabledGrantRequest)(nil), // 10: pb.FindEnabledGrantRequest
(*FindEnabledGrantResponse)(nil), // 11: pb.FindEnabledGrantResponse
(*NodeGrant)(nil), // 12: pb.NodeGrant
(*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess
(*RPCCountResponse)(nil), // 14: pb.RPCCountResponse
}
var file_service_node_grant_proto_depIdxs = []int32{
13, // 0: pb.ListEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
13, // 1: pb.FindAllEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
13, // 2: pb.FindEnabledGrantResponse.grant:type_name -> pb.NodeGrant
12, // 0: pb.ListEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
12, // 1: pb.FindAllEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant
12, // 2: pb.FindEnabledGrantResponse.grant:type_name -> pb.NodeGrant
0, // 3: pb.NodeGrantService.createNodeGrant:input_type -> pb.CreateNodeGrantRequest
2, // 4: pb.NodeGrantService.updateNodeGrant:input_type -> pb.UpdateNodeGrantRequest
3, // 5: pb.NodeGrantService.disableNodeGrant:input_type -> pb.DisableNodeGrantRequest
5, // 6: pb.NodeGrantService.countAllEnabledNodeGrants:input_type -> pb.CountAllEnabledNodeGrantsRequest
7, // 7: pb.NodeGrantService.ListEnabledNodeGrants:input_type -> pb.ListEnabledNodeGrantsRequest
9, // 8: pb.NodeGrantService.FindAllEnabledNodeGrants:input_type -> pb.FindAllEnabledNodeGrantsRequest
11, // 9: pb.NodeGrantService.FindEnabledGrant:input_type -> pb.FindEnabledGrantRequest
6, // 7: pb.NodeGrantService.ListEnabledNodeGrants:input_type -> pb.ListEnabledNodeGrantsRequest
8, // 8: pb.NodeGrantService.FindAllEnabledNodeGrants:input_type -> pb.FindAllEnabledNodeGrantsRequest
10, // 9: pb.NodeGrantService.FindEnabledGrant:input_type -> pb.FindEnabledGrantRequest
1, // 10: pb.NodeGrantService.createNodeGrant:output_type -> pb.CreateNodeGrantResponse
14, // 11: pb.NodeGrantService.updateNodeGrant:output_type -> pb.RPCUpdateSuccess
13, // 11: pb.NodeGrantService.updateNodeGrant:output_type -> pb.RPCUpdateSuccess
4, // 12: pb.NodeGrantService.disableNodeGrant:output_type -> pb.DisableNodeGrantResponse
6, // 13: pb.NodeGrantService.countAllEnabledNodeGrants:output_type -> pb.CountAllEnabledNodeGrantsResponse
8, // 14: pb.NodeGrantService.ListEnabledNodeGrants:output_type -> pb.ListEnabledNodeGrantsResponse
10, // 15: pb.NodeGrantService.FindAllEnabledNodeGrants:output_type -> pb.FindAllEnabledNodeGrantsResponse
12, // 16: pb.NodeGrantService.FindEnabledGrant:output_type -> pb.FindEnabledGrantResponse
14, // 13: pb.NodeGrantService.countAllEnabledNodeGrants:output_type -> pb.RPCCountResponse
7, // 14: pb.NodeGrantService.ListEnabledNodeGrants:output_type -> pb.ListEnabledNodeGrantsResponse
9, // 15: pb.NodeGrantService.FindAllEnabledNodeGrants:output_type -> pb.FindAllEnabledNodeGrantsResponse
11, // 16: pb.NodeGrantService.FindEnabledGrant:output_type -> pb.FindEnabledGrantResponse
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
@@ -985,18 +933,6 @@ func file_service_node_grant_proto_init() {
}
}
file_service_node_grant_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledNodeGrantsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_node_grant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListEnabledNodeGrantsRequest); i {
case 0:
return &v.state
@@ -1008,7 +944,7 @@ func file_service_node_grant_proto_init() {
return nil
}
}
file_service_node_grant_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
file_service_node_grant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListEnabledNodeGrantsResponse); i {
case 0:
return &v.state
@@ -1020,7 +956,7 @@ func file_service_node_grant_proto_init() {
return nil
}
}
file_service_node_grant_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_service_node_grant_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledNodeGrantsRequest); i {
case 0:
return &v.state
@@ -1032,7 +968,7 @@ func file_service_node_grant_proto_init() {
return nil
}
}
file_service_node_grant_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
file_service_node_grant_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledNodeGrantsResponse); i {
case 0:
return &v.state
@@ -1044,7 +980,7 @@ func file_service_node_grant_proto_init() {
return nil
}
}
file_service_node_grant_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
file_service_node_grant_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindEnabledGrantRequest); i {
case 0:
return &v.state
@@ -1056,7 +992,7 @@ func file_service_node_grant_proto_init() {
return nil
}
}
file_service_node_grant_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
file_service_node_grant_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindEnabledGrantResponse); i {
case 0:
return &v.state
@@ -1075,7 +1011,7 @@ func file_service_node_grant_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_service_node_grant_proto_rawDesc,
NumEnums: 0,
NumMessages: 13,
NumMessages: 12,
NumExtensions: 0,
NumServices: 1,
},
@@ -1108,7 +1044,7 @@ type NodeGrantServiceClient interface {
// 禁用认证
DisableNodeGrant(ctx context.Context, in *DisableNodeGrantRequest, opts ...grpc.CallOption) (*DisableNodeGrantResponse, error)
// 计算认证的数量
CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeGrantsResponse, error)
CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 列出单页认证
ListEnabledNodeGrants(ctx context.Context, in *ListEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*ListEnabledNodeGrantsResponse, error)
// 列出所有认证
@@ -1152,8 +1088,8 @@ func (c *nodeGrantServiceClient) DisableNodeGrant(ctx context.Context, in *Disab
return out, nil
}
func (c *nodeGrantServiceClient) CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeGrantsResponse, error) {
out := new(CountAllEnabledNodeGrantsResponse)
func (c *nodeGrantServiceClient) CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
err := c.cc.Invoke(ctx, "/pb.NodeGrantService/countAllEnabledNodeGrants", in, out, opts...)
if err != nil {
return nil, err
@@ -1197,7 +1133,7 @@ type NodeGrantServiceServer interface {
// 禁用认证
DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error)
// 计算认证的数量
CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*CountAllEnabledNodeGrantsResponse, error)
CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*RPCCountResponse, error)
// 列出单页认证
ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error)
// 列出所有认证
@@ -1219,7 +1155,7 @@ func (*UnimplementedNodeGrantServiceServer) UpdateNodeGrant(context.Context, *Up
func (*UnimplementedNodeGrantServiceServer) DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisableNodeGrant not implemented")
}
func (*UnimplementedNodeGrantServiceServer) CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*CountAllEnabledNodeGrantsResponse, error) {
func (*UnimplementedNodeGrantServiceServer) CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*RPCCountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeGrants not implemented")
}
func (*UnimplementedNodeGrantServiceServer) ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error) {