2020-09-13 19:27:47 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.25.0
|
|
|
|
|
// protoc v3.12.3
|
|
|
|
|
// source: service_node_cluster.proto
|
|
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
context "context"
|
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
|
status "google.golang.org/grpc/status"
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
|
|
|
|
|
|
// 获取所有集群的信息
|
|
|
|
|
type FindAllEnabledNodeClustersRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersRequest) Reset() {
|
|
|
|
|
*x = FindAllEnabledNodeClustersRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledNodeClustersRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[0]
|
|
|
|
|
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 FindAllEnabledNodeClustersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllEnabledNodeClustersRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAllEnabledNodeClustersResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Clusters []*NodeCluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersResponse) Reset() {
|
|
|
|
|
*x = FindAllEnabledNodeClustersResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledNodeClustersResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[1]
|
|
|
|
|
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 FindAllEnabledNodeClustersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllEnabledNodeClustersResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersResponse) GetClusters() []*NodeCluster {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Clusters
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取变更的集群
|
|
|
|
|
type FindAllChangedNodeClustersRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllChangedNodeClustersRequest) Reset() {
|
|
|
|
|
*x = FindAllChangedNodeClustersRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllChangedNodeClustersRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllChangedNodeClustersRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllChangedNodeClustersRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[2]
|
|
|
|
|
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 FindAllChangedNodeClustersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllChangedNodeClustersRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAllChangedNodeClustersResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Clusters []*NodeCluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllChangedNodeClustersResponse) Reset() {
|
|
|
|
|
*x = FindAllChangedNodeClustersResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllChangedNodeClustersResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllChangedNodeClustersResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllChangedNodeClustersResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[3]
|
|
|
|
|
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 FindAllChangedNodeClustersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllChangedNodeClustersResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllChangedNodeClustersResponse) GetClusters() []*NodeCluster {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Clusters
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 创建集群
|
|
|
|
|
type CreateNodeClusterRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
GrantId int64 `protobuf:"varint,2,opt,name=grantId,proto3" json:"grantId,omitempty"`
|
|
|
|
|
InstallDir string `protobuf:"bytes,3,opt,name=installDir,proto3" json:"installDir,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterRequest) Reset() {
|
|
|
|
|
*x = CreateNodeClusterRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[4]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNodeClusterRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_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 CreateNodeClusterRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNodeClusterRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterRequest) GetGrantId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GrantId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterRequest) GetInstallDir() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.InstallDir
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CreateNodeClusterResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterResponse) Reset() {
|
|
|
|
|
*x = CreateNodeClusterResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[5]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNodeClusterResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[5]
|
|
|
|
|
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 CreateNodeClusterResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNodeClusterResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeClusterResponse) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改集群
|
|
|
|
|
type UpdateNodeClusterRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
GrantId int64 `protobuf:"varint,3,opt,name=grantId,proto3" json:"grantId,omitempty"`
|
|
|
|
|
InstallDir string `protobuf:"bytes,4,opt,name=installDir,proto3" json:"installDir,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeClusterRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[6]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNodeClusterRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_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 UpdateNodeClusterRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeClusterRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterRequest) GetGrantId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GrantId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterRequest) GetInstallDir() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.InstallDir
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 16:22:40 +08:00
|
|
|
// 删除集群
|
|
|
|
|
type DeleteNodeClusterRequest struct {
|
2020-09-13 19:27:47 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 16:22:40 +08:00
|
|
|
func (x *DeleteNodeClusterRequest) Reset() {
|
|
|
|
|
*x = DeleteNodeClusterRequest{}
|
2020-09-13 19:27:47 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-09-17 10:15:55 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[7]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 16:22:40 +08:00
|
|
|
func (x *DeleteNodeClusterRequest) String() string {
|
2020-09-13 19:27:47 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 16:22:40 +08:00
|
|
|
func (*DeleteNodeClusterRequest) ProtoMessage() {}
|
2020-09-13 19:27:47 +08:00
|
|
|
|
2020-10-25 16:22:40 +08:00
|
|
|
func (x *DeleteNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
2020-09-17 10:15:55 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[7]
|
2020-09-13 19:27:47 +08:00
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 16:22:40 +08:00
|
|
|
// Deprecated: Use DeleteNodeClusterRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DeleteNodeClusterRequest) Descriptor() ([]byte, []int) {
|
2020-09-17 10:15:55 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{7}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-25 16:22:40 +08:00
|
|
|
func (x *DeleteNodeClusterRequest) GetClusterId() int64 {
|
2020-09-13 19:27:47 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查找单个集群信息
|
|
|
|
|
type FindEnabledNodeClusterRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterRequest) Reset() {
|
|
|
|
|
*x = FindEnabledNodeClusterRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[8]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindEnabledNodeClusterRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[8]
|
2020-09-13 19:27:47 +08:00
|
|
|
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 FindEnabledNodeClusterRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledNodeClusterRequest) Descriptor() ([]byte, []int) {
|
2020-10-25 16:22:40 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{8}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindEnabledNodeClusterResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Cluster *NodeCluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterResponse) Reset() {
|
|
|
|
|
*x = FindEnabledNodeClusterResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[9]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindEnabledNodeClusterResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterResponse) ProtoReflect() protoreflect.Message {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[9]
|
2020-09-13 19:27:47 +08:00
|
|
|
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 FindEnabledNodeClusterResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledNodeClusterResponse) Descriptor() ([]byte, []int) {
|
2020-10-25 16:22:40 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{9}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterResponse) GetCluster() *NodeCluster {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Cluster
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 11:14:44 +08:00
|
|
|
// 查找集群的API节点信息
|
|
|
|
|
type FindAPINodesWithNodeClusterRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterRequest) Reset() {
|
|
|
|
|
*x = FindAPINodesWithNodeClusterRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[10]
|
2020-10-17 11:14:44 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAPINodesWithNodeClusterRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterRequest) ProtoReflect() protoreflect.Message {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[10]
|
2020-10-17 11:14:44 +08:00
|
|
|
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 FindAPINodesWithNodeClusterRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAPINodesWithNodeClusterRequest) Descriptor() ([]byte, []int) {
|
2020-10-25 16:22:40 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{10}
|
2020-10-17 11:14:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAPINodesWithNodeClusterResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UseAllAPINodes bool `protobuf:"varint,1,opt,name=useAllAPINodes,proto3" json:"useAllAPINodes,omitempty"`
|
|
|
|
|
ApiNodes []*APINode `protobuf:"bytes,2,rep,name=apiNodes,proto3" json:"apiNodes,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterResponse) Reset() {
|
|
|
|
|
*x = FindAPINodesWithNodeClusterResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[11]
|
2020-10-17 11:14:44 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAPINodesWithNodeClusterResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterResponse) ProtoReflect() protoreflect.Message {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[11]
|
2020-10-17 11:14:44 +08:00
|
|
|
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 FindAPINodesWithNodeClusterResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAPINodesWithNodeClusterResponse) Descriptor() ([]byte, []int) {
|
2020-10-25 16:22:40 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{11}
|
2020-10-17 11:14:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterResponse) GetUseAllAPINodes() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UseAllAPINodes
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAPINodesWithNodeClusterResponse) GetApiNodes() []*APINode {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ApiNodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
// 计算所有集群数量
|
|
|
|
|
type CountAllEnabledNodeClustersRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersRequest) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodeClustersRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[12]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodeClustersRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message {
|
2020-10-25 16:22:40 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[12]
|
2020-09-13 19:27:47 +08:00
|
|
|
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 CountAllEnabledNodeClustersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodeClustersRequest) Descriptor() ([]byte, []int) {
|
2020-10-25 16:22:40 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{12}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 列出单页集群
|
|
|
|
|
type ListEnabledNodeClustersRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersRequest) Reset() {
|
|
|
|
|
*x = ListEnabledNodeClustersRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[13]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListEnabledNodeClustersRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[13]
|
2020-09-13 19:27:47 +08:00
|
|
|
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 ListEnabledNodeClustersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListEnabledNodeClustersRequest) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{13}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersRequest) GetOffset() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Offset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersRequest) GetSize() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Size
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ListEnabledNodeClustersResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Clusters []*NodeCluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersResponse) Reset() {
|
|
|
|
|
*x = ListEnabledNodeClustersResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[14]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListEnabledNodeClustersResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersResponse) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[14]
|
2020-09-13 19:27:47 +08:00
|
|
|
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 ListEnabledNodeClustersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListEnabledNodeClustersResponse) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{14}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodeClustersResponse) GetClusters() []*NodeCluster {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Clusters
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 21:15:37 +08:00
|
|
|
// 查找集群的健康检查配置
|
|
|
|
|
type FindNodeClusterHealthCheckConfigRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeClusterHealthCheckConfigRequest) Reset() {
|
|
|
|
|
*x = FindNodeClusterHealthCheckConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[15]
|
2020-10-17 21:15:37 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeClusterHealthCheckConfigRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindNodeClusterHealthCheckConfigRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeClusterHealthCheckConfigRequest) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[15]
|
2020-10-17 21:15:37 +08:00
|
|
|
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 FindNodeClusterHealthCheckConfigRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNodeClusterHealthCheckConfigRequest) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{15}
|
2020-10-17 21:15:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeClusterHealthCheckConfigRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindNodeClusterHealthCheckConfigResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
HealthCheckConfig []byte `protobuf:"bytes,1,opt,name=healthCheckConfig,proto3" json:"healthCheckConfig,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeClusterHealthCheckConfigResponse) Reset() {
|
|
|
|
|
*x = FindNodeClusterHealthCheckConfigResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[16]
|
2020-10-17 21:15:37 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeClusterHealthCheckConfigResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindNodeClusterHealthCheckConfigResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeClusterHealthCheckConfigResponse) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[16]
|
2020-10-17 21:15:37 +08:00
|
|
|
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 FindNodeClusterHealthCheckConfigResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNodeClusterHealthCheckConfigResponse) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{16}
|
2020-10-17 21:15:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeClusterHealthCheckConfigResponse) GetHealthCheckConfig() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HealthCheckConfig
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改集群健康检查设置
|
|
|
|
|
type UpdateNodeClusterHealthCheckRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
HealthCheckJSON []byte `protobuf:"bytes,2,opt,name=healthCheckJSON,proto3" json:"healthCheckJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterHealthCheckRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeClusterHealthCheckRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[17]
|
2020-10-17 21:15:37 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterHealthCheckRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNodeClusterHealthCheckRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterHealthCheckRequest) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[17]
|
2020-10-17 21:15:37 +08:00
|
|
|
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 UpdateNodeClusterHealthCheckRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeClusterHealthCheckRequest) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{17}
|
2020-10-17 21:15:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterHealthCheckRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterHealthCheckRequest) GetHealthCheckJSON() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HealthCheckJSON
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 执行健康检查
|
|
|
|
|
type ExecuteNodeClusterHealthCheckRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckRequest) Reset() {
|
|
|
|
|
*x = ExecuteNodeClusterHealthCheckRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[18]
|
2020-10-17 21:15:37 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ExecuteNodeClusterHealthCheckRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckRequest) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[18]
|
2020-10-17 21:15:37 +08:00
|
|
|
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 ExecuteNodeClusterHealthCheckRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ExecuteNodeClusterHealthCheckRequest) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{18}
|
2020-10-17 21:15:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ExecuteNodeClusterHealthCheckResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Results []*ExecuteNodeClusterHealthCheckResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse) Reset() {
|
|
|
|
|
*x = ExecuteNodeClusterHealthCheckResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[19]
|
2020-10-17 21:15:37 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ExecuteNodeClusterHealthCheckResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[19]
|
2020-10-17 21:15:37 +08:00
|
|
|
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 ExecuteNodeClusterHealthCheckResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ExecuteNodeClusterHealthCheckResponse) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{19}
|
2020-10-17 21:15:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse) GetResults() []*ExecuteNodeClusterHealthCheckResponse_Result {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Results
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 21:27:49 +08:00
|
|
|
// 计算使用某个认证的集群数量
|
|
|
|
|
type CountAllEnabledNodeClustersWithGrantIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GrantId int64 `protobuf:"varint,1,opt,name=grantId,proto3" json:"grantId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersWithGrantIdRequest) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodeClustersWithGrantIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[20]
|
2020-10-25 21:27:49 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersWithGrantIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodeClustersWithGrantIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersWithGrantIdRequest) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[20]
|
2020-10-25 21:27:49 +08:00
|
|
|
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 CountAllEnabledNodeClustersWithGrantIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodeClustersWithGrantIdRequest) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{20}
|
2020-10-25 21:27:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersWithGrantIdRequest) GetGrantId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GrantId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查找使用某个认证的所有集群
|
|
|
|
|
type FindAllEnabledNodeClustersWithGrantIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GrantId int64 `protobuf:"varint,1,opt,name=grantId,proto3" json:"grantId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersWithGrantIdRequest) Reset() {
|
|
|
|
|
*x = FindAllEnabledNodeClustersWithGrantIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[21]
|
2020-10-25 21:27:49 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersWithGrantIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledNodeClustersWithGrantIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersWithGrantIdRequest) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[21]
|
2020-10-25 21:27:49 +08:00
|
|
|
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 FindAllEnabledNodeClustersWithGrantIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllEnabledNodeClustersWithGrantIdRequest) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{21}
|
2020-10-25 21:27:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersWithGrantIdRequest) GetGrantId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GrantId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAllEnabledNodeClustersWithGrantIdResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Clusters []*NodeCluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersWithGrantIdResponse) Reset() {
|
|
|
|
|
*x = FindAllEnabledNodeClustersWithGrantIdResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[22]
|
2020-10-25 21:27:49 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersWithGrantIdResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledNodeClustersWithGrantIdResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersWithGrantIdResponse) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[22]
|
2020-10-25 21:27:49 +08:00
|
|
|
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 FindAllEnabledNodeClustersWithGrantIdResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllEnabledNodeClustersWithGrantIdResponse) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{22}
|
2020-10-25 21:27:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodeClustersWithGrantIdResponse) GetClusters() []*NodeCluster {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Clusters
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-11 21:32:11 +08:00
|
|
|
// 查找集群的DNS配置
|
|
|
|
|
type FindEnabledNodeClusterDNSRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSRequest) Reset() {
|
|
|
|
|
*x = FindEnabledNodeClusterDNSRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[23]
|
2020-11-11 21:32:11 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindEnabledNodeClusterDNSRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSRequest) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[23]
|
2020-11-11 21:32:11 +08:00
|
|
|
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 FindEnabledNodeClusterDNSRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledNodeClusterDNSRequest) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{23}
|
2020-11-11 21:32:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSRequest) GetNodeClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindEnabledNodeClusterDNSResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
2020-11-12 14:41:23 +08:00
|
|
|
Domain *DNSDomain `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
2020-11-11 21:32:11 +08:00
|
|
|
Provider *DNSProvider `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSResponse) Reset() {
|
|
|
|
|
*x = FindEnabledNodeClusterDNSResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[24]
|
2020-11-11 21:32:11 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindEnabledNodeClusterDNSResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSResponse) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[24]
|
2020-11-11 21:32:11 +08:00
|
|
|
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 FindEnabledNodeClusterDNSResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledNodeClusterDNSResponse) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{24}
|
2020-11-11 21:32:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSResponse) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (x *FindEnabledNodeClusterDNSResponse) GetDomain() *DNSDomain {
|
2020-11-11 21:32:11 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Domain
|
|
|
|
|
}
|
2020-11-12 14:41:23 +08:00
|
|
|
return nil
|
2020-11-11 21:32:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeClusterDNSResponse) GetProvider() *DNSProvider {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Provider
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 计算使用某个DNS服务商的集群数量
|
|
|
|
|
type CountAllEnabledNodeClustersWithDNSProviderIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodeClustersWithDNSProviderIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[25]
|
2020-11-11 21:32:11 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodeClustersWithDNSProviderIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) ProtoReflect() protoreflect.Message {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[25]
|
2020-11-11 21:32:11 +08:00
|
|
|
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 CountAllEnabledNodeClustersWithDNSProviderIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodeClustersWithDNSProviderIdRequest) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{25}
|
2020-11-11 21:32:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) GetDnsProviderId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DnsProviderId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
// 计算使用某个DNS域名的集群数量
|
|
|
|
|
type CountAllEnabledNodeClustersWithDNSDomainIdRequest struct {
|
2020-11-11 21:32:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
DnsDomainId int64 `protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,omitempty"`
|
2020-11-11 21:32:11 +08:00
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (x *CountAllEnabledNodeClustersWithDNSDomainIdRequest) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodeClustersWithDNSDomainIdRequest{}
|
2020-11-11 21:32:11 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-12 14:41:23 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[26]
|
2020-11-11 21:32:11 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (x *CountAllEnabledNodeClustersWithDNSDomainIdRequest) String() string {
|
2020-11-11 21:32:11 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (*CountAllEnabledNodeClustersWithDNSDomainIdRequest) ProtoMessage() {}
|
2020-11-11 21:32:11 +08:00
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (x *CountAllEnabledNodeClustersWithDNSDomainIdRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[26]
|
2020-11-11 21:32:11 +08:00
|
|
|
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)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
// Deprecated: Use CountAllEnabledNodeClustersWithDNSDomainIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodeClustersWithDNSDomainIdRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{26}
|
2020-11-11 21:32:11 +08:00
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (x *CountAllEnabledNodeClustersWithDNSDomainIdRequest) GetDnsDomainId() int64 {
|
2020-11-11 21:32:11 +08:00
|
|
|
if x != nil {
|
2020-11-12 14:41:23 +08:00
|
|
|
return x.DnsDomainId
|
2020-11-11 21:32:11 +08:00
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-13 18:23:06 +08:00
|
|
|
// 检查集群域名是否已经被使用
|
|
|
|
|
type CheckNodeClusterDNSNameRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
|
|
|
DnsName string `protobuf:"bytes,2,opt,name=dnsName,proto3" json:"dnsName,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameRequest) Reset() {
|
|
|
|
|
*x = CheckNodeClusterDNSNameRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[27]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CheckNodeClusterDNSNameRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[27]
|
|
|
|
|
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 CheckNodeClusterDNSNameRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CheckNodeClusterDNSNameRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{27}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameRequest) GetNodeClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameRequest) GetDnsName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DnsName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CheckNodeClusterDNSNameResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
IsUsed bool `protobuf:"varint,1,opt,name=isUsed,proto3" json:"isUsed,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameResponse) Reset() {
|
|
|
|
|
*x = CheckNodeClusterDNSNameResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[28]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CheckNodeClusterDNSNameResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[28]
|
|
|
|
|
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 CheckNodeClusterDNSNameResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CheckNodeClusterDNSNameResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{28}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSNameResponse) GetIsUsed() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsUsed
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改集群的域名设置
|
|
|
|
|
type UpdateNodeClusterDNSRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
|
|
|
DnsName string `protobuf:"bytes,2,opt,name=dnsName,proto3" json:"dnsName,omitempty"`
|
|
|
|
|
DnsDomainId int64 `protobuf:"varint,3,opt,name=dnsDomainId,proto3" json:"dnsDomainId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterDNSRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeClusterDNSRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[29]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterDNSRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNodeClusterDNSRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterDNSRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[29]
|
|
|
|
|
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 UpdateNodeClusterDNSRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeClusterDNSRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{29}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterDNSRequest) GetNodeClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterDNSRequest) GetDnsName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DnsName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeClusterDNSRequest) GetDnsDomainId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DnsDomainId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-14 21:28:02 +08:00
|
|
|
// 检查集群的DNS是否有变化
|
|
|
|
|
type CheckNodeClusterDNSChangesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSChangesRequest) Reset() {
|
|
|
|
|
*x = CheckNodeClusterDNSChangesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[30]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSChangesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CheckNodeClusterDNSChangesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSChangesRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[30]
|
|
|
|
|
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 CheckNodeClusterDNSChangesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CheckNodeClusterDNSChangesRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{30}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSChangesRequest) GetNodeClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CheckNodeClusterDNSChangesResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
IsChanged bool `protobuf:"varint,1,opt,name=isChanged,proto3" json:"isChanged,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSChangesResponse) Reset() {
|
|
|
|
|
*x = CheckNodeClusterDNSChangesResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[31]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSChangesResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CheckNodeClusterDNSChangesResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSChangesResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[31]
|
|
|
|
|
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 CheckNodeClusterDNSChangesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CheckNodeClusterDNSChangesResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{31}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CheckNodeClusterDNSChangesResponse) GetIsChanged() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsChanged
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 21:15:37 +08:00
|
|
|
type ExecuteNodeClusterHealthCheckResponse_Result struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
|
|
|
NodeAddr string `protobuf:"bytes,2,opt,name=nodeAddr,proto3" json:"nodeAddr,omitempty"`
|
|
|
|
|
IsOk bool `protobuf:"varint,3,opt,name=isOk,proto3" json:"isOk,omitempty"`
|
|
|
|
|
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
|
|
|
|
|
CostMs float32 `protobuf:"fixed32,5,opt,name=costMs,proto3" json:"costMs,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse_Result) Reset() {
|
|
|
|
|
*x = ExecuteNodeClusterHealthCheckResponse_Result{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-11-14 21:28:02 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[32]
|
2020-10-17 21:15:37 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse_Result) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ExecuteNodeClusterHealthCheckResponse_Result) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse_Result) ProtoReflect() protoreflect.Message {
|
2020-11-14 21:28:02 +08:00
|
|
|
mi := &file_service_node_cluster_proto_msgTypes[32]
|
2020-10-17 21:15:37 +08:00
|
|
|
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 ExecuteNodeClusterHealthCheckResponse_Result.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ExecuteNodeClusterHealthCheckResponse_Result) Descriptor() ([]byte, []int) {
|
2020-11-12 14:41:23 +08:00
|
|
|
return file_service_node_cluster_proto_rawDescGZIP(), []int{19, 0}
|
2020-10-17 21:15:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse_Result) GetNode() *Node {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Node
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse_Result) GetNodeAddr() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeAddr
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse_Result) GetIsOk() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsOk
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse_Result) GetError() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Error
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecuteNodeClusterHealthCheckResponse_Result) GetCostMs() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CostMs
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
var File_service_node_cluster_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_service_node_cluster_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x1a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
|
|
|
|
0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, 0x75,
|
2020-10-17 11:14:44 +08:00
|
|
|
0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6d, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x6c, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
2020-10-17 21:15:37 +08:00
|
|
|
0x1a, 0x10, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
|
0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
2020-11-12 14:41:23 +08:00
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e,
|
|
|
|
|
0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18,
|
|
|
|
|
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
|
|
|
|
0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64,
|
|
|
|
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
2020-11-11 21:32:11 +08:00
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a,
|
2020-11-12 14:41:23 +08:00
|
|
|
0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
2020-11-11 21:32:11 +08:00
|
|
|
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18,
|
|
|
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
|
2020-11-12 14:41:23 +08:00
|
|
|
0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67,
|
|
|
|
|
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
|
|
|
|
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08,
|
|
|
|
|
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x68, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61,
|
|
|
|
|
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e,
|
|
|
|
|
0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74,
|
|
|
|
|
0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72,
|
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44,
|
|
|
|
|
0x69, 0x72, 0x22, 0x39, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x86, 0x01,
|
|
|
|
|
0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
|
|
|
|
0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
|
|
|
|
|
0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c,
|
|
|
|
|
0x6c, 0x44, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74,
|
|
|
|
|
0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x22, 0x38, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
2020-10-17 21:15:37 +08:00
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
2020-11-11 21:32:11 +08:00
|
|
|
0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
2020-11-12 14:41:23 +08:00
|
|
|
0x22, 0x3d, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22,
|
|
|
|
|
0x4b, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x42, 0x0a, 0x22,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x22, 0x76, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
|
|
|
0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x41, 0x6c,
|
|
|
|
|
0x6c, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x0e, 0x75, 0x73, 0x65, 0x41, 0x6c, 0x6c, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
|
|
|
|
|
0x27, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08,
|
|
|
|
|
0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e,
|
|
|
|
|
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4c,
|
|
|
|
|
0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x4e, 0x0a, 0x1f,
|
|
|
|
|
0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x47, 0x0a, 0x27,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48,
|
|
|
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68,
|
|
|
|
|
0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x2c, 0x0a, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x68, 0x65,
|
|
|
|
|
0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
|
|
|
|
|
0x6d, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68,
|
|
|
|
|
0x65, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x68,
|
|
|
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x44,
|
|
|
|
|
0x0a, 0x24, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x22, 0xfa, 0x01, 0x0a, 0x25, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74,
|
|
|
|
|
0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a,
|
|
|
|
|
0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x30, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
|
|
|
|
|
0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c,
|
|
|
|
|
0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x84, 0x01, 0x0a, 0x06, 0x52,
|
|
|
|
|
0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18,
|
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12,
|
|
|
|
|
0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69,
|
|
|
|
|
0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01,
|
|
|
|
|
0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x73,
|
|
|
|
|
0x74, 0x4d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d,
|
|
|
|
|
0x73, 0x22, 0x49, 0x0a, 0x2d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
2020-11-11 21:32:11 +08:00
|
|
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
|
2020-11-12 14:41:23 +08:00
|
|
|
0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 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, 0x48, 0x0a, 0x2c,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72,
|
|
|
|
|
0x61, 0x6e, 0x74, 0x49, 0x64, 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, 0x5c, 0x0a, 0x2d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
|
|
|
|
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x73, 0x22, 0x48, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
|
|
|
|
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e,
|
|
|
|
|
0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8b,
|
|
|
|
|
0x01, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61,
|
|
|
|
|
0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e,
|
|
|
|
|
0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12,
|
|
|
|
|
0x2b, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
|
|
|
|
0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x5b, 0x0a, 0x33,
|
|
|
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44,
|
|
|
|
|
0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50,
|
|
|
|
|
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x31, 0x43, 0x6f, 0x75,
|
2020-11-11 21:32:11 +08:00
|
|
|
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
2020-11-12 14:41:23 +08:00
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x44,
|
|
|
|
|
0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20,
|
|
|
|
|
0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64,
|
2020-11-13 18:23:06 +08:00
|
|
|
0x22, 0x60, 0x0a, 0x1e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6e, 0x73, 0x4e,
|
|
|
|
|
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61,
|
|
|
|
|
0x6d, 0x65, 0x22, 0x39, 0x0a, 0x1f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x55, 0x73, 0x65, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x55, 0x73, 0x65, 0x64, 0x22, 0x7f, 0x0a,
|
|
|
|
|
0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d,
|
|
|
|
|
0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
|
|
0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
2020-11-14 21:28:02 +08:00
|
|
|
0x03, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x49,
|
|
|
|
|
0x0a, 0x21, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x44, 0x4e, 0x53, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x22, 0x43, 0x68, 0x65,
|
|
|
|
|
0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x1c, 0x0a, 0x09, 0x69, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x32, 0xa6, 0x10,
|
|
|
|
|
0x0a, 0x12, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72,
|
|
|
|
|
0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
|
|
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
|
|
|
|
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
|
|
|
|
0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x64, 0x65, 0x6c,
|
|
|
|
|
0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16,
|
|
|
|
|
0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
2020-11-13 18:23:06 +08:00
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
2020-11-14 21:28:02 +08:00
|
|
|
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a,
|
|
|
|
|
0x1b, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74,
|
|
|
|
|
0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69,
|
|
|
|
|
0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50,
|
|
|
|
|
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a,
|
|
|
|
|
0x1a, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
|
|
|
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
2020-11-13 18:23:06 +08:00
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
2020-11-14 21:28:02 +08:00
|
|
|
0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e,
|
|
|
|
|
0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
|
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
|
|
|
|
|
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
|
|
|
|
|
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12,
|
|
|
|
|
0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61,
|
2020-11-13 18:23:06 +08:00
|
|
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
|
2020-11-14 21:28:02 +08:00
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e, 0x64,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74,
|
|
|
|
|
0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66,
|
|
|
|
|
0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65,
|
|
|
|
|
0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x1c, 0x75, 0x70, 0x64, 0x61, 0x74,
|
|
|
|
|
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c,
|
|
|
|
|
0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
|
|
|
|
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65,
|
|
|
|
|
0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
|
|
|
0x12, 0x74, 0x0a, 0x1d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63,
|
|
|
|
|
0x6b, 0x12, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43,
|
|
|
|
|
0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x26, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
|
|
|
|
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64,
|
|
|
|
|
0x12, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
2020-11-12 14:41:23 +08:00
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
2020-11-14 21:28:02 +08:00
|
|
|
0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 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, 0x8c, 0x01, 0x0a, 0x25, 0x66, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e,
|
|
|
|
|
0x74, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
2020-11-13 18:23:06 +08:00
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
2020-11-14 21:28:02 +08:00
|
|
|
0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
|
|
|
|
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64,
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x44, 0x4e, 0x53, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
2020-11-13 18:23:06 +08:00
|
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
2020-11-14 21:28:02 +08:00
|
|
|
0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x7d, 0x0a, 0x2c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
2020-11-13 18:23:06 +08:00
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
2020-11-14 21:28:02 +08:00
|
|
|
0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x12, 0x37, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 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, 0x79, 0x0a, 0x2a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
|
|
|
|
|
0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12,
|
|
|
|
|
0x35, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
|
|
|
|
|
0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 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, 0x62, 0x0a, 0x17,
|
|
|
|
|
0x63, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x44, 0x4e, 0x53, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65,
|
|
|
|
|
0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53,
|
|
|
|
|
0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x44, 0x4e, 0x53, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x47, 0x0a, 0x14, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44,
|
|
|
|
|
0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
|
|
|
|
0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6b, 0x0a, 0x1a, 0x63, 0x68, 0x65,
|
|
|
|
|
0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65,
|
|
|
|
|
0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_service_node_cluster_proto_rawDescOnce sync.Once
|
|
|
|
|
file_service_node_cluster_proto_rawDescData = file_service_node_cluster_proto_rawDesc
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_service_node_cluster_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_service_node_cluster_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_service_node_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_node_cluster_proto_rawDescData)
|
|
|
|
|
})
|
|
|
|
|
return file_service_node_cluster_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-14 21:28:02 +08:00
|
|
|
var file_service_node_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 33)
|
2020-09-13 19:27:47 +08:00
|
|
|
var file_service_node_cluster_proto_goTypes = []interface{}{
|
2020-11-12 14:41:23 +08:00
|
|
|
(*FindAllEnabledNodeClustersRequest)(nil), // 0: pb.FindAllEnabledNodeClustersRequest
|
|
|
|
|
(*FindAllEnabledNodeClustersResponse)(nil), // 1: pb.FindAllEnabledNodeClustersResponse
|
|
|
|
|
(*FindAllChangedNodeClustersRequest)(nil), // 2: pb.FindAllChangedNodeClustersRequest
|
|
|
|
|
(*FindAllChangedNodeClustersResponse)(nil), // 3: pb.FindAllChangedNodeClustersResponse
|
|
|
|
|
(*CreateNodeClusterRequest)(nil), // 4: pb.CreateNodeClusterRequest
|
|
|
|
|
(*CreateNodeClusterResponse)(nil), // 5: pb.CreateNodeClusterResponse
|
|
|
|
|
(*UpdateNodeClusterRequest)(nil), // 6: pb.UpdateNodeClusterRequest
|
|
|
|
|
(*DeleteNodeClusterRequest)(nil), // 7: pb.DeleteNodeClusterRequest
|
|
|
|
|
(*FindEnabledNodeClusterRequest)(nil), // 8: pb.FindEnabledNodeClusterRequest
|
|
|
|
|
(*FindEnabledNodeClusterResponse)(nil), // 9: pb.FindEnabledNodeClusterResponse
|
|
|
|
|
(*FindAPINodesWithNodeClusterRequest)(nil), // 10: pb.FindAPINodesWithNodeClusterRequest
|
|
|
|
|
(*FindAPINodesWithNodeClusterResponse)(nil), // 11: pb.FindAPINodesWithNodeClusterResponse
|
|
|
|
|
(*CountAllEnabledNodeClustersRequest)(nil), // 12: pb.CountAllEnabledNodeClustersRequest
|
|
|
|
|
(*ListEnabledNodeClustersRequest)(nil), // 13: pb.ListEnabledNodeClustersRequest
|
|
|
|
|
(*ListEnabledNodeClustersResponse)(nil), // 14: pb.ListEnabledNodeClustersResponse
|
|
|
|
|
(*FindNodeClusterHealthCheckConfigRequest)(nil), // 15: pb.FindNodeClusterHealthCheckConfigRequest
|
|
|
|
|
(*FindNodeClusterHealthCheckConfigResponse)(nil), // 16: pb.FindNodeClusterHealthCheckConfigResponse
|
|
|
|
|
(*UpdateNodeClusterHealthCheckRequest)(nil), // 17: pb.UpdateNodeClusterHealthCheckRequest
|
|
|
|
|
(*ExecuteNodeClusterHealthCheckRequest)(nil), // 18: pb.ExecuteNodeClusterHealthCheckRequest
|
|
|
|
|
(*ExecuteNodeClusterHealthCheckResponse)(nil), // 19: pb.ExecuteNodeClusterHealthCheckResponse
|
|
|
|
|
(*CountAllEnabledNodeClustersWithGrantIdRequest)(nil), // 20: pb.CountAllEnabledNodeClustersWithGrantIdRequest
|
|
|
|
|
(*FindAllEnabledNodeClustersWithGrantIdRequest)(nil), // 21: pb.FindAllEnabledNodeClustersWithGrantIdRequest
|
|
|
|
|
(*FindAllEnabledNodeClustersWithGrantIdResponse)(nil), // 22: pb.FindAllEnabledNodeClustersWithGrantIdResponse
|
|
|
|
|
(*FindEnabledNodeClusterDNSRequest)(nil), // 23: pb.FindEnabledNodeClusterDNSRequest
|
|
|
|
|
(*FindEnabledNodeClusterDNSResponse)(nil), // 24: pb.FindEnabledNodeClusterDNSResponse
|
|
|
|
|
(*CountAllEnabledNodeClustersWithDNSProviderIdRequest)(nil), // 25: pb.CountAllEnabledNodeClustersWithDNSProviderIdRequest
|
|
|
|
|
(*CountAllEnabledNodeClustersWithDNSDomainIdRequest)(nil), // 26: pb.CountAllEnabledNodeClustersWithDNSDomainIdRequest
|
2020-11-13 18:23:06 +08:00
|
|
|
(*CheckNodeClusterDNSNameRequest)(nil), // 27: pb.CheckNodeClusterDNSNameRequest
|
|
|
|
|
(*CheckNodeClusterDNSNameResponse)(nil), // 28: pb.CheckNodeClusterDNSNameResponse
|
|
|
|
|
(*UpdateNodeClusterDNSRequest)(nil), // 29: pb.UpdateNodeClusterDNSRequest
|
2020-11-14 21:28:02 +08:00
|
|
|
(*CheckNodeClusterDNSChangesRequest)(nil), // 30: pb.CheckNodeClusterDNSChangesRequest
|
|
|
|
|
(*CheckNodeClusterDNSChangesResponse)(nil), // 31: pb.CheckNodeClusterDNSChangesResponse
|
|
|
|
|
(*ExecuteNodeClusterHealthCheckResponse_Result)(nil), // 32: pb.ExecuteNodeClusterHealthCheckResponse.Result
|
|
|
|
|
(*NodeCluster)(nil), // 33: pb.NodeCluster
|
|
|
|
|
(*APINode)(nil), // 34: pb.APINode
|
|
|
|
|
(*DNSDomain)(nil), // 35: pb.DNSDomain
|
|
|
|
|
(*DNSProvider)(nil), // 36: pb.DNSProvider
|
|
|
|
|
(*Node)(nil), // 37: pb.Node
|
|
|
|
|
(*RPCSuccess)(nil), // 38: pb.RPCSuccess
|
|
|
|
|
(*RPCCountResponse)(nil), // 39: pb.RPCCountResponse
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
var file_service_node_cluster_proto_depIdxs = []int32{
|
2020-11-14 21:28:02 +08:00
|
|
|
33, // 0: pb.FindAllEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
|
|
|
|
33, // 1: pb.FindAllChangedNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
|
|
|
|
33, // 2: pb.FindEnabledNodeClusterResponse.cluster:type_name -> pb.NodeCluster
|
|
|
|
|
34, // 3: pb.FindAPINodesWithNodeClusterResponse.apiNodes:type_name -> pb.APINode
|
|
|
|
|
33, // 4: pb.ListEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster
|
|
|
|
|
32, // 5: pb.ExecuteNodeClusterHealthCheckResponse.results:type_name -> pb.ExecuteNodeClusterHealthCheckResponse.Result
|
|
|
|
|
33, // 6: pb.FindAllEnabledNodeClustersWithGrantIdResponse.clusters:type_name -> pb.NodeCluster
|
|
|
|
|
35, // 7: pb.FindEnabledNodeClusterDNSResponse.domain:type_name -> pb.DNSDomain
|
|
|
|
|
36, // 8: pb.FindEnabledNodeClusterDNSResponse.provider:type_name -> pb.DNSProvider
|
|
|
|
|
37, // 9: pb.ExecuteNodeClusterHealthCheckResponse.Result.node:type_name -> pb.Node
|
2020-11-12 14:41:23 +08:00
|
|
|
4, // 10: pb.NodeClusterService.createNodeCluster:input_type -> pb.CreateNodeClusterRequest
|
|
|
|
|
6, // 11: pb.NodeClusterService.updateNodeCluster:input_type -> pb.UpdateNodeClusterRequest
|
|
|
|
|
7, // 12: pb.NodeClusterService.deleteNodeCluster:input_type -> pb.DeleteNodeClusterRequest
|
|
|
|
|
8, // 13: pb.NodeClusterService.findEnabledNodeCluster:input_type -> pb.FindEnabledNodeClusterRequest
|
|
|
|
|
10, // 14: pb.NodeClusterService.findAPINodesWithNodeCluster:input_type -> pb.FindAPINodesWithNodeClusterRequest
|
|
|
|
|
0, // 15: pb.NodeClusterService.findAllEnabledNodeClusters:input_type -> pb.FindAllEnabledNodeClustersRequest
|
|
|
|
|
2, // 16: pb.NodeClusterService.findAllChangedNodeClusters:input_type -> pb.FindAllChangedNodeClustersRequest
|
|
|
|
|
12, // 17: pb.NodeClusterService.countAllEnabledNodeClusters:input_type -> pb.CountAllEnabledNodeClustersRequest
|
|
|
|
|
13, // 18: pb.NodeClusterService.listEnabledNodeClusters:input_type -> pb.ListEnabledNodeClustersRequest
|
|
|
|
|
15, // 19: pb.NodeClusterService.findNodeClusterHealthCheckConfig:input_type -> pb.FindNodeClusterHealthCheckConfigRequest
|
|
|
|
|
17, // 20: pb.NodeClusterService.updateNodeClusterHealthCheck:input_type -> pb.UpdateNodeClusterHealthCheckRequest
|
|
|
|
|
18, // 21: pb.NodeClusterService.executeNodeClusterHealthCheck:input_type -> pb.ExecuteNodeClusterHealthCheckRequest
|
|
|
|
|
20, // 22: pb.NodeClusterService.countAllEnabledNodeClustersWithGrantId:input_type -> pb.CountAllEnabledNodeClustersWithGrantIdRequest
|
|
|
|
|
21, // 23: pb.NodeClusterService.findAllEnabledNodeClustersWithGrantId:input_type -> pb.FindAllEnabledNodeClustersWithGrantIdRequest
|
|
|
|
|
23, // 24: pb.NodeClusterService.findEnabledNodeClusterDNS:input_type -> pb.FindEnabledNodeClusterDNSRequest
|
|
|
|
|
25, // 25: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSProviderId:input_type -> pb.CountAllEnabledNodeClustersWithDNSProviderIdRequest
|
|
|
|
|
26, // 26: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSDomainId:input_type -> pb.CountAllEnabledNodeClustersWithDNSDomainIdRequest
|
2020-11-13 18:23:06 +08:00
|
|
|
27, // 27: pb.NodeClusterService.checkNodeClusterDNSName:input_type -> pb.CheckNodeClusterDNSNameRequest
|
|
|
|
|
29, // 28: pb.NodeClusterService.updateNodeClusterDNS:input_type -> pb.UpdateNodeClusterDNSRequest
|
2020-11-14 21:28:02 +08:00
|
|
|
30, // 29: pb.NodeClusterService.checkNodeClusterDNSChanges:input_type -> pb.CheckNodeClusterDNSChangesRequest
|
|
|
|
|
5, // 30: pb.NodeClusterService.createNodeCluster:output_type -> pb.CreateNodeClusterResponse
|
|
|
|
|
38, // 31: pb.NodeClusterService.updateNodeCluster:output_type -> pb.RPCSuccess
|
|
|
|
|
38, // 32: pb.NodeClusterService.deleteNodeCluster:output_type -> pb.RPCSuccess
|
|
|
|
|
9, // 33: pb.NodeClusterService.findEnabledNodeCluster:output_type -> pb.FindEnabledNodeClusterResponse
|
|
|
|
|
11, // 34: pb.NodeClusterService.findAPINodesWithNodeCluster:output_type -> pb.FindAPINodesWithNodeClusterResponse
|
|
|
|
|
1, // 35: pb.NodeClusterService.findAllEnabledNodeClusters:output_type -> pb.FindAllEnabledNodeClustersResponse
|
|
|
|
|
3, // 36: pb.NodeClusterService.findAllChangedNodeClusters:output_type -> pb.FindAllChangedNodeClustersResponse
|
|
|
|
|
39, // 37: pb.NodeClusterService.countAllEnabledNodeClusters:output_type -> pb.RPCCountResponse
|
|
|
|
|
14, // 38: pb.NodeClusterService.listEnabledNodeClusters:output_type -> pb.ListEnabledNodeClustersResponse
|
|
|
|
|
16, // 39: pb.NodeClusterService.findNodeClusterHealthCheckConfig:output_type -> pb.FindNodeClusterHealthCheckConfigResponse
|
|
|
|
|
38, // 40: pb.NodeClusterService.updateNodeClusterHealthCheck:output_type -> pb.RPCSuccess
|
|
|
|
|
19, // 41: pb.NodeClusterService.executeNodeClusterHealthCheck:output_type -> pb.ExecuteNodeClusterHealthCheckResponse
|
|
|
|
|
39, // 42: pb.NodeClusterService.countAllEnabledNodeClustersWithGrantId:output_type -> pb.RPCCountResponse
|
|
|
|
|
22, // 43: pb.NodeClusterService.findAllEnabledNodeClustersWithGrantId:output_type -> pb.FindAllEnabledNodeClustersWithGrantIdResponse
|
|
|
|
|
24, // 44: pb.NodeClusterService.findEnabledNodeClusterDNS:output_type -> pb.FindEnabledNodeClusterDNSResponse
|
|
|
|
|
39, // 45: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSProviderId:output_type -> pb.RPCCountResponse
|
|
|
|
|
39, // 46: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSDomainId:output_type -> pb.RPCCountResponse
|
|
|
|
|
28, // 47: pb.NodeClusterService.checkNodeClusterDNSName:output_type -> pb.CheckNodeClusterDNSNameResponse
|
|
|
|
|
38, // 48: pb.NodeClusterService.updateNodeClusterDNS:output_type -> pb.RPCSuccess
|
|
|
|
|
31, // 49: pb.NodeClusterService.checkNodeClusterDNSChanges:output_type -> pb.CheckNodeClusterDNSChangesResponse
|
|
|
|
|
30, // [30:50] is the sub-list for method output_type
|
|
|
|
|
10, // [10:30] is the sub-list for method input_type
|
2020-11-12 14:41:23 +08:00
|
|
|
10, // [10:10] is the sub-list for extension type_name
|
|
|
|
|
10, // [10:10] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:10] is the sub-list for field type_name
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_service_node_cluster_proto_init() }
|
|
|
|
|
func file_service_node_cluster_proto_init() {
|
|
|
|
|
if File_service_node_cluster_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
file_model_node_cluster_proto_init()
|
2020-10-17 11:14:44 +08:00
|
|
|
file_model_api_node_proto_init()
|
2020-10-17 21:15:37 +08:00
|
|
|
file_model_node_proto_init()
|
2020-09-17 10:15:55 +08:00
|
|
|
file_rpc_messages_proto_init()
|
2020-11-12 14:41:23 +08:00
|
|
|
file_model_dns_domain_proto_init()
|
2020-11-11 21:32:11 +08:00
|
|
|
file_model_dns_provider_proto_init()
|
2020-09-13 19:27:47 +08:00
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindAllEnabledNodeClustersRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindAllEnabledNodeClustersResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindAllChangedNodeClustersRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindAllChangedNodeClustersResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateNodeClusterRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateNodeClusterResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNodeClusterRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-25 16:22:40 +08:00
|
|
|
switch v := v.(*DeleteNodeClusterRequest); i {
|
2020-09-13 19:27:47 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-17 10:15:55 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2020-09-13 19:27:47 +08:00
|
|
|
switch v := v.(*FindEnabledNodeClusterRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2020-09-13 19:27:47 +08:00
|
|
|
switch v := v.(*FindEnabledNodeClusterResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*FindAPINodesWithNodeClusterRequest); i {
|
2020-09-13 19:27:47 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*FindAPINodesWithNodeClusterResponse); i {
|
2020-09-13 19:27:47 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodeClustersRequest); i {
|
2020-09-13 19:27:47 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*ListEnabledNodeClustersRequest); i {
|
2020-10-17 11:14:44 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*ListEnabledNodeClustersResponse); i {
|
2020-10-17 11:14:44 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*FindNodeClusterHealthCheckConfigRequest); i {
|
2020-09-13 19:27:47 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*FindNodeClusterHealthCheckConfigResponse); i {
|
2020-10-17 21:15:37 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*UpdateNodeClusterHealthCheckRequest); i {
|
2020-10-17 21:15:37 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*ExecuteNodeClusterHealthCheckRequest); i {
|
2020-10-17 21:15:37 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*ExecuteNodeClusterHealthCheckResponse); i {
|
2020-10-17 21:15:37 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodeClustersWithGrantIdRequest); i {
|
2020-10-17 21:15:37 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 16:22:40 +08:00
|
|
|
file_service_node_cluster_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*FindAllEnabledNodeClustersWithGrantIdRequest); i {
|
2020-10-25 21:27:49 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*FindAllEnabledNodeClustersWithGrantIdResponse); i {
|
2020-10-25 21:27:49 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*FindEnabledNodeClusterDNSRequest); i {
|
2020-10-25 21:27:49 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*FindEnabledNodeClusterDNSResponse); i {
|
2020-10-25 21:27:49 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodeClustersWithDNSProviderIdRequest); i {
|
2020-11-11 21:32:11 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-12 14:41:23 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodeClustersWithDNSDomainIdRequest); i {
|
2020-11-11 21:32:11 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-13 18:23:06 +08:00
|
|
|
switch v := v.(*CheckNodeClusterDNSNameRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CheckNodeClusterDNSNameResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNodeClusterDNSRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-14 21:28:02 +08:00
|
|
|
switch v := v.(*CheckNodeClusterDNSChangesRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CheckNodeClusterDNSChangesResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_cluster_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 21:15:37 +08:00
|
|
|
switch v := v.(*ExecuteNodeClusterHealthCheckResponse_Result); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_service_node_cluster_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
2020-11-14 21:28:02 +08:00
|
|
|
NumMessages: 33,
|
2020-09-13 19:27:47 +08:00
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_service_node_cluster_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_service_node_cluster_proto_depIdxs,
|
|
|
|
|
MessageInfos: file_service_node_cluster_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_service_node_cluster_proto = out.File
|
|
|
|
|
file_service_node_cluster_proto_rawDesc = nil
|
|
|
|
|
file_service_node_cluster_proto_goTypes = nil
|
|
|
|
|
file_service_node_cluster_proto_depIdxs = nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
|
var _ context.Context
|
|
|
|
|
var _ grpc.ClientConnInterface
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
|
|
|
|
|
|
// NodeClusterServiceClient is the client API for NodeClusterService service.
|
|
|
|
|
//
|
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
|
type NodeClusterServiceClient interface {
|
|
|
|
|
// 创建集群
|
|
|
|
|
CreateNodeCluster(ctx context.Context, in *CreateNodeClusterRequest, opts ...grpc.CallOption) (*CreateNodeClusterResponse, error)
|
|
|
|
|
// 修改集群
|
2020-11-13 18:23:06 +08:00
|
|
|
UpdateNodeCluster(ctx context.Context, in *UpdateNodeClusterRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2020-10-25 16:22:40 +08:00
|
|
|
// 删除集群
|
2020-11-13 18:23:06 +08:00
|
|
|
DeleteNodeCluster(ctx context.Context, in *DeleteNodeClusterRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 查找单个集群信息
|
|
|
|
|
FindEnabledNodeCluster(ctx context.Context, in *FindEnabledNodeClusterRequest, opts ...grpc.CallOption) (*FindEnabledNodeClusterResponse, error)
|
2020-10-17 11:14:44 +08:00
|
|
|
// 查找集群的API节点信息
|
|
|
|
|
FindAPINodesWithNodeCluster(ctx context.Context, in *FindAPINodesWithNodeClusterRequest, opts ...grpc.CallOption) (*FindAPINodesWithNodeClusterResponse, error)
|
|
|
|
|
// 获取所有可用集群
|
2020-09-13 19:27:47 +08:00
|
|
|
FindAllEnabledNodeClusters(ctx context.Context, in *FindAllEnabledNodeClustersRequest, opts ...grpc.CallOption) (*FindAllEnabledNodeClustersResponse, error)
|
|
|
|
|
// 获取变更的集群
|
|
|
|
|
FindAllChangedNodeClusters(ctx context.Context, in *FindAllChangedNodeClustersRequest, opts ...grpc.CallOption) (*FindAllChangedNodeClustersResponse, error)
|
|
|
|
|
// 计算所有集群数量
|
2020-11-12 14:41:23 +08:00
|
|
|
CountAllEnabledNodeClusters(ctx context.Context, in *CountAllEnabledNodeClustersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 列出单页集群
|
|
|
|
|
ListEnabledNodeClusters(ctx context.Context, in *ListEnabledNodeClustersRequest, opts ...grpc.CallOption) (*ListEnabledNodeClustersResponse, error)
|
2020-10-17 21:15:37 +08:00
|
|
|
// 查找集群的健康检查配置
|
|
|
|
|
FindNodeClusterHealthCheckConfig(ctx context.Context, in *FindNodeClusterHealthCheckConfigRequest, opts ...grpc.CallOption) (*FindNodeClusterHealthCheckConfigResponse, error)
|
|
|
|
|
// 修改集群健康检查设置
|
2020-11-13 18:23:06 +08:00
|
|
|
UpdateNodeClusterHealthCheck(ctx context.Context, in *UpdateNodeClusterHealthCheckRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2020-10-17 21:15:37 +08:00
|
|
|
// 执行健康检查
|
|
|
|
|
ExecuteNodeClusterHealthCheck(ctx context.Context, in *ExecuteNodeClusterHealthCheckRequest, opts ...grpc.CallOption) (*ExecuteNodeClusterHealthCheckResponse, error)
|
2020-10-25 21:27:49 +08:00
|
|
|
// 计算使用某个认证的集群数量
|
2020-11-12 14:41:23 +08:00
|
|
|
CountAllEnabledNodeClustersWithGrantId(ctx context.Context, in *CountAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
2020-10-25 21:27:49 +08:00
|
|
|
// 查找使用某个认证的所有集群
|
|
|
|
|
FindAllEnabledNodeClustersWithGrantId(ctx context.Context, in *FindAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodeClustersWithGrantIdResponse, error)
|
2020-11-11 21:32:11 +08:00
|
|
|
// 查找集群的DNS配置
|
|
|
|
|
FindEnabledNodeClusterDNS(ctx context.Context, in *FindEnabledNodeClusterDNSRequest, opts ...grpc.CallOption) (*FindEnabledNodeClusterDNSResponse, error)
|
|
|
|
|
// 计算使用某个DNS服务商的集群数量
|
2020-11-12 14:41:23 +08:00
|
|
|
CountAllEnabledNodeClustersWithDNSProviderId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
|
|
|
|
// 计算使用某个DNS域名的集群数量
|
|
|
|
|
CountAllEnabledNodeClustersWithDNSDomainId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSDomainIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
2020-11-13 18:23:06 +08:00
|
|
|
// 检查集群域名是否已经被使用
|
|
|
|
|
CheckNodeClusterDNSName(ctx context.Context, in *CheckNodeClusterDNSNameRequest, opts ...grpc.CallOption) (*CheckNodeClusterDNSNameResponse, error)
|
|
|
|
|
// 修改集群的域名设置
|
|
|
|
|
UpdateNodeClusterDNS(ctx context.Context, in *UpdateNodeClusterDNSRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2020-11-14 21:28:02 +08:00
|
|
|
// 检查集群的DNS是否有变化
|
|
|
|
|
CheckNodeClusterDNSChanges(ctx context.Context, in *CheckNodeClusterDNSChangesRequest, opts ...grpc.CallOption) (*CheckNodeClusterDNSChangesResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type nodeClusterServiceClient struct {
|
|
|
|
|
cc grpc.ClientConnInterface
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewNodeClusterServiceClient(cc grpc.ClientConnInterface) NodeClusterServiceClient {
|
|
|
|
|
return &nodeClusterServiceClient{cc}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeClusterServiceClient) CreateNodeCluster(ctx context.Context, in *CreateNodeClusterRequest, opts ...grpc.CallOption) (*CreateNodeClusterResponse, error) {
|
|
|
|
|
out := new(CreateNodeClusterResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/createNodeCluster", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-13 18:23:06 +08:00
|
|
|
func (c *nodeClusterServiceClient) UpdateNodeCluster(ctx context.Context, in *UpdateNodeClusterRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
2020-09-13 19:27:47 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/updateNodeCluster", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-13 18:23:06 +08:00
|
|
|
func (c *nodeClusterServiceClient) DeleteNodeCluster(ctx context.Context, in *DeleteNodeClusterRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
2020-10-25 16:22:40 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/deleteNodeCluster", in, out, opts...)
|
2020-09-13 19:27:47 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeClusterServiceClient) FindEnabledNodeCluster(ctx context.Context, in *FindEnabledNodeClusterRequest, opts ...grpc.CallOption) (*FindEnabledNodeClusterResponse, error) {
|
|
|
|
|
out := new(FindEnabledNodeClusterResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/findEnabledNodeCluster", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 11:14:44 +08:00
|
|
|
func (c *nodeClusterServiceClient) FindAPINodesWithNodeCluster(ctx context.Context, in *FindAPINodesWithNodeClusterRequest, opts ...grpc.CallOption) (*FindAPINodesWithNodeClusterResponse, error) {
|
|
|
|
|
out := new(FindAPINodesWithNodeClusterResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/findAPINodesWithNodeCluster", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
func (c *nodeClusterServiceClient) FindAllEnabledNodeClusters(ctx context.Context, in *FindAllEnabledNodeClustersRequest, opts ...grpc.CallOption) (*FindAllEnabledNodeClustersResponse, error) {
|
|
|
|
|
out := new(FindAllEnabledNodeClustersResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/findAllEnabledNodeClusters", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeClusterServiceClient) FindAllChangedNodeClusters(ctx context.Context, in *FindAllChangedNodeClustersRequest, opts ...grpc.CallOption) (*FindAllChangedNodeClustersResponse, error) {
|
|
|
|
|
out := new(FindAllChangedNodeClustersResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/findAllChangedNodeClusters", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (c *nodeClusterServiceClient) CountAllEnabledNodeClusters(ctx context.Context, in *CountAllEnabledNodeClustersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
|
|
|
|
out := new(RPCCountResponse)
|
2020-09-13 19:27:47 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/countAllEnabledNodeClusters", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeClusterServiceClient) ListEnabledNodeClusters(ctx context.Context, in *ListEnabledNodeClustersRequest, opts ...grpc.CallOption) (*ListEnabledNodeClustersResponse, error) {
|
|
|
|
|
out := new(ListEnabledNodeClustersResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/listEnabledNodeClusters", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 21:15:37 +08:00
|
|
|
func (c *nodeClusterServiceClient) FindNodeClusterHealthCheckConfig(ctx context.Context, in *FindNodeClusterHealthCheckConfigRequest, opts ...grpc.CallOption) (*FindNodeClusterHealthCheckConfigResponse, error) {
|
|
|
|
|
out := new(FindNodeClusterHealthCheckConfigResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/findNodeClusterHealthCheckConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-13 18:23:06 +08:00
|
|
|
func (c *nodeClusterServiceClient) UpdateNodeClusterHealthCheck(ctx context.Context, in *UpdateNodeClusterHealthCheckRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
2020-10-17 21:15:37 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/updateNodeClusterHealthCheck", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeClusterServiceClient) ExecuteNodeClusterHealthCheck(ctx context.Context, in *ExecuteNodeClusterHealthCheckRequest, opts ...grpc.CallOption) (*ExecuteNodeClusterHealthCheckResponse, error) {
|
|
|
|
|
out := new(ExecuteNodeClusterHealthCheckResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/executeNodeClusterHealthCheck", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithGrantId(ctx context.Context, in *CountAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
|
|
|
|
out := new(RPCCountResponse)
|
2020-10-25 21:27:49 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/countAllEnabledNodeClustersWithGrantId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeClusterServiceClient) FindAllEnabledNodeClustersWithGrantId(ctx context.Context, in *FindAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodeClustersWithGrantIdResponse, error) {
|
|
|
|
|
out := new(FindAllEnabledNodeClustersWithGrantIdResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/findAllEnabledNodeClustersWithGrantId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-11 21:32:11 +08:00
|
|
|
func (c *nodeClusterServiceClient) FindEnabledNodeClusterDNS(ctx context.Context, in *FindEnabledNodeClusterDNSRequest, opts ...grpc.CallOption) (*FindEnabledNodeClusterDNSResponse, error) {
|
|
|
|
|
out := new(FindEnabledNodeClusterDNSResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/findEnabledNodeClusterDNS", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithDNSProviderId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
|
|
|
|
out := new(RPCCountResponse)
|
2020-11-11 21:32:11 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/countAllEnabledNodeClustersWithDNSProviderId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithDNSDomainId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSDomainIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
|
|
|
|
out := new(RPCCountResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/countAllEnabledNodeClustersWithDNSDomainId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-13 18:23:06 +08:00
|
|
|
func (c *nodeClusterServiceClient) CheckNodeClusterDNSName(ctx context.Context, in *CheckNodeClusterDNSNameRequest, opts ...grpc.CallOption) (*CheckNodeClusterDNSNameResponse, error) {
|
|
|
|
|
out := new(CheckNodeClusterDNSNameResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/checkNodeClusterDNSName", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeClusterServiceClient) UpdateNodeClusterDNS(ctx context.Context, in *UpdateNodeClusterDNSRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/updateNodeClusterDNS", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-14 21:28:02 +08:00
|
|
|
func (c *nodeClusterServiceClient) CheckNodeClusterDNSChanges(ctx context.Context, in *CheckNodeClusterDNSChangesRequest, opts ...grpc.CallOption) (*CheckNodeClusterDNSChangesResponse, error) {
|
|
|
|
|
out := new(CheckNodeClusterDNSChangesResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeClusterService/checkNodeClusterDNSChanges", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
// NodeClusterServiceServer is the server API for NodeClusterService service.
|
|
|
|
|
type NodeClusterServiceServer interface {
|
|
|
|
|
// 创建集群
|
|
|
|
|
CreateNodeCluster(context.Context, *CreateNodeClusterRequest) (*CreateNodeClusterResponse, error)
|
|
|
|
|
// 修改集群
|
2020-11-13 18:23:06 +08:00
|
|
|
UpdateNodeCluster(context.Context, *UpdateNodeClusterRequest) (*RPCSuccess, error)
|
2020-10-25 16:22:40 +08:00
|
|
|
// 删除集群
|
2020-11-13 18:23:06 +08:00
|
|
|
DeleteNodeCluster(context.Context, *DeleteNodeClusterRequest) (*RPCSuccess, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 查找单个集群信息
|
|
|
|
|
FindEnabledNodeCluster(context.Context, *FindEnabledNodeClusterRequest) (*FindEnabledNodeClusterResponse, error)
|
2020-10-17 11:14:44 +08:00
|
|
|
// 查找集群的API节点信息
|
|
|
|
|
FindAPINodesWithNodeCluster(context.Context, *FindAPINodesWithNodeClusterRequest) (*FindAPINodesWithNodeClusterResponse, error)
|
|
|
|
|
// 获取所有可用集群
|
2020-09-13 19:27:47 +08:00
|
|
|
FindAllEnabledNodeClusters(context.Context, *FindAllEnabledNodeClustersRequest) (*FindAllEnabledNodeClustersResponse, error)
|
|
|
|
|
// 获取变更的集群
|
|
|
|
|
FindAllChangedNodeClusters(context.Context, *FindAllChangedNodeClustersRequest) (*FindAllChangedNodeClustersResponse, error)
|
|
|
|
|
// 计算所有集群数量
|
2020-11-12 14:41:23 +08:00
|
|
|
CountAllEnabledNodeClusters(context.Context, *CountAllEnabledNodeClustersRequest) (*RPCCountResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 列出单页集群
|
|
|
|
|
ListEnabledNodeClusters(context.Context, *ListEnabledNodeClustersRequest) (*ListEnabledNodeClustersResponse, error)
|
2020-10-17 21:15:37 +08:00
|
|
|
// 查找集群的健康检查配置
|
|
|
|
|
FindNodeClusterHealthCheckConfig(context.Context, *FindNodeClusterHealthCheckConfigRequest) (*FindNodeClusterHealthCheckConfigResponse, error)
|
|
|
|
|
// 修改集群健康检查设置
|
2020-11-13 18:23:06 +08:00
|
|
|
UpdateNodeClusterHealthCheck(context.Context, *UpdateNodeClusterHealthCheckRequest) (*RPCSuccess, error)
|
2020-10-17 21:15:37 +08:00
|
|
|
// 执行健康检查
|
|
|
|
|
ExecuteNodeClusterHealthCheck(context.Context, *ExecuteNodeClusterHealthCheckRequest) (*ExecuteNodeClusterHealthCheckResponse, error)
|
2020-10-25 21:27:49 +08:00
|
|
|
// 计算使用某个认证的集群数量
|
2020-11-12 14:41:23 +08:00
|
|
|
CountAllEnabledNodeClustersWithGrantId(context.Context, *CountAllEnabledNodeClustersWithGrantIdRequest) (*RPCCountResponse, error)
|
2020-10-25 21:27:49 +08:00
|
|
|
// 查找使用某个认证的所有集群
|
|
|
|
|
FindAllEnabledNodeClustersWithGrantId(context.Context, *FindAllEnabledNodeClustersWithGrantIdRequest) (*FindAllEnabledNodeClustersWithGrantIdResponse, error)
|
2020-11-11 21:32:11 +08:00
|
|
|
// 查找集群的DNS配置
|
|
|
|
|
FindEnabledNodeClusterDNS(context.Context, *FindEnabledNodeClusterDNSRequest) (*FindEnabledNodeClusterDNSResponse, error)
|
|
|
|
|
// 计算使用某个DNS服务商的集群数量
|
2020-11-12 14:41:23 +08:00
|
|
|
CountAllEnabledNodeClustersWithDNSProviderId(context.Context, *CountAllEnabledNodeClustersWithDNSProviderIdRequest) (*RPCCountResponse, error)
|
|
|
|
|
// 计算使用某个DNS域名的集群数量
|
|
|
|
|
CountAllEnabledNodeClustersWithDNSDomainId(context.Context, *CountAllEnabledNodeClustersWithDNSDomainIdRequest) (*RPCCountResponse, error)
|
2020-11-13 18:23:06 +08:00
|
|
|
// 检查集群域名是否已经被使用
|
|
|
|
|
CheckNodeClusterDNSName(context.Context, *CheckNodeClusterDNSNameRequest) (*CheckNodeClusterDNSNameResponse, error)
|
|
|
|
|
// 修改集群的域名设置
|
|
|
|
|
UpdateNodeClusterDNS(context.Context, *UpdateNodeClusterDNSRequest) (*RPCSuccess, error)
|
2020-11-14 21:28:02 +08:00
|
|
|
// 检查集群的DNS是否有变化
|
|
|
|
|
CheckNodeClusterDNSChanges(context.Context, *CheckNodeClusterDNSChangesRequest) (*CheckNodeClusterDNSChangesResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedNodeClusterServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
|
type UnimplementedNodeClusterServiceServer struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UnimplementedNodeClusterServiceServer) CreateNodeCluster(context.Context, *CreateNodeClusterRequest) (*CreateNodeClusterResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNodeCluster not implemented")
|
|
|
|
|
}
|
2020-11-13 18:23:06 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) UpdateNodeCluster(context.Context, *UpdateNodeClusterRequest) (*RPCSuccess, error) {
|
2020-09-13 19:27:47 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeCluster not implemented")
|
|
|
|
|
}
|
2020-11-13 18:23:06 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) DeleteNodeCluster(context.Context, *DeleteNodeClusterRequest) (*RPCSuccess, error) {
|
2020-10-25 16:22:40 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteNodeCluster not implemented")
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeClusterServiceServer) FindEnabledNodeCluster(context.Context, *FindEnabledNodeClusterRequest) (*FindEnabledNodeClusterResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledNodeCluster not implemented")
|
|
|
|
|
}
|
2020-10-17 11:14:44 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) FindAPINodesWithNodeCluster(context.Context, *FindAPINodesWithNodeClusterRequest) (*FindAPINodesWithNodeClusterResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAPINodesWithNodeCluster not implemented")
|
|
|
|
|
}
|
2020-09-13 19:27:47 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) FindAllEnabledNodeClusters(context.Context, *FindAllEnabledNodeClustersRequest) (*FindAllEnabledNodeClustersResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledNodeClusters not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeClusterServiceServer) FindAllChangedNodeClusters(context.Context, *FindAllChangedNodeClustersRequest) (*FindAllChangedNodeClustersResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllChangedNodeClusters not implemented")
|
|
|
|
|
}
|
2020-11-12 14:41:23 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClusters(context.Context, *CountAllEnabledNodeClustersRequest) (*RPCCountResponse, error) {
|
2020-09-13 19:27:47 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeClusters not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeClusterServiceServer) ListEnabledNodeClusters(context.Context, *ListEnabledNodeClustersRequest) (*ListEnabledNodeClustersResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListEnabledNodeClusters not implemented")
|
|
|
|
|
}
|
2020-10-17 21:15:37 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) FindNodeClusterHealthCheckConfig(context.Context, *FindNodeClusterHealthCheckConfigRequest) (*FindNodeClusterHealthCheckConfigResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNodeClusterHealthCheckConfig not implemented")
|
|
|
|
|
}
|
2020-11-13 18:23:06 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) UpdateNodeClusterHealthCheck(context.Context, *UpdateNodeClusterHealthCheckRequest) (*RPCSuccess, error) {
|
2020-10-17 21:15:37 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeClusterHealthCheck not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeClusterServiceServer) ExecuteNodeClusterHealthCheck(context.Context, *ExecuteNodeClusterHealthCheckRequest) (*ExecuteNodeClusterHealthCheckResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ExecuteNodeClusterHealthCheck not implemented")
|
|
|
|
|
}
|
2020-11-12 14:41:23 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClustersWithGrantId(context.Context, *CountAllEnabledNodeClustersWithGrantIdRequest) (*RPCCountResponse, error) {
|
2020-10-25 21:27:49 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeClustersWithGrantId not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeClusterServiceServer) FindAllEnabledNodeClustersWithGrantId(context.Context, *FindAllEnabledNodeClustersWithGrantIdRequest) (*FindAllEnabledNodeClustersWithGrantIdResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledNodeClustersWithGrantId not implemented")
|
|
|
|
|
}
|
2020-11-11 21:32:11 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) FindEnabledNodeClusterDNS(context.Context, *FindEnabledNodeClusterDNSRequest) (*FindEnabledNodeClusterDNSResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledNodeClusterDNS not implemented")
|
|
|
|
|
}
|
2020-11-12 14:41:23 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClustersWithDNSProviderId(context.Context, *CountAllEnabledNodeClustersWithDNSProviderIdRequest) (*RPCCountResponse, error) {
|
2020-11-11 21:32:11 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeClustersWithDNSProviderId not implemented")
|
|
|
|
|
}
|
2020-11-12 14:41:23 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClustersWithDNSDomainId(context.Context, *CountAllEnabledNodeClustersWithDNSDomainIdRequest) (*RPCCountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeClustersWithDNSDomainId not implemented")
|
|
|
|
|
}
|
2020-11-13 18:23:06 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) CheckNodeClusterDNSName(context.Context, *CheckNodeClusterDNSNameRequest) (*CheckNodeClusterDNSNameResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CheckNodeClusterDNSName not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeClusterServiceServer) UpdateNodeClusterDNS(context.Context, *UpdateNodeClusterDNSRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeClusterDNS not implemented")
|
|
|
|
|
}
|
2020-11-14 21:28:02 +08:00
|
|
|
func (*UnimplementedNodeClusterServiceServer) CheckNodeClusterDNSChanges(context.Context, *CheckNodeClusterDNSChangesRequest) (*CheckNodeClusterDNSChangesResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CheckNodeClusterDNSChanges not implemented")
|
|
|
|
|
}
|
2020-09-13 19:27:47 +08:00
|
|
|
|
|
|
|
|
func RegisterNodeClusterServiceServer(s *grpc.Server, srv NodeClusterServiceServer) {
|
|
|
|
|
s.RegisterService(&_NodeClusterService_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_CreateNodeCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateNodeClusterRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CreateNodeCluster(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/CreateNodeCluster",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CreateNodeCluster(ctx, req.(*CreateNodeClusterRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_UpdateNodeCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNodeClusterRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).UpdateNodeCluster(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/UpdateNodeCluster",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).UpdateNodeCluster(ctx, req.(*UpdateNodeClusterRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 16:22:40 +08:00
|
|
|
func _NodeClusterService_DeleteNodeCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(DeleteNodeClusterRequest)
|
2020-09-13 19:27:47 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2020-10-25 16:22:40 +08:00
|
|
|
return srv.(NodeClusterServiceServer).DeleteNodeCluster(ctx, in)
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2020-10-25 16:22:40 +08:00
|
|
|
FullMethod: "/pb.NodeClusterService/DeleteNodeCluster",
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2020-10-25 16:22:40 +08:00
|
|
|
return srv.(NodeClusterServiceServer).DeleteNodeCluster(ctx, req.(*DeleteNodeClusterRequest))
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_FindEnabledNodeCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindEnabledNodeClusterRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindEnabledNodeCluster(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/FindEnabledNodeCluster",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindEnabledNodeCluster(ctx, req.(*FindEnabledNodeClusterRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 11:14:44 +08:00
|
|
|
func _NodeClusterService_FindAPINodesWithNodeCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAPINodesWithNodeClusterRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindAPINodesWithNodeCluster(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/FindAPINodesWithNodeCluster",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindAPINodesWithNodeCluster(ctx, req.(*FindAPINodesWithNodeClusterRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
func _NodeClusterService_FindAllEnabledNodeClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAllEnabledNodeClustersRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindAllEnabledNodeClusters(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/FindAllEnabledNodeClusters",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindAllEnabledNodeClusters(ctx, req.(*FindAllEnabledNodeClustersRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_FindAllChangedNodeClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAllChangedNodeClustersRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindAllChangedNodeClusters(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/FindAllChangedNodeClusters",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindAllChangedNodeClusters(ctx, req.(*FindAllChangedNodeClustersRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_CountAllEnabledNodeClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllEnabledNodeClustersRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CountAllEnabledNodeClusters(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/CountAllEnabledNodeClusters",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CountAllEnabledNodeClusters(ctx, req.(*CountAllEnabledNodeClustersRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_ListEnabledNodeClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ListEnabledNodeClustersRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).ListEnabledNodeClusters(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/ListEnabledNodeClusters",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).ListEnabledNodeClusters(ctx, req.(*ListEnabledNodeClustersRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 21:15:37 +08:00
|
|
|
func _NodeClusterService_FindNodeClusterHealthCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNodeClusterHealthCheckConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindNodeClusterHealthCheckConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/FindNodeClusterHealthCheckConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindNodeClusterHealthCheckConfig(ctx, req.(*FindNodeClusterHealthCheckConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_UpdateNodeClusterHealthCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNodeClusterHealthCheckRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).UpdateNodeClusterHealthCheck(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/UpdateNodeClusterHealthCheck",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).UpdateNodeClusterHealthCheck(ctx, req.(*UpdateNodeClusterHealthCheckRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_ExecuteNodeClusterHealthCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ExecuteNodeClusterHealthCheckRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).ExecuteNodeClusterHealthCheck(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/ExecuteNodeClusterHealthCheck",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).ExecuteNodeClusterHealthCheck(ctx, req.(*ExecuteNodeClusterHealthCheckRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 21:27:49 +08:00
|
|
|
func _NodeClusterService_CountAllEnabledNodeClustersWithGrantId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllEnabledNodeClustersWithGrantIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CountAllEnabledNodeClustersWithGrantId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/CountAllEnabledNodeClustersWithGrantId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CountAllEnabledNodeClustersWithGrantId(ctx, req.(*CountAllEnabledNodeClustersWithGrantIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_FindAllEnabledNodeClustersWithGrantId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAllEnabledNodeClustersWithGrantIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindAllEnabledNodeClustersWithGrantId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/FindAllEnabledNodeClustersWithGrantId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindAllEnabledNodeClustersWithGrantId(ctx, req.(*FindAllEnabledNodeClustersWithGrantIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-11 21:32:11 +08:00
|
|
|
func _NodeClusterService_FindEnabledNodeClusterDNS_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindEnabledNodeClusterDNSRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindEnabledNodeClusterDNS(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/FindEnabledNodeClusterDNS",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).FindEnabledNodeClusterDNS(ctx, req.(*FindEnabledNodeClusterDNSRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_CountAllEnabledNodeClustersWithDNSProviderId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllEnabledNodeClustersWithDNSProviderIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CountAllEnabledNodeClustersWithDNSProviderId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/CountAllEnabledNodeClustersWithDNSProviderId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CountAllEnabledNodeClustersWithDNSProviderId(ctx, req.(*CountAllEnabledNodeClustersWithDNSProviderIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-12 14:41:23 +08:00
|
|
|
func _NodeClusterService_CountAllEnabledNodeClustersWithDNSDomainId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllEnabledNodeClustersWithDNSDomainIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CountAllEnabledNodeClustersWithDNSDomainId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/CountAllEnabledNodeClustersWithDNSDomainId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CountAllEnabledNodeClustersWithDNSDomainId(ctx, req.(*CountAllEnabledNodeClustersWithDNSDomainIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-13 18:23:06 +08:00
|
|
|
func _NodeClusterService_CheckNodeClusterDNSName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CheckNodeClusterDNSNameRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CheckNodeClusterDNSName(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/CheckNodeClusterDNSName",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CheckNodeClusterDNSName(ctx, req.(*CheckNodeClusterDNSNameRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeClusterService_UpdateNodeClusterDNS_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNodeClusterDNSRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).UpdateNodeClusterDNS(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/UpdateNodeClusterDNS",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).UpdateNodeClusterDNS(ctx, req.(*UpdateNodeClusterDNSRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-14 21:28:02 +08:00
|
|
|
func _NodeClusterService_CheckNodeClusterDNSChanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CheckNodeClusterDNSChangesRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CheckNodeClusterDNSChanges(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeClusterService/CheckNodeClusterDNSChanges",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeClusterServiceServer).CheckNodeClusterDNSChanges(ctx, req.(*CheckNodeClusterDNSChangesRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
var _NodeClusterService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "pb.NodeClusterService",
|
|
|
|
|
HandlerType: (*NodeClusterServiceServer)(nil),
|
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
|
{
|
|
|
|
|
MethodName: "createNodeCluster",
|
|
|
|
|
Handler: _NodeClusterService_CreateNodeCluster_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNodeCluster",
|
|
|
|
|
Handler: _NodeClusterService_UpdateNodeCluster_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
2020-10-25 16:22:40 +08:00
|
|
|
MethodName: "deleteNodeCluster",
|
|
|
|
|
Handler: _NodeClusterService_DeleteNodeCluster_Handler,
|
2020-09-13 19:27:47 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findEnabledNodeCluster",
|
|
|
|
|
Handler: _NodeClusterService_FindEnabledNodeCluster_Handler,
|
|
|
|
|
},
|
2020-10-17 11:14:44 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findAPINodesWithNodeCluster",
|
|
|
|
|
Handler: _NodeClusterService_FindAPINodesWithNodeCluster_Handler,
|
|
|
|
|
},
|
2020-09-13 19:27:47 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findAllEnabledNodeClusters",
|
|
|
|
|
Handler: _NodeClusterService_FindAllEnabledNodeClusters_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findAllChangedNodeClusters",
|
|
|
|
|
Handler: _NodeClusterService_FindAllChangedNodeClusters_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "countAllEnabledNodeClusters",
|
|
|
|
|
Handler: _NodeClusterService_CountAllEnabledNodeClusters_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "listEnabledNodeClusters",
|
|
|
|
|
Handler: _NodeClusterService_ListEnabledNodeClusters_Handler,
|
|
|
|
|
},
|
2020-10-17 21:15:37 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNodeClusterHealthCheckConfig",
|
|
|
|
|
Handler: _NodeClusterService_FindNodeClusterHealthCheckConfig_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNodeClusterHealthCheck",
|
|
|
|
|
Handler: _NodeClusterService_UpdateNodeClusterHealthCheck_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "executeNodeClusterHealthCheck",
|
|
|
|
|
Handler: _NodeClusterService_ExecuteNodeClusterHealthCheck_Handler,
|
|
|
|
|
},
|
2020-10-25 21:27:49 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "countAllEnabledNodeClustersWithGrantId",
|
|
|
|
|
Handler: _NodeClusterService_CountAllEnabledNodeClustersWithGrantId_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findAllEnabledNodeClustersWithGrantId",
|
|
|
|
|
Handler: _NodeClusterService_FindAllEnabledNodeClustersWithGrantId_Handler,
|
|
|
|
|
},
|
2020-11-11 21:32:11 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findEnabledNodeClusterDNS",
|
|
|
|
|
Handler: _NodeClusterService_FindEnabledNodeClusterDNS_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "countAllEnabledNodeClustersWithDNSProviderId",
|
|
|
|
|
Handler: _NodeClusterService_CountAllEnabledNodeClustersWithDNSProviderId_Handler,
|
|
|
|
|
},
|
2020-11-12 14:41:23 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "countAllEnabledNodeClustersWithDNSDomainId",
|
|
|
|
|
Handler: _NodeClusterService_CountAllEnabledNodeClustersWithDNSDomainId_Handler,
|
|
|
|
|
},
|
2020-11-13 18:23:06 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "checkNodeClusterDNSName",
|
|
|
|
|
Handler: _NodeClusterService_CheckNodeClusterDNSName_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNodeClusterDNS",
|
|
|
|
|
Handler: _NodeClusterService_UpdateNodeClusterDNS_Handler,
|
|
|
|
|
},
|
2020-11-14 21:28:02 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "checkNodeClusterDNSChanges",
|
|
|
|
|
Handler: _NodeClusterService_CheckNodeClusterDNSChanges_Handler,
|
|
|
|
|
},
|
2020-09-13 19:27:47 +08:00
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "service_node_cluster.proto",
|
|
|
|
|
}
|