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.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 CreateNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
ClusterId int64 `protobuf:"varint,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
Login *NodeLogin `protobuf:"bytes,3,opt,name=Login,proto3" json:"Login,omitempty"`
|
2020-10-28 20:00:33 +08:00
|
|
|
GroupId int64 `protobuf:"varint,4,opt,name=groupId,proto3" json:"groupId,omitempty"`
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeRequest) Reset() {
|
|
|
|
|
*x = CreateNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_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 CreateNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNodeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeRequest) GetLogin() *NodeLogin {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Login
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 20:00:33 +08:00
|
|
|
func (x *CreateNodeRequest) GetGroupId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GroupId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
type CreateNodeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeResponse) Reset() {
|
|
|
|
|
*x = CreateNodeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateNodeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_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 CreateNodeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateNodeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNodeResponse) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 11:14:44 +08:00
|
|
|
// 注册集群节点
|
|
|
|
|
type RegisterClusterNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeRequest) Reset() {
|
|
|
|
|
*x = RegisterClusterNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*RegisterClusterNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_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 RegisterClusterNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*RegisterClusterNodeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type RegisterClusterNodeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UniqueId string `protobuf:"bytes,1,opt,name=uniqueId,proto3" json:"uniqueId,omitempty"`
|
|
|
|
|
Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
|
|
|
Endpoints []string `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeResponse) Reset() {
|
|
|
|
|
*x = RegisterClusterNodeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*RegisterClusterNodeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_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 RegisterClusterNodeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*RegisterClusterNodeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeResponse) GetUniqueId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UniqueId
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeResponse) GetSecret() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Secret
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RegisterClusterNodeResponse) GetEndpoints() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Endpoints
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
// 节点数量
|
|
|
|
|
type CountAllEnabledNodesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesRequest) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[4]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[4]
|
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 CountAllEnabledNodesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodesRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{4}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CountAllEnabledNodesResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesResponse) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodesResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[5]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodesResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[5]
|
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 CountAllEnabledNodesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodesResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{5}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesResponse) GetCount() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Count
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 列出单页节点
|
|
|
|
|
type ListEnabledNodesMatchRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2020-10-28 18:21:26 +08:00
|
|
|
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
|
|
|
ClusterId int64 `protobuf:"varint,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
InstallState int32 `protobuf:"varint,4,opt,name=installState,proto3" json:"installState,omitempty"`
|
|
|
|
|
ActiveState int32 `protobuf:"varint,5,opt,name=activeState,proto3" json:"activeState,omitempty"`
|
|
|
|
|
Keyword string `protobuf:"bytes,6,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
|
|
|
GroupId int64 `protobuf:"varint,7,opt,name=groupId,proto3" json:"groupId,omitempty"`
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchRequest) Reset() {
|
|
|
|
|
*x = ListEnabledNodesMatchRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[6]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListEnabledNodesMatchRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[6]
|
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 ListEnabledNodesMatchRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListEnabledNodesMatchRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{6}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchRequest) GetOffset() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Offset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchRequest) GetSize() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Size
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchRequest) GetInstallState() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.InstallState
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-26 08:07:24 +08:00
|
|
|
func (x *ListEnabledNodesMatchRequest) GetActiveState() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ActiveState
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 18:21:26 +08:00
|
|
|
func (x *ListEnabledNodesMatchRequest) GetKeyword() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Keyword
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchRequest) GetGroupId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GroupId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
type ListEnabledNodesMatchResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchResponse) Reset() {
|
|
|
|
|
*x = ListEnabledNodesMatchResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[7]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ListEnabledNodesMatchResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_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)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ListEnabledNodesMatchResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListEnabledNodesMatchResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{7}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ListEnabledNodesMatchResponse) GetNodes() []*Node {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Nodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
// 根据集群查找所有节点
|
|
|
|
|
type FindAllEnabledNodesWithClusterIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithClusterIdRequest) Reset() {
|
|
|
|
|
*x = FindAllEnabledNodesWithClusterIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[8]
|
2020-10-04 16:10:19 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithClusterIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledNodesWithClusterIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[8]
|
2020-10-04 16:10:19 +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 FindAllEnabledNodesWithClusterIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllEnabledNodesWithClusterIdRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{8}
|
2020-10-04 16:10:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithClusterIdRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAllEnabledNodesWithClusterIdResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithClusterIdResponse) Reset() {
|
|
|
|
|
*x = FindAllEnabledNodesWithClusterIdResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[9]
|
2020-10-04 16:10:19 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithClusterIdResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledNodesWithClusterIdResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[9]
|
2020-10-04 16:10:19 +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 FindAllEnabledNodesWithClusterIdResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllEnabledNodesWithClusterIdResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{9}
|
2020-10-04 16:10:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithClusterIdResponse) GetNodes() []*Node {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Nodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
// 禁用节点
|
|
|
|
|
type DisableNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DisableNodeRequest) Reset() {
|
|
|
|
|
*x = DisableNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[10]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DisableNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*DisableNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DisableNodeRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[10]
|
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 DisableNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DisableNodeRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{10}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DisableNodeRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type DisableNodeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DisableNodeResponse) Reset() {
|
|
|
|
|
*x = DisableNodeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[11]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DisableNodeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*DisableNodeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DisableNodeResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[11]
|
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 DisableNodeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DisableNodeResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{11}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改节点
|
|
|
|
|
type UpdateNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
|
ClusterId int64 `protobuf:"varint,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
Login *NodeLogin `protobuf:"bytes,4,opt,name=Login,proto3" json:"Login,omitempty"`
|
2020-10-10 12:31:40 +08:00
|
|
|
MaxCPU int32 `protobuf:"varint,5,opt,name=maxCPU,proto3" json:"maxCPU,omitempty"`
|
|
|
|
|
IsOn bool `protobuf:"varint,6,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
2020-10-28 20:00:33 +08:00
|
|
|
GroupId int64 `protobuf:"varint,7,opt,name=groupId,proto3" json:"groupId,omitempty"`
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[12]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_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 UpdateNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{12}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeRequest) GetName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Name
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeRequest) GetLogin() *NodeLogin {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Login
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-10 12:31:40 +08:00
|
|
|
func (x *UpdateNodeRequest) GetMaxCPU() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MaxCPU
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeRequest) GetIsOn() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsOn
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 20:00:33 +08:00
|
|
|
func (x *UpdateNodeRequest) GetGroupId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GroupId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
// 查找节点
|
|
|
|
|
type FindEnabledNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeRequest) Reset() {
|
|
|
|
|
*x = FindEnabledNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[13]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindEnabledNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_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 FindEnabledNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledNodeRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{13}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindEnabledNodeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeResponse) Reset() {
|
|
|
|
|
*x = FindEnabledNodeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[14]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindEnabledNodeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_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 FindEnabledNodeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledNodeResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{14}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledNodeResponse) GetNode() *Node {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Node
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 组合单个节点配置
|
2020-11-02 22:14:28 +08:00
|
|
|
type FindCurrentNodeConfigRequest struct {
|
2020-09-13 19:27:47 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (x *FindCurrentNodeConfigRequest) Reset() {
|
|
|
|
|
*x = FindCurrentNodeConfigRequest{}
|
2020-09-13 19:27:47 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[15]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (x *FindCurrentNodeConfigRequest) String() string {
|
2020-09-13 19:27:47 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (*FindCurrentNodeConfigRequest) ProtoMessage() {}
|
2020-09-13 19:27:47 +08:00
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (x *FindCurrentNodeConfigRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[15]
|
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-11-02 22:14:28 +08:00
|
|
|
// Deprecated: Use FindCurrentNodeConfigRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindCurrentNodeConfigRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{15}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
type FindCurrentNodeConfigResponse struct {
|
2020-09-13 19:27:47 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2020-09-21 19:52:10 +08:00
|
|
|
NodeJSON []byte `protobuf:"bytes,1,opt,name=nodeJSON,proto3" json:"nodeJSON,omitempty"`
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (x *FindCurrentNodeConfigResponse) Reset() {
|
|
|
|
|
*x = FindCurrentNodeConfigResponse{}
|
2020-09-13 19:27:47 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[16]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (x *FindCurrentNodeConfigResponse) String() string {
|
2020-09-13 19:27:47 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (*FindCurrentNodeConfigResponse) ProtoMessage() {}
|
2020-09-13 19:27:47 +08:00
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (x *FindCurrentNodeConfigResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[16]
|
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-11-02 22:14:28 +08:00
|
|
|
// Deprecated: Use FindCurrentNodeConfigResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindCurrentNodeConfigResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{16}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (x *FindCurrentNodeConfigResponse) GetNodeJSON() []byte {
|
2020-09-13 19:27:47 +08:00
|
|
|
if x != nil {
|
2020-09-21 19:52:10 +08:00
|
|
|
return x.NodeJSON
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 节点stream
|
2020-10-04 16:10:19 +08:00
|
|
|
type NodeStreamMessage struct {
|
2020-09-13 19:27:47 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2020-10-04 16:10:19 +08:00
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
RequestId int64 `protobuf:"varint,2,opt,name=requestId,proto3" json:"requestId,omitempty"`
|
|
|
|
|
TimeoutSeconds int32 `protobuf:"varint,3,opt,name=timeoutSeconds,proto3" json:"timeoutSeconds,omitempty"`
|
|
|
|
|
Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
|
DataJSON []byte `protobuf:"bytes,5,opt,name=dataJSON,proto3" json:"dataJSON,omitempty"`
|
|
|
|
|
IsOk bool `protobuf:"varint,6,opt,name=isOk,proto3" json:"isOk,omitempty"`
|
|
|
|
|
Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) Reset() {
|
|
|
|
|
*x = NodeStreamMessage{}
|
2020-09-13 19:27:47 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[17]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) String() string {
|
2020-09-13 19:27:47 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (*NodeStreamMessage) ProtoMessage() {}
|
2020-09-13 19:27:47 +08:00
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[17]
|
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-04 16:10:19 +08:00
|
|
|
// Deprecated: Use NodeStreamMessage.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*NodeStreamMessage) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{17}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) GetRequestId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RequestId
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
2020-10-04 16:10:19 +08:00
|
|
|
return 0
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) GetTimeoutSeconds() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TimeoutSeconds
|
|
|
|
|
}
|
|
|
|
|
return 0
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) GetCode() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Code
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
2020-09-13 19:27:47 +08:00
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) GetDataJSON() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DataJSON
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
2020-10-04 16:10:19 +08:00
|
|
|
return nil
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *NodeStreamMessage) GetIsOk() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsOk
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *NodeStreamMessage) GetMessage() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Message
|
|
|
|
|
}
|
|
|
|
|
return ""
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 更新节点状态
|
|
|
|
|
type UpdateNodeStatusRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
StatusJSON []byte `protobuf:"bytes,2,opt,name=statusJSON,proto3" json:"statusJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeStatusRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeStatusRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[18]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeStatusRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNodeStatusRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeStatusRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[18]
|
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 UpdateNodeStatusRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeStatusRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{18}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeStatusRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeStatusRequest) GetStatusJSON() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.StatusJSON
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 同步集群中的节点版本
|
|
|
|
|
type SyncNodesVersionWithClusterRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SyncNodesVersionWithClusterRequest) Reset() {
|
|
|
|
|
*x = SyncNodesVersionWithClusterRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[19]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SyncNodesVersionWithClusterRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SyncNodesVersionWithClusterRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SyncNodesVersionWithClusterRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[19]
|
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 SyncNodesVersionWithClusterRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SyncNodesVersionWithClusterRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{19}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SyncNodesVersionWithClusterRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SyncNodesVersionWithClusterResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SyncNodesVersionWithClusterResponse) Reset() {
|
|
|
|
|
*x = SyncNodesVersionWithClusterResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[20]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SyncNodesVersionWithClusterResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SyncNodesVersionWithClusterResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SyncNodesVersionWithClusterResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[20]
|
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 SyncNodesVersionWithClusterResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SyncNodesVersionWithClusterResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{20}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 计算匹配的节点数量
|
|
|
|
|
type CountAllEnabledNodesMatchRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2020-10-28 18:21:26 +08:00
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
InstallState int32 `protobuf:"varint,2,opt,name=installState,proto3" json:"installState,omitempty"`
|
|
|
|
|
ActiveState int32 `protobuf:"varint,3,opt,name=activeState,proto3" json:"activeState,omitempty"`
|
|
|
|
|
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
|
|
|
GroupId int64 `protobuf:"varint,5,opt,name=groupId,proto3" json:"groupId,omitempty"`
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchRequest) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodesMatchRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[21]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodesMatchRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[21]
|
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 CountAllEnabledNodesMatchRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodesMatchRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{21}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchRequest) GetInstallState() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.InstallState
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-26 08:07:24 +08:00
|
|
|
func (x *CountAllEnabledNodesMatchRequest) GetActiveState() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ActiveState
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 18:21:26 +08:00
|
|
|
func (x *CountAllEnabledNodesMatchRequest) GetKeyword() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Keyword
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchRequest) GetGroupId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GroupId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
type CountAllEnabledNodesMatchResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchResponse) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodesMatchResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[22]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodesMatchResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[22]
|
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 CountAllEnabledNodesMatchResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodesMatchResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{22}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesMatchResponse) GetCount() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Count
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改节点安装状态
|
|
|
|
|
type UpdateNodeIsInstalledRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
IsInstalled bool `protobuf:"varint,2,opt,name=isInstalled,proto3" json:"isInstalled,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeIsInstalledRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeIsInstalledRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[23]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeIsInstalledRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNodeIsInstalledRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeIsInstalledRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[23]
|
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 UpdateNodeIsInstalledRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeIsInstalledRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{23}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeIsInstalledRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeIsInstalledRequest) GetIsInstalled() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsInstalled
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 安装节点
|
|
|
|
|
type InstallNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *InstallNodeRequest) Reset() {
|
|
|
|
|
*x = InstallNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[24]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *InstallNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*InstallNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *InstallNodeRequest) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[24]
|
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 InstallNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*InstallNodeRequest) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{24}
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *InstallNodeRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type InstallNodeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *InstallNodeResponse) Reset() {
|
|
|
|
|
*x = InstallNodeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[25]
|
2020-09-13 19:27:47 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *InstallNodeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*InstallNodeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *InstallNodeResponse) ProtoReflect() protoreflect.Message {
|
2020-10-17 11:14:44 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[25]
|
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 InstallNodeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*InstallNodeResponse) Descriptor() ([]byte, []int) {
|
2020-10-17 11:14:44 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{25}
|
2020-10-04 16:10:19 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-28 12:36:11 +08:00
|
|
|
// 升级节点
|
|
|
|
|
type UpgradeNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpgradeNodeRequest) Reset() {
|
|
|
|
|
*x = UpgradeNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[26]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpgradeNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpgradeNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpgradeNodeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[26]
|
|
|
|
|
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 UpgradeNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpgradeNodeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{26}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpgradeNodeRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type UpgradeNodeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpgradeNodeResponse) Reset() {
|
|
|
|
|
*x = UpgradeNodeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[27]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpgradeNodeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpgradeNodeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpgradeNodeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_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 UpgradeNodeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpgradeNodeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{27}
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-27 12:33:18 +08:00
|
|
|
// 启动节点
|
|
|
|
|
type StartNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeRequest) Reset() {
|
|
|
|
|
*x = StartNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[28]
|
2020-10-27 12:33:18 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*StartNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeRequest) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[28]
|
2020-10-27 12:33:18 +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 StartNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StartNodeRequest) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{28}
|
2020-10-27 12:33:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type StartNodeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"`
|
|
|
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeResponse) Reset() {
|
|
|
|
|
*x = StartNodeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[29]
|
2020-10-27 12:33:18 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*StartNodeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeResponse) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[29]
|
2020-10-27 12:33:18 +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 StartNodeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StartNodeResponse) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{29}
|
2020-10-27 12:33:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeResponse) GetIsOk() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsOk
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StartNodeResponse) GetError() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Error
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 停止节点
|
|
|
|
|
type StopNodeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeRequest) Reset() {
|
|
|
|
|
*x = StopNodeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[30]
|
2020-10-27 12:33:18 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*StopNodeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeRequest) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[30]
|
2020-10-27 12:33:18 +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 StopNodeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StopNodeRequest) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{30}
|
2020-10-27 12:33:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type StopNodeResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"`
|
|
|
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeResponse) Reset() {
|
|
|
|
|
*x = StopNodeResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[31]
|
2020-10-27 12:33:18 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*StopNodeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeResponse) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[31]
|
2020-10-27 12:33:18 +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 StopNodeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StopNodeResponse) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{31}
|
2020-10-27 12:33:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeResponse) GetIsOk() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsOk
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StopNodeResponse) GetError() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Error
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
// 更改节点连接的API节点信息
|
|
|
|
|
type UpdateNodeConnectedAPINodesRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ApiNodeIds []int64 `protobuf:"varint,1,rep,packed,name=apiNodeIds,proto3" json:"apiNodeIds,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeConnectedAPINodesRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeConnectedAPINodesRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[32]
|
2020-10-04 16:10:19 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeConnectedAPINodesRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNodeConnectedAPINodesRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeConnectedAPINodesRequest) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[32]
|
2020-10-04 16:10:19 +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 UpdateNodeConnectedAPINodesRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeConnectedAPINodesRequest) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{32}
|
2020-10-04 16:10:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeConnectedAPINodesRequest) GetApiNodeIds() []int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ApiNodeIds
|
|
|
|
|
}
|
|
|
|
|
return nil
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
2020-10-25 21:27:49 +08:00
|
|
|
// 计算使用某个认证的节点数量
|
|
|
|
|
type CountAllEnabledNodesWithGrantIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GrantId int64 `protobuf:"varint,1,opt,name=grantId,proto3" json:"grantId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGrantIdRequest) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodesWithGrantIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[33]
|
2020-10-25 21:27:49 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGrantIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodesWithGrantIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGrantIdRequest) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[33]
|
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 CountAllEnabledNodesWithGrantIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodesWithGrantIdRequest) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{33}
|
2020-10-25 21:27:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGrantIdRequest) GetGrantId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GrantId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CountAllEnabledNodesWithGrantIdResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGrantIdResponse) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodesWithGrantIdResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[34]
|
2020-10-25 21:27:49 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGrantIdResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodesWithGrantIdResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGrantIdResponse) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[34]
|
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 CountAllEnabledNodesWithGrantIdResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodesWithGrantIdResponse) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{34}
|
2020-10-25 21:27:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGrantIdResponse) GetCount() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Count
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查找使用某个认证的所有节点
|
|
|
|
|
type FindAllEnabledNodesWithGrantIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GrantId int64 `protobuf:"varint,1,opt,name=grantId,proto3" json:"grantId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithGrantIdRequest) Reset() {
|
|
|
|
|
*x = FindAllEnabledNodesWithGrantIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[35]
|
2020-10-25 21:27:49 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithGrantIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledNodesWithGrantIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithGrantIdRequest) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[35]
|
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 FindAllEnabledNodesWithGrantIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllEnabledNodesWithGrantIdRequest) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{35}
|
2020-10-25 21:27:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithGrantIdRequest) GetGrantId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GrantId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAllEnabledNodesWithGrantIdResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithGrantIdResponse) Reset() {
|
|
|
|
|
*x = FindAllEnabledNodesWithGrantIdResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[36]
|
2020-10-25 21:27:49 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithGrantIdResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllEnabledNodesWithGrantIdResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithGrantIdResponse) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[36]
|
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 FindAllEnabledNodesWithGrantIdResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllEnabledNodesWithGrantIdResponse) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{36}
|
2020-10-25 21:27:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllEnabledNodesWithGrantIdResponse) GetNodes() []*Node {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Nodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 21:15:13 +08:00
|
|
|
// 列出所有未安装的节点
|
|
|
|
|
type FindAllNotInstalledNodesWithClusterIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllNotInstalledNodesWithClusterIdRequest) Reset() {
|
|
|
|
|
*x = FindAllNotInstalledNodesWithClusterIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[37]
|
2020-10-26 21:15:13 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllNotInstalledNodesWithClusterIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllNotInstalledNodesWithClusterIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllNotInstalledNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[37]
|
2020-10-26 21:15:13 +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 FindAllNotInstalledNodesWithClusterIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllNotInstalledNodesWithClusterIdRequest) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{37}
|
2020-10-26 21:15:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllNotInstalledNodesWithClusterIdRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAllNotInstalledNodesWithClusterIdResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllNotInstalledNodesWithClusterIdResponse) Reset() {
|
|
|
|
|
*x = FindAllNotInstalledNodesWithClusterIdResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[38]
|
2020-10-26 21:15:13 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllNotInstalledNodesWithClusterIdResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllNotInstalledNodesWithClusterIdResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllNotInstalledNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[38]
|
2020-10-26 21:15:13 +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 FindAllNotInstalledNodesWithClusterIdResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllNotInstalledNodesWithClusterIdResponse) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{38}
|
2020-10-26 21:15:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllNotInstalledNodesWithClusterIdResponse) GetNodes() []*Node {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Nodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 12:36:11 +08:00
|
|
|
// 列出所有需要升级的节点
|
|
|
|
|
type FindAllUpgradeNodesWithClusterIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdRequest) Reset() {
|
|
|
|
|
*x = FindAllUpgradeNodesWithClusterIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[39]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllUpgradeNodesWithClusterIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[39]
|
|
|
|
|
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 FindAllUpgradeNodesWithClusterIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllUpgradeNodesWithClusterIdRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{39}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdRequest) GetClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAllUpgradeNodesWithClusterIdResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Nodes []*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse) Reset() {
|
|
|
|
|
*x = FindAllUpgradeNodesWithClusterIdResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[40]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllUpgradeNodesWithClusterIdResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[40]
|
|
|
|
|
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 FindAllUpgradeNodesWithClusterIdResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllUpgradeNodesWithClusterIdResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{40}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse) GetNodes() []*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Nodes
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 21:15:13 +08:00
|
|
|
// 读取节点安装状态
|
|
|
|
|
type FindNodeInstallStatusRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeInstallStatusRequest) Reset() {
|
|
|
|
|
*x = FindNodeInstallStatusRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[41]
|
2020-10-26 21:15:13 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeInstallStatusRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindNodeInstallStatusRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeInstallStatusRequest) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[41]
|
2020-10-26 21:15:13 +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 FindNodeInstallStatusRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNodeInstallStatusRequest) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{41}
|
2020-10-26 21:15:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeInstallStatusRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindNodeInstallStatusResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
InstallStatus *NodeInstallStatus `protobuf:"bytes,1,opt,name=installStatus,proto3" json:"installStatus,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeInstallStatusResponse) Reset() {
|
|
|
|
|
*x = FindNodeInstallStatusResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[42]
|
2020-10-26 21:15:13 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeInstallStatusResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindNodeInstallStatusResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeInstallStatusResponse) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[42]
|
2020-10-26 21:15:13 +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 FindNodeInstallStatusResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNodeInstallStatusResponse) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{42}
|
2020-10-26 21:15:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNodeInstallStatusResponse) GetInstallStatus() *NodeInstallStatus {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.InstallStatus
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改节点登录信息
|
|
|
|
|
type UpdateNodeLoginRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
|
|
|
Login *NodeLogin `protobuf:"bytes,2,opt,name=Login,proto3" json:"Login,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeLoginRequest) Reset() {
|
|
|
|
|
*x = UpdateNodeLoginRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[43]
|
2020-10-26 21:15:13 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeLoginRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateNodeLoginRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeLoginRequest) ProtoReflect() protoreflect.Message {
|
2020-10-28 12:36:11 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[43]
|
2020-10-26 21:15:13 +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 UpdateNodeLoginRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNodeLoginRequest) Descriptor() ([]byte, []int) {
|
2020-10-28 12:36:11 +08:00
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{43}
|
2020-10-26 21:15:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeLoginRequest) GetNodeId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NodeId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNodeLoginRequest) GetLogin() *NodeLogin {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Login
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 18:21:26 +08:00
|
|
|
// 计算某个节点分组内的节点数量
|
|
|
|
|
type CountAllEnabledNodesWithGroupIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupId int64 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGroupIdRequest) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodesWithGroupIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[44]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGroupIdRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodesWithGroupIdRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGroupIdRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[44]
|
|
|
|
|
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 CountAllEnabledNodesWithGroupIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodesWithGroupIdRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{44}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGroupIdRequest) GetGroupId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.GroupId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CountAllEnabledNodesWithGroupIdResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGroupIdResponse) Reset() {
|
|
|
|
|
*x = CountAllEnabledNodesWithGroupIdResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[45]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGroupIdResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CountAllEnabledNodesWithGroupIdResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGroupIdResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_node_proto_msgTypes[45]
|
|
|
|
|
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 CountAllEnabledNodesWithGroupIdResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllEnabledNodesWithGroupIdResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{45}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllEnabledNodesWithGroupIdResponse) GetCount() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Count
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 12:36:11 +08:00
|
|
|
type FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
|
|
|
Os string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`
|
|
|
|
|
Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
|
|
|
|
|
OldVersion string `protobuf:"bytes,4,opt,name=oldVersion,proto3" json:"oldVersion,omitempty"`
|
|
|
|
|
NewVersion string `protobuf:"bytes,5,opt,name=newVersion,proto3" json:"newVersion,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) Reset() {
|
|
|
|
|
*x = FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-28 18:21:26 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[46]
|
2020-10-28 12:36:11 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) ProtoReflect() protoreflect.Message {
|
2020-10-28 18:21:26 +08:00
|
|
|
mi := &file_service_node_proto_msgTypes[46]
|
2020-10-28 12:36: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 FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_node_proto_rawDescGZIP(), []int{40, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetNode() *Node {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Node
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetOs() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Os
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetArch() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Arch
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetOldVersion() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.OldVersion
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetNewVersion() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NewVersion
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
var File_service_node_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_service_node_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70,
|
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
|
|
|
|
|
0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6d, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
|
2020-10-26 21:15:13 +08:00
|
|
|
0x74, 0x6f, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69,
|
|
|
|
|
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
|
|
|
|
|
0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61,
|
|
|
|
|
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 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, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12,
|
|
|
|
|
0x23, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x05, 0x4c,
|
|
|
|
|
0x6f, 0x67, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18,
|
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x2c,
|
|
|
|
|
0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x30, 0x0a, 0x1a,
|
|
|
|
|
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 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, 0x22, 0x6f,
|
|
|
|
|
0x0a, 0x1b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a,
|
|
|
|
|
0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63,
|
|
|
|
|
0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65,
|
|
|
|
|
0x74, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03,
|
|
|
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22,
|
|
|
|
|
0x1d, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
|
|
|
|
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x34,
|
|
|
|
|
0x0a, 0x1c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
|
|
|
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
|
|
|
|
|
0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63,
|
|
|
|
|
0x6f, 0x75, 0x6e, 0x74, 0x22, 0xe2, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12,
|
|
|
|
|
0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18,
|
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
|
|
|
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12,
|
|
|
|
|
0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x1d, 0x4c, 0x69, 0x73,
|
|
|
|
|
0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74,
|
|
|
|
|
0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x6e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x47, 0x0a, 0x27, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x4a, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
2020-10-28 18:21:26 +08:00
|
|
|
0x1e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x2c, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a,
|
|
|
|
|
0x13, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
2020-10-28 18:21:26 +08:00
|
|
|
0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67,
|
|
|
|
|
0x69, 0x6e, 0x52, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x78,
|
|
|
|
|
0x43, 0x50, 0x55, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x43, 0x50,
|
|
|
|
|
0x55, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64,
|
|
|
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22,
|
|
|
|
|
0x30, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49,
|
|
|
|
|
0x64, 0x22, 0x37, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x04,
|
|
|
|
|
0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e,
|
|
|
|
|
0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3b, 0x0a, 0x1d, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e,
|
|
|
|
|
0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0xcf, 0x01, 0x0a, 0x11, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a,
|
|
|
|
|
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65,
|
|
|
|
|
0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x69, 0x6d,
|
|
|
|
|
0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
|
|
|
|
|
0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0c, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
|
|
|
|
0x73, 0x4f, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12,
|
|
|
|
|
0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x51, 0x0a, 0x17, 0x55, 0x70, 0x64,
|
|
|
|
|
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a,
|
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
|
|
|
|
|
0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x42, 0x0a, 0x22,
|
|
|
|
|
0x53, 0x79, 0x6e, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x57, 0x69, 0x74, 0x68, 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, 0x25, 0x0a, 0x23, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x56, 0x65, 0x72,
|
|
|
|
|
0x73, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xba, 0x01, 0x0a, 0x20, 0x43, 0x6f, 0x75, 0x6e,
|
|
|
|
|
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
|
|
|
0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x22, 0x0a, 0x0c, 0x69, 0x6e,
|
|
|
|
|
0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
|
|
|
0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20,
|
|
|
|
|
0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20,
|
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
|
0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72,
|
|
|
|
|
0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f,
|
|
|
|
|
0x75, 0x70, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x21, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63,
|
|
|
|
|
0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75,
|
|
|
|
|
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22,
|
|
|
|
|
0x58, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x73, 0x49,
|
|
|
|
|
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
|
0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x49, 0x6e, 0x73,
|
|
|
|
|
0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73,
|
|
|
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x22, 0x2c, 0x0a, 0x12, 0x49, 0x6e, 0x73,
|
|
|
|
|
0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
|
0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
|
|
|
0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c,
|
|
|
|
|
0x0a, 0x12, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13,
|
|
|
|
|
0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x22, 0x2a, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65,
|
2020-10-28 18:21:26 +08:00
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49,
|
|
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x3d, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
|
|
|
|
|
0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29,
|
|
|
|
|
0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x10, 0x53, 0x74, 0x6f,
|
|
|
|
|
0x70, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
|
|
|
|
0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x44, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
|
|
|
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x50,
|
|
|
|
|
0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a,
|
|
|
|
|
0x0a, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x22, 0x42, 0x0a,
|
|
|
|
|
0x26, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 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, 0x3f, 0x0a, 0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61,
|
|
|
|
|
0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75,
|
|
|
|
|
0x6e, 0x74, 0x22, 0x41, 0x0a, 0x25, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 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, 0x48, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68,
|
|
|
|
|
0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x1e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22,
|
|
|
|
|
0x4c, 0x0a, 0x2c, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73,
|
|
|
|
|
0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 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, 0x4f, 0x0a,
|
|
|
|
|
0x2d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
|
|
|
0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e,
|
|
|
|
|
0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x47,
|
|
|
|
|
0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 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, 0x8c, 0x02, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64,
|
|
|
|
|
0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57,
|
|
|
|
|
0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20,
|
|
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
|
|
|
|
0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x05, 0x6e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x73, 0x1a, 0x8f, 0x01, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x67,
|
|
|
|
|
0x72, 0x61, 0x64, 0x65, 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, 0x0e, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
|
|
|
0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x04, 0x61, 0x72, 0x63, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x56, 0x65, 0x72,
|
|
|
|
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x6c, 0x64, 0x56,
|
|
|
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x56, 0x65, 0x72,
|
|
|
|
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x56,
|
|
|
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x5c,
|
|
|
|
|
0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c,
|
|
|
|
|
0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x3b, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x69,
|
|
|
|
|
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x55, 0x0a, 0x16,
|
|
|
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x23,
|
|
|
|
|
0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x05, 0x4c, 0x6f,
|
|
|
|
|
0x67, 0x69, 0x6e, 0x22, 0x42, 0x0a, 0x26, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45,
|
|
|
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47,
|
|
|
|
|
0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
|
|
|
|
0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
|
|
|
|
0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xe4, 0x12, 0x0a, 0x0b, 0x4e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
|
|
|
|
|
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
|
|
|
|
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a,
|
|
|
|
|
0x14, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
|
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
|
|
|
|
|
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
|
|
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
|
|
|
0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
|
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d,
|
|
|
|
|
0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
|
|
|
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
|
|
0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
|
|
|
|
0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
|
|
|
|
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74,
|
|
|
|
|
0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x3e, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71,
|
2020-10-28 18:21:26 +08:00
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x0f, 0x66, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x43, 0x75,
|
|
|
|
|
0x72, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
|
|
|
|
|
0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65,
|
|
|
|
|
0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65,
|
|
|
|
|
0x61, 0x6d, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65,
|
|
|
|
|
0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
|
0x28, 0x01, 0x30, 0x01, 0x12, 0x41, 0x0a, 0x11, 0x73, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d,
|
|
|
|
|
0x61, 0x6e, 0x64, 0x54, 0x6f, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
|
0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
|
|
|
|
|
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74,
|
|
|
|
|
0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
|
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
|
|
|
|
0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6e,
|
|
|
|
|
0x0a, 0x1b, 0x73, 0x79, 0x6e, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x26, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73,
|
|
|
|
|
0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f,
|
|
|
|
|
0x0a, 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x73, 0x49, 0x6e,
|
|
|
|
|
0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64,
|
|
|
|
|
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c,
|
|
|
|
|
0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
|
|
|
|
0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
|
|
|
|
|
0x3e, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x73, 0x74,
|
|
|
|
|
0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x3e, 0x0a, 0x0b, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x67, 0x72,
|
|
|
|
|
0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x38, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x74, 0x6f,
|
|
|
|
|
0x70, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x5b, 0x0a, 0x1b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f,
|
|
|
|
|
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
|
|
|
|
|
0x26, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
|
|
|
|
0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
|
|
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x7a, 0x0a,
|
|
|
|
|
0x1f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
|
|
|
0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64,
|
|
|
|
|
0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72,
|
|
|
|
|
0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
|
|
|
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x1e, 0x66, 0x69, 0x6e,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
|
|
|
|
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57,
|
|
|
|
|
0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x25, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f,
|
|
|
|
|
0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57,
|
|
|
|
|
0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74,
|
|
|
|
|
0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e,
|
|
|
|
|
0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72,
|
|
|
|
|
0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
|
|
|
|
0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69,
|
|
|
|
|
0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55,
|
|
|
|
|
0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74,
|
|
|
|
|
0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43,
|
|
|
|
|
0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69,
|
|
|
|
|
0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63,
|
|
|
|
|
0x65, 0x73, 0x73, 0x12, 0x7a, 0x0a, 0x1f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
|
|
|
|
|
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
|
|
|
0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
|
2020-10-28 20:00:33 +08:00
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68,
|
2020-11-02 22:14:28 +08:00
|
|
|
0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 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_proto_rawDescOnce sync.Once
|
|
|
|
|
file_service_node_proto_rawDescData = file_service_node_proto_rawDesc
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_service_node_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_service_node_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_service_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_node_proto_rawDescData)
|
|
|
|
|
})
|
|
|
|
|
return file_service_node_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 18:21:26 +08:00
|
|
|
var file_service_node_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
|
2020-09-13 19:27:47 +08:00
|
|
|
var file_service_node_proto_goTypes = []interface{}{
|
2020-10-28 12:36:11 +08:00
|
|
|
(*CreateNodeRequest)(nil), // 0: pb.CreateNodeRequest
|
|
|
|
|
(*CreateNodeResponse)(nil), // 1: pb.CreateNodeResponse
|
|
|
|
|
(*RegisterClusterNodeRequest)(nil), // 2: pb.RegisterClusterNodeRequest
|
|
|
|
|
(*RegisterClusterNodeResponse)(nil), // 3: pb.RegisterClusterNodeResponse
|
|
|
|
|
(*CountAllEnabledNodesRequest)(nil), // 4: pb.CountAllEnabledNodesRequest
|
|
|
|
|
(*CountAllEnabledNodesResponse)(nil), // 5: pb.CountAllEnabledNodesResponse
|
|
|
|
|
(*ListEnabledNodesMatchRequest)(nil), // 6: pb.ListEnabledNodesMatchRequest
|
|
|
|
|
(*ListEnabledNodesMatchResponse)(nil), // 7: pb.ListEnabledNodesMatchResponse
|
|
|
|
|
(*FindAllEnabledNodesWithClusterIdRequest)(nil), // 8: pb.FindAllEnabledNodesWithClusterIdRequest
|
|
|
|
|
(*FindAllEnabledNodesWithClusterIdResponse)(nil), // 9: pb.FindAllEnabledNodesWithClusterIdResponse
|
|
|
|
|
(*DisableNodeRequest)(nil), // 10: pb.DisableNodeRequest
|
|
|
|
|
(*DisableNodeResponse)(nil), // 11: pb.DisableNodeResponse
|
|
|
|
|
(*UpdateNodeRequest)(nil), // 12: pb.UpdateNodeRequest
|
|
|
|
|
(*FindEnabledNodeRequest)(nil), // 13: pb.FindEnabledNodeRequest
|
|
|
|
|
(*FindEnabledNodeResponse)(nil), // 14: pb.FindEnabledNodeResponse
|
2020-11-02 22:14:28 +08:00
|
|
|
(*FindCurrentNodeConfigRequest)(nil), // 15: pb.FindCurrentNodeConfigRequest
|
|
|
|
|
(*FindCurrentNodeConfigResponse)(nil), // 16: pb.FindCurrentNodeConfigResponse
|
2020-10-28 12:36:11 +08:00
|
|
|
(*NodeStreamMessage)(nil), // 17: pb.NodeStreamMessage
|
|
|
|
|
(*UpdateNodeStatusRequest)(nil), // 18: pb.UpdateNodeStatusRequest
|
|
|
|
|
(*SyncNodesVersionWithClusterRequest)(nil), // 19: pb.SyncNodesVersionWithClusterRequest
|
|
|
|
|
(*SyncNodesVersionWithClusterResponse)(nil), // 20: pb.SyncNodesVersionWithClusterResponse
|
|
|
|
|
(*CountAllEnabledNodesMatchRequest)(nil), // 21: pb.CountAllEnabledNodesMatchRequest
|
|
|
|
|
(*CountAllEnabledNodesMatchResponse)(nil), // 22: pb.CountAllEnabledNodesMatchResponse
|
|
|
|
|
(*UpdateNodeIsInstalledRequest)(nil), // 23: pb.UpdateNodeIsInstalledRequest
|
|
|
|
|
(*InstallNodeRequest)(nil), // 24: pb.InstallNodeRequest
|
|
|
|
|
(*InstallNodeResponse)(nil), // 25: pb.InstallNodeResponse
|
|
|
|
|
(*UpgradeNodeRequest)(nil), // 26: pb.UpgradeNodeRequest
|
|
|
|
|
(*UpgradeNodeResponse)(nil), // 27: pb.UpgradeNodeResponse
|
|
|
|
|
(*StartNodeRequest)(nil), // 28: pb.StartNodeRequest
|
|
|
|
|
(*StartNodeResponse)(nil), // 29: pb.StartNodeResponse
|
|
|
|
|
(*StopNodeRequest)(nil), // 30: pb.StopNodeRequest
|
|
|
|
|
(*StopNodeResponse)(nil), // 31: pb.StopNodeResponse
|
|
|
|
|
(*UpdateNodeConnectedAPINodesRequest)(nil), // 32: pb.UpdateNodeConnectedAPINodesRequest
|
|
|
|
|
(*CountAllEnabledNodesWithGrantIdRequest)(nil), // 33: pb.CountAllEnabledNodesWithGrantIdRequest
|
|
|
|
|
(*CountAllEnabledNodesWithGrantIdResponse)(nil), // 34: pb.CountAllEnabledNodesWithGrantIdResponse
|
|
|
|
|
(*FindAllEnabledNodesWithGrantIdRequest)(nil), // 35: pb.FindAllEnabledNodesWithGrantIdRequest
|
|
|
|
|
(*FindAllEnabledNodesWithGrantIdResponse)(nil), // 36: pb.FindAllEnabledNodesWithGrantIdResponse
|
|
|
|
|
(*FindAllNotInstalledNodesWithClusterIdRequest)(nil), // 37: pb.FindAllNotInstalledNodesWithClusterIdRequest
|
|
|
|
|
(*FindAllNotInstalledNodesWithClusterIdResponse)(nil), // 38: pb.FindAllNotInstalledNodesWithClusterIdResponse
|
|
|
|
|
(*FindAllUpgradeNodesWithClusterIdRequest)(nil), // 39: pb.FindAllUpgradeNodesWithClusterIdRequest
|
|
|
|
|
(*FindAllUpgradeNodesWithClusterIdResponse)(nil), // 40: pb.FindAllUpgradeNodesWithClusterIdResponse
|
|
|
|
|
(*FindNodeInstallStatusRequest)(nil), // 41: pb.FindNodeInstallStatusRequest
|
|
|
|
|
(*FindNodeInstallStatusResponse)(nil), // 42: pb.FindNodeInstallStatusResponse
|
|
|
|
|
(*UpdateNodeLoginRequest)(nil), // 43: pb.UpdateNodeLoginRequest
|
2020-10-28 18:21:26 +08:00
|
|
|
(*CountAllEnabledNodesWithGroupIdRequest)(nil), // 44: pb.CountAllEnabledNodesWithGroupIdRequest
|
|
|
|
|
(*CountAllEnabledNodesWithGroupIdResponse)(nil), // 45: pb.CountAllEnabledNodesWithGroupIdResponse
|
|
|
|
|
(*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade)(nil), // 46: pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade
|
|
|
|
|
(*NodeLogin)(nil), // 47: pb.NodeLogin
|
|
|
|
|
(*Node)(nil), // 48: pb.Node
|
|
|
|
|
(*NodeInstallStatus)(nil), // 49: pb.NodeInstallStatus
|
|
|
|
|
(*RPCUpdateSuccess)(nil), // 50: pb.RPCUpdateSuccess
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
var file_service_node_proto_depIdxs = []int32{
|
2020-10-28 18:21:26 +08:00
|
|
|
47, // 0: pb.CreateNodeRequest.Login:type_name -> pb.NodeLogin
|
|
|
|
|
48, // 1: pb.ListEnabledNodesMatchResponse.nodes:type_name -> pb.Node
|
|
|
|
|
48, // 2: pb.FindAllEnabledNodesWithClusterIdResponse.nodes:type_name -> pb.Node
|
|
|
|
|
47, // 3: pb.UpdateNodeRequest.Login:type_name -> pb.NodeLogin
|
|
|
|
|
48, // 4: pb.FindEnabledNodeResponse.node:type_name -> pb.Node
|
|
|
|
|
48, // 5: pb.FindAllEnabledNodesWithGrantIdResponse.nodes:type_name -> pb.Node
|
|
|
|
|
48, // 6: pb.FindAllNotInstalledNodesWithClusterIdResponse.nodes:type_name -> pb.Node
|
|
|
|
|
46, // 7: pb.FindAllUpgradeNodesWithClusterIdResponse.nodes:type_name -> pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade
|
|
|
|
|
49, // 8: pb.FindNodeInstallStatusResponse.installStatus:type_name -> pb.NodeInstallStatus
|
|
|
|
|
47, // 9: pb.UpdateNodeLoginRequest.Login:type_name -> pb.NodeLogin
|
|
|
|
|
48, // 10: pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade.node:type_name -> pb.Node
|
2020-10-28 12:36:11 +08:00
|
|
|
0, // 11: pb.NodeService.createNode:input_type -> pb.CreateNodeRequest
|
|
|
|
|
2, // 12: pb.NodeService.registerClusterNode:input_type -> pb.RegisterClusterNodeRequest
|
|
|
|
|
4, // 13: pb.NodeService.countAllEnabledNodes:input_type -> pb.CountAllEnabledNodesRequest
|
|
|
|
|
21, // 14: pb.NodeService.countAllEnabledNodesMatch:input_type -> pb.CountAllEnabledNodesMatchRequest
|
|
|
|
|
6, // 15: pb.NodeService.listEnabledNodesMatch:input_type -> pb.ListEnabledNodesMatchRequest
|
|
|
|
|
8, // 16: pb.NodeService.findAllEnabledNodesWithClusterId:input_type -> pb.FindAllEnabledNodesWithClusterIdRequest
|
|
|
|
|
10, // 17: pb.NodeService.disableNode:input_type -> pb.DisableNodeRequest
|
|
|
|
|
12, // 18: pb.NodeService.updateNode:input_type -> pb.UpdateNodeRequest
|
|
|
|
|
13, // 19: pb.NodeService.findEnabledNode:input_type -> pb.FindEnabledNodeRequest
|
2020-11-02 22:14:28 +08:00
|
|
|
15, // 20: pb.NodeService.findCurrentNodeConfig:input_type -> pb.FindCurrentNodeConfigRequest
|
2020-10-28 12:36:11 +08:00
|
|
|
17, // 21: pb.NodeService.nodeStream:input_type -> pb.NodeStreamMessage
|
|
|
|
|
17, // 22: pb.NodeService.sendCommandToNode:input_type -> pb.NodeStreamMessage
|
|
|
|
|
18, // 23: pb.NodeService.updateNodeStatus:input_type -> pb.UpdateNodeStatusRequest
|
|
|
|
|
19, // 24: pb.NodeService.syncNodesVersionWithCluster:input_type -> pb.SyncNodesVersionWithClusterRequest
|
|
|
|
|
23, // 25: pb.NodeService.updateNodeIsInstalled:input_type -> pb.UpdateNodeIsInstalledRequest
|
|
|
|
|
24, // 26: pb.NodeService.installNode:input_type -> pb.InstallNodeRequest
|
|
|
|
|
26, // 27: pb.NodeService.upgradeNode:input_type -> pb.UpgradeNodeRequest
|
|
|
|
|
28, // 28: pb.NodeService.startNode:input_type -> pb.StartNodeRequest
|
|
|
|
|
30, // 29: pb.NodeService.stopNode:input_type -> pb.StopNodeRequest
|
|
|
|
|
32, // 30: pb.NodeService.updateNodeConnectedAPINodes:input_type -> pb.UpdateNodeConnectedAPINodesRequest
|
|
|
|
|
33, // 31: pb.NodeService.countAllEnabledNodesWithGrantId:input_type -> pb.CountAllEnabledNodesWithGrantIdRequest
|
|
|
|
|
35, // 32: pb.NodeService.findAllEnabledNodesWithGrantId:input_type -> pb.FindAllEnabledNodesWithGrantIdRequest
|
|
|
|
|
37, // 33: pb.NodeService.findAllNotInstalledNodesWithClusterId:input_type -> pb.FindAllNotInstalledNodesWithClusterIdRequest
|
|
|
|
|
39, // 34: pb.NodeService.findAllUpgradeNodesWithClusterId:input_type -> pb.FindAllUpgradeNodesWithClusterIdRequest
|
|
|
|
|
41, // 35: pb.NodeService.findNodeInstallStatus:input_type -> pb.FindNodeInstallStatusRequest
|
|
|
|
|
43, // 36: pb.NodeService.updateNodeLogin:input_type -> pb.UpdateNodeLoginRequest
|
2020-10-28 18:21:26 +08:00
|
|
|
44, // 37: pb.NodeService.countAllEnabledNodesWithGroupId:input_type -> pb.CountAllEnabledNodesWithGroupIdRequest
|
|
|
|
|
1, // 38: pb.NodeService.createNode:output_type -> pb.CreateNodeResponse
|
|
|
|
|
3, // 39: pb.NodeService.registerClusterNode:output_type -> pb.RegisterClusterNodeResponse
|
|
|
|
|
5, // 40: pb.NodeService.countAllEnabledNodes:output_type -> pb.CountAllEnabledNodesResponse
|
|
|
|
|
22, // 41: pb.NodeService.countAllEnabledNodesMatch:output_type -> pb.CountAllEnabledNodesMatchResponse
|
|
|
|
|
7, // 42: pb.NodeService.listEnabledNodesMatch:output_type -> pb.ListEnabledNodesMatchResponse
|
|
|
|
|
9, // 43: pb.NodeService.findAllEnabledNodesWithClusterId:output_type -> pb.FindAllEnabledNodesWithClusterIdResponse
|
|
|
|
|
11, // 44: pb.NodeService.disableNode:output_type -> pb.DisableNodeResponse
|
|
|
|
|
50, // 45: pb.NodeService.updateNode:output_type -> pb.RPCUpdateSuccess
|
|
|
|
|
14, // 46: pb.NodeService.findEnabledNode:output_type -> pb.FindEnabledNodeResponse
|
2020-11-02 22:14:28 +08:00
|
|
|
16, // 47: pb.NodeService.findCurrentNodeConfig:output_type -> pb.FindCurrentNodeConfigResponse
|
2020-10-28 18:21:26 +08:00
|
|
|
17, // 48: pb.NodeService.nodeStream:output_type -> pb.NodeStreamMessage
|
|
|
|
|
17, // 49: pb.NodeService.sendCommandToNode:output_type -> pb.NodeStreamMessage
|
|
|
|
|
50, // 50: pb.NodeService.updateNodeStatus:output_type -> pb.RPCUpdateSuccess
|
|
|
|
|
20, // 51: pb.NodeService.syncNodesVersionWithCluster:output_type -> pb.SyncNodesVersionWithClusterResponse
|
|
|
|
|
50, // 52: pb.NodeService.updateNodeIsInstalled:output_type -> pb.RPCUpdateSuccess
|
|
|
|
|
25, // 53: pb.NodeService.installNode:output_type -> pb.InstallNodeResponse
|
|
|
|
|
27, // 54: pb.NodeService.upgradeNode:output_type -> pb.UpgradeNodeResponse
|
|
|
|
|
29, // 55: pb.NodeService.startNode:output_type -> pb.StartNodeResponse
|
|
|
|
|
31, // 56: pb.NodeService.stopNode:output_type -> pb.StopNodeResponse
|
|
|
|
|
50, // 57: pb.NodeService.updateNodeConnectedAPINodes:output_type -> pb.RPCUpdateSuccess
|
|
|
|
|
34, // 58: pb.NodeService.countAllEnabledNodesWithGrantId:output_type -> pb.CountAllEnabledNodesWithGrantIdResponse
|
|
|
|
|
36, // 59: pb.NodeService.findAllEnabledNodesWithGrantId:output_type -> pb.FindAllEnabledNodesWithGrantIdResponse
|
|
|
|
|
38, // 60: pb.NodeService.findAllNotInstalledNodesWithClusterId:output_type -> pb.FindAllNotInstalledNodesWithClusterIdResponse
|
|
|
|
|
40, // 61: pb.NodeService.findAllUpgradeNodesWithClusterId:output_type -> pb.FindAllUpgradeNodesWithClusterIdResponse
|
|
|
|
|
42, // 62: pb.NodeService.findNodeInstallStatus:output_type -> pb.FindNodeInstallStatusResponse
|
|
|
|
|
50, // 63: pb.NodeService.updateNodeLogin:output_type -> pb.RPCUpdateSuccess
|
|
|
|
|
45, // 64: pb.NodeService.countAllEnabledNodesWithGroupId:output_type -> pb.CountAllEnabledNodesWithGroupIdResponse
|
|
|
|
|
38, // [38:65] is the sub-list for method output_type
|
|
|
|
|
11, // [11:38] is the sub-list for method input_type
|
2020-10-28 12:36:11 +08:00
|
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
|
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:11] is the sub-list for field type_name
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_service_node_proto_init() }
|
|
|
|
|
func file_service_node_proto_init() {
|
|
|
|
|
if File_service_node_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
file_model_node_proto_init()
|
|
|
|
|
file_model_node_login_proto_init()
|
2020-10-26 21:15:13 +08:00
|
|
|
file_model_node_install_status_proto_init()
|
2020-09-17 10:15:55 +08:00
|
|
|
file_rpc_messages_proto_init()
|
2020-09-13 19:27:47 +08:00
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_service_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateNodeRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateNodeResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*RegisterClusterNodeRequest); 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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*RegisterClusterNodeResponse); 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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodesRequest); 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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodesResponse); 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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*ListEnabledNodesMatchRequest); 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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*ListEnabledNodesMatchResponse); 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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*FindAllEnabledNodesWithClusterIdRequest); 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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*FindAllEnabledNodesWithClusterIdResponse); 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_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*DisableNodeRequest); 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_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*DisableNodeResponse); 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_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*UpdateNodeRequest); 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_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*FindEnabledNodeRequest); 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_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*FindEnabledNodeResponse); 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_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-02 22:14:28 +08:00
|
|
|
switch v := v.(*FindCurrentNodeConfigRequest); 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_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
2020-11-02 22:14:28 +08:00
|
|
|
switch v := v.(*FindCurrentNodeConfigResponse); 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_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*NodeStreamMessage); 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_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*UpdateNodeStatusRequest); 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_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*SyncNodesVersionWithClusterRequest); 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_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*SyncNodesVersionWithClusterResponse); 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_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodesMatchRequest); 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_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodesMatchResponse); i {
|
2020-10-04 16:10:19 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*UpdateNodeIsInstalledRequest); 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-04 16:10:19 +08:00
|
|
|
file_service_node_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-17 11:14:44 +08:00
|
|
|
switch v := v.(*InstallNodeRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*InstallNodeResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*UpgradeNodeRequest); i {
|
2020-10-04 16:10:19 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-25 21:27:49 +08:00
|
|
|
file_service_node_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*UpgradeNodeResponse); 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_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*StartNodeRequest); 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_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*StartNodeResponse); 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_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*StopNodeRequest); 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
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-26 21:15:13 +08:00
|
|
|
file_service_node_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*StopNodeResponse); i {
|
2020-10-26 21:15:13 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*UpdateNodeConnectedAPINodesRequest); i {
|
2020-10-26 21:15:13 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodesWithGrantIdRequest); i {
|
2020-10-26 21:15:13 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodesWithGrantIdResponse); i {
|
2020-10-26 21:15:13 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*FindAllEnabledNodesWithGrantIdRequest); i {
|
2020-10-27 12:33:18 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*FindAllEnabledNodesWithGrantIdResponse); i {
|
2020-10-27 12:33:18 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*FindAllNotInstalledNodesWithClusterIdRequest); i {
|
2020-10-27 12:33:18 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*FindAllNotInstalledNodesWithClusterIdResponse); i {
|
2020-10-27 12:33:18 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*FindAllUpgradeNodesWithClusterIdRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindAllUpgradeNodesWithClusterIdResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNodeInstallStatusRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNodeInstallStatusResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-26 21:15:13 +08:00
|
|
|
switch v := v.(*UpdateNodeLoginRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-10-28 12:36:11 +08:00
|
|
|
file_service_node_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 18:21:26 +08:00
|
|
|
switch v := v.(*CountAllEnabledNodesWithGroupIdRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CountAllEnabledNodesWithGroupIdResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_node_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-28 12:36:11 +08:00
|
|
|
switch v := v.(*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade); 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_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
2020-10-28 18:21:26 +08:00
|
|
|
NumMessages: 47,
|
2020-09-13 19:27:47 +08:00
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_service_node_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_service_node_proto_depIdxs,
|
|
|
|
|
MessageInfos: file_service_node_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_service_node_proto = out.File
|
|
|
|
|
file_service_node_proto_rawDesc = nil
|
|
|
|
|
file_service_node_proto_goTypes = nil
|
|
|
|
|
file_service_node_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
|
|
|
|
|
|
|
|
|
|
// NodeServiceClient is the client API for NodeService service.
|
|
|
|
|
//
|
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
|
type NodeServiceClient interface {
|
|
|
|
|
// 创建节点
|
|
|
|
|
CreateNode(ctx context.Context, in *CreateNodeRequest, opts ...grpc.CallOption) (*CreateNodeResponse, error)
|
2020-10-17 11:14:44 +08:00
|
|
|
// 注册集群节点
|
|
|
|
|
RegisterClusterNode(ctx context.Context, in *RegisterClusterNodeRequest, opts ...grpc.CallOption) (*RegisterClusterNodeResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 节点数量
|
|
|
|
|
CountAllEnabledNodes(ctx context.Context, in *CountAllEnabledNodesRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesResponse, error)
|
|
|
|
|
// 计算匹配的节点数量
|
|
|
|
|
CountAllEnabledNodesMatch(ctx context.Context, in *CountAllEnabledNodesMatchRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesMatchResponse, error)
|
|
|
|
|
// 列出单页节点
|
|
|
|
|
ListEnabledNodesMatch(ctx context.Context, in *ListEnabledNodesMatchRequest, opts ...grpc.CallOption) (*ListEnabledNodesMatchResponse, error)
|
2020-10-04 16:10:19 +08:00
|
|
|
// 根据集群查找所有节点
|
|
|
|
|
FindAllEnabledNodesWithClusterId(ctx context.Context, in *FindAllEnabledNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodesWithClusterIdResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 禁用节点
|
|
|
|
|
DisableNode(ctx context.Context, in *DisableNodeRequest, opts ...grpc.CallOption) (*DisableNodeResponse, error)
|
|
|
|
|
// 修改节点
|
2020-09-17 10:15:55 +08:00
|
|
|
UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 查看单个节点
|
|
|
|
|
FindEnabledNode(ctx context.Context, in *FindEnabledNodeRequest, opts ...grpc.CallOption) (*FindEnabledNodeResponse, error)
|
2020-11-02 22:14:28 +08:00
|
|
|
// 获取当前节点配置
|
|
|
|
|
FindCurrentNodeConfig(ctx context.Context, in *FindCurrentNodeConfigRequest, opts ...grpc.CallOption) (*FindCurrentNodeConfigResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 节点stream
|
|
|
|
|
NodeStream(ctx context.Context, opts ...grpc.CallOption) (NodeService_NodeStreamClient, error)
|
2020-10-04 16:10:19 +08:00
|
|
|
// 向节点发送命令
|
|
|
|
|
SendCommandToNode(ctx context.Context, in *NodeStreamMessage, opts ...grpc.CallOption) (*NodeStreamMessage, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 更新节点状态
|
2020-09-17 10:15:55 +08:00
|
|
|
UpdateNodeStatus(ctx context.Context, in *UpdateNodeStatusRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 同步集群中的节点版本
|
|
|
|
|
SyncNodesVersionWithCluster(ctx context.Context, in *SyncNodesVersionWithClusterRequest, opts ...grpc.CallOption) (*SyncNodesVersionWithClusterResponse, error)
|
|
|
|
|
// 修改节点安装状态
|
2020-09-17 10:15:55 +08:00
|
|
|
UpdateNodeIsInstalled(ctx context.Context, in *UpdateNodeIsInstalledRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 安装节点
|
|
|
|
|
InstallNode(ctx context.Context, in *InstallNodeRequest, opts ...grpc.CallOption) (*InstallNodeResponse, error)
|
2020-10-28 12:36:11 +08:00
|
|
|
// 升级节点
|
|
|
|
|
UpgradeNode(ctx context.Context, in *UpgradeNodeRequest, opts ...grpc.CallOption) (*UpgradeNodeResponse, error)
|
2020-10-27 12:33:18 +08:00
|
|
|
// 启动节点
|
|
|
|
|
StartNode(ctx context.Context, in *StartNodeRequest, opts ...grpc.CallOption) (*StartNodeResponse, error)
|
|
|
|
|
// 停止节点
|
|
|
|
|
StopNode(ctx context.Context, in *StopNodeRequest, opts ...grpc.CallOption) (*StopNodeResponse, error)
|
2020-10-04 16:10:19 +08:00
|
|
|
// 更改节点连接的API节点信息
|
|
|
|
|
UpdateNodeConnectedAPINodes(ctx context.Context, in *UpdateNodeConnectedAPINodesRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
2020-10-25 21:27:49 +08:00
|
|
|
// 计算使用某个认证的节点数量
|
|
|
|
|
CountAllEnabledNodesWithGrantId(ctx context.Context, in *CountAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesWithGrantIdResponse, error)
|
|
|
|
|
// 查找使用某个认证的所有节点
|
|
|
|
|
FindAllEnabledNodesWithGrantId(ctx context.Context, in *FindAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodesWithGrantIdResponse, error)
|
2020-10-26 21:15:13 +08:00
|
|
|
// 列出所有未安装的节点
|
|
|
|
|
FindAllNotInstalledNodesWithClusterId(ctx context.Context, in *FindAllNotInstalledNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllNotInstalledNodesWithClusterIdResponse, error)
|
2020-10-28 12:36:11 +08:00
|
|
|
// 列出所有需要升级的节点
|
|
|
|
|
FindAllUpgradeNodesWithClusterId(ctx context.Context, in *FindAllUpgradeNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllUpgradeNodesWithClusterIdResponse, error)
|
2020-10-26 21:15:13 +08:00
|
|
|
// 读取节点安装状态
|
|
|
|
|
FindNodeInstallStatus(ctx context.Context, in *FindNodeInstallStatusRequest, opts ...grpc.CallOption) (*FindNodeInstallStatusResponse, error)
|
|
|
|
|
// 修改节点登录信息
|
|
|
|
|
UpdateNodeLogin(ctx context.Context, in *UpdateNodeLoginRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
|
2020-10-28 18:21:26 +08:00
|
|
|
// 计算某个节点分组内的节点数量
|
|
|
|
|
CountAllEnabledNodesWithGroupId(ctx context.Context, in *CountAllEnabledNodesWithGroupIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesWithGroupIdResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type nodeServiceClient struct {
|
|
|
|
|
cc grpc.ClientConnInterface
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewNodeServiceClient(cc grpc.ClientConnInterface) NodeServiceClient {
|
|
|
|
|
return &nodeServiceClient{cc}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) CreateNode(ctx context.Context, in *CreateNodeRequest, opts ...grpc.CallOption) (*CreateNodeResponse, error) {
|
|
|
|
|
out := new(CreateNodeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/createNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 11:14:44 +08:00
|
|
|
func (c *nodeServiceClient) RegisterClusterNode(ctx context.Context, in *RegisterClusterNodeRequest, opts ...grpc.CallOption) (*RegisterClusterNodeResponse, error) {
|
|
|
|
|
out := new(RegisterClusterNodeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/registerClusterNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
func (c *nodeServiceClient) CountAllEnabledNodes(ctx context.Context, in *CountAllEnabledNodesRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesResponse, error) {
|
|
|
|
|
out := new(CountAllEnabledNodesResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/countAllEnabledNodes", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) CountAllEnabledNodesMatch(ctx context.Context, in *CountAllEnabledNodesMatchRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesMatchResponse, error) {
|
|
|
|
|
out := new(CountAllEnabledNodesMatchResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/countAllEnabledNodesMatch", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) ListEnabledNodesMatch(ctx context.Context, in *ListEnabledNodesMatchRequest, opts ...grpc.CallOption) (*ListEnabledNodesMatchResponse, error) {
|
|
|
|
|
out := new(ListEnabledNodesMatchResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/listEnabledNodesMatch", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (c *nodeServiceClient) FindAllEnabledNodesWithClusterId(ctx context.Context, in *FindAllEnabledNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodesWithClusterIdResponse, error) {
|
|
|
|
|
out := new(FindAllEnabledNodesWithClusterIdResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/findAllEnabledNodesWithClusterId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
func (c *nodeServiceClient) DisableNode(ctx context.Context, in *DisableNodeRequest, opts ...grpc.CallOption) (*DisableNodeResponse, error) {
|
|
|
|
|
out := new(DisableNodeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/disableNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-17 10:15:55 +08:00
|
|
|
func (c *nodeServiceClient) UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
|
|
|
|
out := new(RPCUpdateSuccess)
|
2020-09-13 19:27:47 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/updateNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) FindEnabledNode(ctx context.Context, in *FindEnabledNodeRequest, opts ...grpc.CallOption) (*FindEnabledNodeResponse, error) {
|
|
|
|
|
out := new(FindEnabledNodeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/findEnabledNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func (c *nodeServiceClient) FindCurrentNodeConfig(ctx context.Context, in *FindCurrentNodeConfigRequest, opts ...grpc.CallOption) (*FindCurrentNodeConfigResponse, error) {
|
|
|
|
|
out := new(FindCurrentNodeConfigResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/findCurrentNodeConfig", in, out, opts...)
|
2020-09-13 19:27:47 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) NodeStream(ctx context.Context, opts ...grpc.CallOption) (NodeService_NodeStreamClient, error) {
|
|
|
|
|
stream, err := c.cc.NewStream(ctx, &_NodeService_serviceDesc.Streams[0], "/pb.NodeService/nodeStream", opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
x := &nodeServiceNodeStreamClient{stream}
|
|
|
|
|
return x, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type NodeService_NodeStreamClient interface {
|
2020-10-04 16:10:19 +08:00
|
|
|
Send(*NodeStreamMessage) error
|
|
|
|
|
Recv() (*NodeStreamMessage, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
grpc.ClientStream
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type nodeServiceNodeStreamClient struct {
|
|
|
|
|
grpc.ClientStream
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *nodeServiceNodeStreamClient) Send(m *NodeStreamMessage) error {
|
2020-09-13 19:27:47 +08:00
|
|
|
return x.ClientStream.SendMsg(m)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *nodeServiceNodeStreamClient) Recv() (*NodeStreamMessage, error) {
|
|
|
|
|
m := new(NodeStreamMessage)
|
2020-09-13 19:27:47 +08:00
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return m, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (c *nodeServiceClient) SendCommandToNode(ctx context.Context, in *NodeStreamMessage, opts ...grpc.CallOption) (*NodeStreamMessage, error) {
|
|
|
|
|
out := new(NodeStreamMessage)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/sendCommandToNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-17 10:15:55 +08:00
|
|
|
func (c *nodeServiceClient) UpdateNodeStatus(ctx context.Context, in *UpdateNodeStatusRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
|
|
|
|
out := new(RPCUpdateSuccess)
|
2020-09-13 19:27:47 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/updateNodeStatus", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) SyncNodesVersionWithCluster(ctx context.Context, in *SyncNodesVersionWithClusterRequest, opts ...grpc.CallOption) (*SyncNodesVersionWithClusterResponse, error) {
|
|
|
|
|
out := new(SyncNodesVersionWithClusterResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/syncNodesVersionWithCluster", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-17 10:15:55 +08:00
|
|
|
func (c *nodeServiceClient) UpdateNodeIsInstalled(ctx context.Context, in *UpdateNodeIsInstalledRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
|
|
|
|
out := new(RPCUpdateSuccess)
|
2020-09-13 19:27:47 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/updateNodeIsInstalled", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) InstallNode(ctx context.Context, in *InstallNodeRequest, opts ...grpc.CallOption) (*InstallNodeResponse, error) {
|
|
|
|
|
out := new(InstallNodeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/installNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 12:36:11 +08:00
|
|
|
func (c *nodeServiceClient) UpgradeNode(ctx context.Context, in *UpgradeNodeRequest, opts ...grpc.CallOption) (*UpgradeNodeResponse, error) {
|
|
|
|
|
out := new(UpgradeNodeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/upgradeNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-27 12:33:18 +08:00
|
|
|
func (c *nodeServiceClient) StartNode(ctx context.Context, in *StartNodeRequest, opts ...grpc.CallOption) (*StartNodeResponse, error) {
|
|
|
|
|
out := new(StartNodeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/startNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) StopNode(ctx context.Context, in *StopNodeRequest, opts ...grpc.CallOption) (*StopNodeResponse, error) {
|
|
|
|
|
out := new(StopNodeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/stopNode", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (c *nodeServiceClient) UpdateNodeConnectedAPINodes(ctx context.Context, in *UpdateNodeConnectedAPINodesRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
|
|
|
|
out := new(RPCUpdateSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/updateNodeConnectedAPINodes", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 21:27:49 +08:00
|
|
|
func (c *nodeServiceClient) CountAllEnabledNodesWithGrantId(ctx context.Context, in *CountAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesWithGrantIdResponse, error) {
|
|
|
|
|
out := new(CountAllEnabledNodesWithGrantIdResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/countAllEnabledNodesWithGrantId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) FindAllEnabledNodesWithGrantId(ctx context.Context, in *FindAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodesWithGrantIdResponse, error) {
|
|
|
|
|
out := new(FindAllEnabledNodesWithGrantIdResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/findAllEnabledNodesWithGrantId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 21:15:13 +08:00
|
|
|
func (c *nodeServiceClient) FindAllNotInstalledNodesWithClusterId(ctx context.Context, in *FindAllNotInstalledNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllNotInstalledNodesWithClusterIdResponse, error) {
|
|
|
|
|
out := new(FindAllNotInstalledNodesWithClusterIdResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/findAllNotInstalledNodesWithClusterId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 12:36:11 +08:00
|
|
|
func (c *nodeServiceClient) FindAllUpgradeNodesWithClusterId(ctx context.Context, in *FindAllUpgradeNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllUpgradeNodesWithClusterIdResponse, error) {
|
|
|
|
|
out := new(FindAllUpgradeNodesWithClusterIdResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/findAllUpgradeNodesWithClusterId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 21:15:13 +08:00
|
|
|
func (c *nodeServiceClient) FindNodeInstallStatus(ctx context.Context, in *FindNodeInstallStatusRequest, opts ...grpc.CallOption) (*FindNodeInstallStatusResponse, error) {
|
|
|
|
|
out := new(FindNodeInstallStatusResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/findNodeInstallStatus", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nodeServiceClient) UpdateNodeLogin(ctx context.Context, in *UpdateNodeLoginRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
|
|
|
|
|
out := new(RPCUpdateSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/updateNodeLogin", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 18:21:26 +08:00
|
|
|
func (c *nodeServiceClient) CountAllEnabledNodesWithGroupId(ctx context.Context, in *CountAllEnabledNodesWithGroupIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesWithGroupIdResponse, error) {
|
|
|
|
|
out := new(CountAllEnabledNodesWithGroupIdResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NodeService/countAllEnabledNodesWithGroupId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
// NodeServiceServer is the server API for NodeService service.
|
|
|
|
|
type NodeServiceServer interface {
|
|
|
|
|
// 创建节点
|
|
|
|
|
CreateNode(context.Context, *CreateNodeRequest) (*CreateNodeResponse, error)
|
2020-10-17 11:14:44 +08:00
|
|
|
// 注册集群节点
|
|
|
|
|
RegisterClusterNode(context.Context, *RegisterClusterNodeRequest) (*RegisterClusterNodeResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 节点数量
|
|
|
|
|
CountAllEnabledNodes(context.Context, *CountAllEnabledNodesRequest) (*CountAllEnabledNodesResponse, error)
|
|
|
|
|
// 计算匹配的节点数量
|
|
|
|
|
CountAllEnabledNodesMatch(context.Context, *CountAllEnabledNodesMatchRequest) (*CountAllEnabledNodesMatchResponse, error)
|
|
|
|
|
// 列出单页节点
|
|
|
|
|
ListEnabledNodesMatch(context.Context, *ListEnabledNodesMatchRequest) (*ListEnabledNodesMatchResponse, error)
|
2020-10-04 16:10:19 +08:00
|
|
|
// 根据集群查找所有节点
|
|
|
|
|
FindAllEnabledNodesWithClusterId(context.Context, *FindAllEnabledNodesWithClusterIdRequest) (*FindAllEnabledNodesWithClusterIdResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 禁用节点
|
|
|
|
|
DisableNode(context.Context, *DisableNodeRequest) (*DisableNodeResponse, error)
|
|
|
|
|
// 修改节点
|
2020-09-17 10:15:55 +08:00
|
|
|
UpdateNode(context.Context, *UpdateNodeRequest) (*RPCUpdateSuccess, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 查看单个节点
|
|
|
|
|
FindEnabledNode(context.Context, *FindEnabledNodeRequest) (*FindEnabledNodeResponse, error)
|
2020-11-02 22:14:28 +08:00
|
|
|
// 获取当前节点配置
|
|
|
|
|
FindCurrentNodeConfig(context.Context, *FindCurrentNodeConfigRequest) (*FindCurrentNodeConfigResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 节点stream
|
|
|
|
|
NodeStream(NodeService_NodeStreamServer) error
|
2020-10-04 16:10:19 +08:00
|
|
|
// 向节点发送命令
|
|
|
|
|
SendCommandToNode(context.Context, *NodeStreamMessage) (*NodeStreamMessage, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 更新节点状态
|
2020-09-17 10:15:55 +08:00
|
|
|
UpdateNodeStatus(context.Context, *UpdateNodeStatusRequest) (*RPCUpdateSuccess, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 同步集群中的节点版本
|
|
|
|
|
SyncNodesVersionWithCluster(context.Context, *SyncNodesVersionWithClusterRequest) (*SyncNodesVersionWithClusterResponse, error)
|
|
|
|
|
// 修改节点安装状态
|
2020-09-17 10:15:55 +08:00
|
|
|
UpdateNodeIsInstalled(context.Context, *UpdateNodeIsInstalledRequest) (*RPCUpdateSuccess, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
// 安装节点
|
|
|
|
|
InstallNode(context.Context, *InstallNodeRequest) (*InstallNodeResponse, error)
|
2020-10-28 12:36:11 +08:00
|
|
|
// 升级节点
|
|
|
|
|
UpgradeNode(context.Context, *UpgradeNodeRequest) (*UpgradeNodeResponse, error)
|
2020-10-27 12:33:18 +08:00
|
|
|
// 启动节点
|
|
|
|
|
StartNode(context.Context, *StartNodeRequest) (*StartNodeResponse, error)
|
|
|
|
|
// 停止节点
|
|
|
|
|
StopNode(context.Context, *StopNodeRequest) (*StopNodeResponse, error)
|
2020-10-04 16:10:19 +08:00
|
|
|
// 更改节点连接的API节点信息
|
|
|
|
|
UpdateNodeConnectedAPINodes(context.Context, *UpdateNodeConnectedAPINodesRequest) (*RPCUpdateSuccess, error)
|
2020-10-25 21:27:49 +08:00
|
|
|
// 计算使用某个认证的节点数量
|
|
|
|
|
CountAllEnabledNodesWithGrantId(context.Context, *CountAllEnabledNodesWithGrantIdRequest) (*CountAllEnabledNodesWithGrantIdResponse, error)
|
|
|
|
|
// 查找使用某个认证的所有节点
|
|
|
|
|
FindAllEnabledNodesWithGrantId(context.Context, *FindAllEnabledNodesWithGrantIdRequest) (*FindAllEnabledNodesWithGrantIdResponse, error)
|
2020-10-26 21:15:13 +08:00
|
|
|
// 列出所有未安装的节点
|
|
|
|
|
FindAllNotInstalledNodesWithClusterId(context.Context, *FindAllNotInstalledNodesWithClusterIdRequest) (*FindAllNotInstalledNodesWithClusterIdResponse, error)
|
2020-10-28 12:36:11 +08:00
|
|
|
// 列出所有需要升级的节点
|
|
|
|
|
FindAllUpgradeNodesWithClusterId(context.Context, *FindAllUpgradeNodesWithClusterIdRequest) (*FindAllUpgradeNodesWithClusterIdResponse, error)
|
2020-10-26 21:15:13 +08:00
|
|
|
// 读取节点安装状态
|
|
|
|
|
FindNodeInstallStatus(context.Context, *FindNodeInstallStatusRequest) (*FindNodeInstallStatusResponse, error)
|
|
|
|
|
// 修改节点登录信息
|
|
|
|
|
UpdateNodeLogin(context.Context, *UpdateNodeLoginRequest) (*RPCUpdateSuccess, error)
|
2020-10-28 18:21:26 +08:00
|
|
|
// 计算某个节点分组内的节点数量
|
|
|
|
|
CountAllEnabledNodesWithGroupId(context.Context, *CountAllEnabledNodesWithGroupIdRequest) (*CountAllEnabledNodesWithGroupIdResponse, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedNodeServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
|
type UnimplementedNodeServiceServer struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UnimplementedNodeServiceServer) CreateNode(context.Context, *CreateNodeRequest) (*CreateNodeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNode not implemented")
|
|
|
|
|
}
|
2020-10-17 11:14:44 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) RegisterClusterNode(context.Context, *RegisterClusterNodeRequest) (*RegisterClusterNodeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method RegisterClusterNode not implemented")
|
|
|
|
|
}
|
2020-09-13 19:27:47 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) CountAllEnabledNodes(context.Context, *CountAllEnabledNodesRequest) (*CountAllEnabledNodesResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodes not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) CountAllEnabledNodesMatch(context.Context, *CountAllEnabledNodesMatchRequest) (*CountAllEnabledNodesMatchResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodesMatch not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) ListEnabledNodesMatch(context.Context, *ListEnabledNodesMatchRequest) (*ListEnabledNodesMatchResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListEnabledNodesMatch not implemented")
|
|
|
|
|
}
|
2020-10-04 16:10:19 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) FindAllEnabledNodesWithClusterId(context.Context, *FindAllEnabledNodesWithClusterIdRequest) (*FindAllEnabledNodesWithClusterIdResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledNodesWithClusterId not implemented")
|
|
|
|
|
}
|
2020-09-13 19:27:47 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) DisableNode(context.Context, *DisableNodeRequest) (*DisableNodeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DisableNode not implemented")
|
|
|
|
|
}
|
2020-09-17 10:15:55 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) UpdateNode(context.Context, *UpdateNodeRequest) (*RPCUpdateSuccess, error) {
|
2020-09-13 19:27:47 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNode not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) FindEnabledNode(context.Context, *FindEnabledNodeRequest) (*FindEnabledNodeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledNode not implemented")
|
|
|
|
|
}
|
2020-11-02 22:14:28 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) FindCurrentNodeConfig(context.Context, *FindCurrentNodeConfigRequest) (*FindCurrentNodeConfigResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindCurrentNodeConfig not implemented")
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) NodeStream(NodeService_NodeStreamServer) error {
|
|
|
|
|
return status.Errorf(codes.Unimplemented, "method NodeStream not implemented")
|
|
|
|
|
}
|
2020-10-04 16:10:19 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) SendCommandToNode(context.Context, *NodeStreamMessage) (*NodeStreamMessage, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SendCommandToNode not implemented")
|
|
|
|
|
}
|
2020-09-17 10:15:55 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) UpdateNodeStatus(context.Context, *UpdateNodeStatusRequest) (*RPCUpdateSuccess, error) {
|
2020-09-13 19:27:47 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeStatus not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) SyncNodesVersionWithCluster(context.Context, *SyncNodesVersionWithClusterRequest) (*SyncNodesVersionWithClusterResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SyncNodesVersionWithCluster not implemented")
|
|
|
|
|
}
|
2020-09-17 10:15:55 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) UpdateNodeIsInstalled(context.Context, *UpdateNodeIsInstalledRequest) (*RPCUpdateSuccess, error) {
|
2020-09-13 19:27:47 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeIsInstalled not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) InstallNode(context.Context, *InstallNodeRequest) (*InstallNodeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method InstallNode not implemented")
|
|
|
|
|
}
|
2020-10-28 12:36:11 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) UpgradeNode(context.Context, *UpgradeNodeRequest) (*UpgradeNodeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpgradeNode not implemented")
|
|
|
|
|
}
|
2020-10-27 12:33:18 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) StartNode(context.Context, *StartNodeRequest) (*StartNodeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method StartNode not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) StopNode(context.Context, *StopNodeRequest) (*StopNodeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method StopNode not implemented")
|
|
|
|
|
}
|
2020-10-04 16:10:19 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) UpdateNodeConnectedAPINodes(context.Context, *UpdateNodeConnectedAPINodesRequest) (*RPCUpdateSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeConnectedAPINodes not implemented")
|
|
|
|
|
}
|
2020-10-25 21:27:49 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) CountAllEnabledNodesWithGrantId(context.Context, *CountAllEnabledNodesWithGrantIdRequest) (*CountAllEnabledNodesWithGrantIdResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodesWithGrantId not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) FindAllEnabledNodesWithGrantId(context.Context, *FindAllEnabledNodesWithGrantIdRequest) (*FindAllEnabledNodesWithGrantIdResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledNodesWithGrantId not implemented")
|
|
|
|
|
}
|
2020-10-26 21:15:13 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) FindAllNotInstalledNodesWithClusterId(context.Context, *FindAllNotInstalledNodesWithClusterIdRequest) (*FindAllNotInstalledNodesWithClusterIdResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllNotInstalledNodesWithClusterId not implemented")
|
|
|
|
|
}
|
2020-10-28 12:36:11 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) FindAllUpgradeNodesWithClusterId(context.Context, *FindAllUpgradeNodesWithClusterIdRequest) (*FindAllUpgradeNodesWithClusterIdResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllUpgradeNodesWithClusterId not implemented")
|
|
|
|
|
}
|
2020-10-26 21:15:13 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) FindNodeInstallStatus(context.Context, *FindNodeInstallStatusRequest) (*FindNodeInstallStatusResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNodeInstallStatus not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNodeServiceServer) UpdateNodeLogin(context.Context, *UpdateNodeLoginRequest) (*RPCUpdateSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeLogin not implemented")
|
|
|
|
|
}
|
2020-10-28 18:21:26 +08:00
|
|
|
func (*UnimplementedNodeServiceServer) CountAllEnabledNodesWithGroupId(context.Context, *CountAllEnabledNodesWithGroupIdRequest) (*CountAllEnabledNodesWithGroupIdResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodesWithGroupId not implemented")
|
|
|
|
|
}
|
2020-09-13 19:27:47 +08:00
|
|
|
|
|
|
|
|
func RegisterNodeServiceServer(s *grpc.Server, srv NodeServiceServer) {
|
|
|
|
|
s.RegisterService(&_NodeService_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_CreateNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).CreateNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/CreateNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).CreateNode(ctx, req.(*CreateNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-17 11:14:44 +08:00
|
|
|
func _NodeService_RegisterClusterNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(RegisterClusterNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).RegisterClusterNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/RegisterClusterNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).RegisterClusterNode(ctx, req.(*RegisterClusterNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
func _NodeService_CountAllEnabledNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllEnabledNodesRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).CountAllEnabledNodes(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/CountAllEnabledNodes",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).CountAllEnabledNodes(ctx, req.(*CountAllEnabledNodesRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_CountAllEnabledNodesMatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllEnabledNodesMatchRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).CountAllEnabledNodesMatch(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/CountAllEnabledNodesMatch",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).CountAllEnabledNodesMatch(ctx, req.(*CountAllEnabledNodesMatchRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_ListEnabledNodesMatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ListEnabledNodesMatchRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).ListEnabledNodesMatch(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/ListEnabledNodesMatch",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).ListEnabledNodesMatch(ctx, req.(*ListEnabledNodesMatchRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func _NodeService_FindAllEnabledNodesWithClusterId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAllEnabledNodesWithClusterIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).FindAllEnabledNodesWithClusterId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/FindAllEnabledNodesWithClusterId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).FindAllEnabledNodesWithClusterId(ctx, req.(*FindAllEnabledNodesWithClusterIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
func _NodeService_DisableNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(DisableNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).DisableNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/DisableNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).DisableNode(ctx, req.(*DisableNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_UpdateNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/UpdateNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNode(ctx, req.(*UpdateNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_FindEnabledNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindEnabledNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).FindEnabledNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/FindEnabledNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).FindEnabledNode(ctx, req.(*FindEnabledNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-02 22:14:28 +08:00
|
|
|
func _NodeService_FindCurrentNodeConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindCurrentNodeConfigRequest)
|
2020-09-13 19:27:47 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2020-11-02 22:14:28 +08:00
|
|
|
return srv.(NodeServiceServer).FindCurrentNodeConfig(ctx, in)
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2020-11-02 22:14:28 +08:00
|
|
|
FullMethod: "/pb.NodeService/FindCurrentNodeConfig",
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2020-11-02 22:14:28 +08:00
|
|
|
return srv.(NodeServiceServer).FindCurrentNodeConfig(ctx, req.(*FindCurrentNodeConfigRequest))
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_NodeStream_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
|
return srv.(NodeServiceServer).NodeStream(&nodeServiceNodeStreamServer{stream})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type NodeService_NodeStreamServer interface {
|
2020-10-04 16:10:19 +08:00
|
|
|
Send(*NodeStreamMessage) error
|
|
|
|
|
Recv() (*NodeStreamMessage, error)
|
2020-09-13 19:27:47 +08:00
|
|
|
grpc.ServerStream
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type nodeServiceNodeStreamServer struct {
|
|
|
|
|
grpc.ServerStream
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *nodeServiceNodeStreamServer) Send(m *NodeStreamMessage) error {
|
2020-09-13 19:27:47 +08:00
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func (x *nodeServiceNodeStreamServer) Recv() (*NodeStreamMessage, error) {
|
|
|
|
|
m := new(NodeStreamMessage)
|
2020-09-13 19:27:47 +08:00
|
|
|
if err := x.ServerStream.RecvMsg(m); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return m, nil
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func _NodeService_SendCommandToNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(NodeStreamMessage)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).SendCommandToNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/SendCommandToNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).SendCommandToNode(ctx, req.(*NodeStreamMessage))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
func _NodeService_UpdateNodeStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNodeStatusRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNodeStatus(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/UpdateNodeStatus",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNodeStatus(ctx, req.(*UpdateNodeStatusRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_SyncNodesVersionWithCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(SyncNodesVersionWithClusterRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).SyncNodesVersionWithCluster(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/SyncNodesVersionWithCluster",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).SyncNodesVersionWithCluster(ctx, req.(*SyncNodesVersionWithClusterRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_UpdateNodeIsInstalled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNodeIsInstalledRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNodeIsInstalled(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/UpdateNodeIsInstalled",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNodeIsInstalled(ctx, req.(*UpdateNodeIsInstalledRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_InstallNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(InstallNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).InstallNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/InstallNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).InstallNode(ctx, req.(*InstallNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 12:36:11 +08:00
|
|
|
func _NodeService_UpgradeNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpgradeNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).UpgradeNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/UpgradeNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).UpgradeNode(ctx, req.(*UpgradeNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-27 12:33:18 +08:00
|
|
|
func _NodeService_StartNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(StartNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).StartNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/StartNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).StartNode(ctx, req.(*StartNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_StopNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(StopNodeRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).StopNode(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/StopNode",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).StopNode(ctx, req.(*StopNodeRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-04 16:10:19 +08:00
|
|
|
func _NodeService_UpdateNodeConnectedAPINodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNodeConnectedAPINodesRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNodeConnectedAPINodes(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/UpdateNodeConnectedAPINodes",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNodeConnectedAPINodes(ctx, req.(*UpdateNodeConnectedAPINodesRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-25 21:27:49 +08:00
|
|
|
func _NodeService_CountAllEnabledNodesWithGrantId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllEnabledNodesWithGrantIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).CountAllEnabledNodesWithGrantId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/CountAllEnabledNodesWithGrantId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).CountAllEnabledNodesWithGrantId(ctx, req.(*CountAllEnabledNodesWithGrantIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_FindAllEnabledNodesWithGrantId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAllEnabledNodesWithGrantIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).FindAllEnabledNodesWithGrantId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/FindAllEnabledNodesWithGrantId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).FindAllEnabledNodesWithGrantId(ctx, req.(*FindAllEnabledNodesWithGrantIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 21:15:13 +08:00
|
|
|
func _NodeService_FindAllNotInstalledNodesWithClusterId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAllNotInstalledNodesWithClusterIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).FindAllNotInstalledNodesWithClusterId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/FindAllNotInstalledNodesWithClusterId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).FindAllNotInstalledNodesWithClusterId(ctx, req.(*FindAllNotInstalledNodesWithClusterIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 12:36:11 +08:00
|
|
|
func _NodeService_FindAllUpgradeNodesWithClusterId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAllUpgradeNodesWithClusterIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).FindAllUpgradeNodesWithClusterId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/FindAllUpgradeNodesWithClusterId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).FindAllUpgradeNodesWithClusterId(ctx, req.(*FindAllUpgradeNodesWithClusterIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 21:15:13 +08:00
|
|
|
func _NodeService_FindNodeInstallStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNodeInstallStatusRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).FindNodeInstallStatus(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/FindNodeInstallStatus",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).FindNodeInstallStatus(ctx, req.(*FindNodeInstallStatusRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NodeService_UpdateNodeLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNodeLoginRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNodeLogin(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/UpdateNodeLogin",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).UpdateNodeLogin(ctx, req.(*UpdateNodeLoginRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-28 18:21:26 +08:00
|
|
|
func _NodeService_CountAllEnabledNodesWithGroupId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllEnabledNodesWithGroupIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NodeServiceServer).CountAllEnabledNodesWithGroupId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NodeService/CountAllEnabledNodesWithGroupId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NodeServiceServer).CountAllEnabledNodesWithGroupId(ctx, req.(*CountAllEnabledNodesWithGroupIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 19:27:47 +08:00
|
|
|
var _NodeService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "pb.NodeService",
|
|
|
|
|
HandlerType: (*NodeServiceServer)(nil),
|
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
|
{
|
|
|
|
|
MethodName: "createNode",
|
|
|
|
|
Handler: _NodeService_CreateNode_Handler,
|
|
|
|
|
},
|
2020-10-17 11:14:44 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "registerClusterNode",
|
|
|
|
|
Handler: _NodeService_RegisterClusterNode_Handler,
|
|
|
|
|
},
|
2020-09-13 19:27:47 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "countAllEnabledNodes",
|
|
|
|
|
Handler: _NodeService_CountAllEnabledNodes_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "countAllEnabledNodesMatch",
|
|
|
|
|
Handler: _NodeService_CountAllEnabledNodesMatch_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "listEnabledNodesMatch",
|
|
|
|
|
Handler: _NodeService_ListEnabledNodesMatch_Handler,
|
|
|
|
|
},
|
2020-10-04 16:10:19 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findAllEnabledNodesWithClusterId",
|
|
|
|
|
Handler: _NodeService_FindAllEnabledNodesWithClusterId_Handler,
|
|
|
|
|
},
|
2020-09-13 19:27:47 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "disableNode",
|
|
|
|
|
Handler: _NodeService_DisableNode_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNode",
|
|
|
|
|
Handler: _NodeService_UpdateNode_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findEnabledNode",
|
|
|
|
|
Handler: _NodeService_FindEnabledNode_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
2020-11-02 22:14:28 +08:00
|
|
|
MethodName: "findCurrentNodeConfig",
|
|
|
|
|
Handler: _NodeService_FindCurrentNodeConfig_Handler,
|
2020-09-13 19:27:47 +08:00
|
|
|
},
|
2020-10-04 16:10:19 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "sendCommandToNode",
|
|
|
|
|
Handler: _NodeService_SendCommandToNode_Handler,
|
|
|
|
|
},
|
2020-09-13 19:27:47 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "updateNodeStatus",
|
|
|
|
|
Handler: _NodeService_UpdateNodeStatus_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "syncNodesVersionWithCluster",
|
|
|
|
|
Handler: _NodeService_SyncNodesVersionWithCluster_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNodeIsInstalled",
|
|
|
|
|
Handler: _NodeService_UpdateNodeIsInstalled_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "installNode",
|
|
|
|
|
Handler: _NodeService_InstallNode_Handler,
|
|
|
|
|
},
|
2020-10-28 12:36:11 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "upgradeNode",
|
|
|
|
|
Handler: _NodeService_UpgradeNode_Handler,
|
|
|
|
|
},
|
2020-10-27 12:33:18 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "startNode",
|
|
|
|
|
Handler: _NodeService_StartNode_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "stopNode",
|
|
|
|
|
Handler: _NodeService_StopNode_Handler,
|
|
|
|
|
},
|
2020-10-04 16:10:19 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "updateNodeConnectedAPINodes",
|
|
|
|
|
Handler: _NodeService_UpdateNodeConnectedAPINodes_Handler,
|
|
|
|
|
},
|
2020-10-25 21:27:49 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "countAllEnabledNodesWithGrantId",
|
|
|
|
|
Handler: _NodeService_CountAllEnabledNodesWithGrantId_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findAllEnabledNodesWithGrantId",
|
|
|
|
|
Handler: _NodeService_FindAllEnabledNodesWithGrantId_Handler,
|
|
|
|
|
},
|
2020-10-26 21:15:13 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findAllNotInstalledNodesWithClusterId",
|
|
|
|
|
Handler: _NodeService_FindAllNotInstalledNodesWithClusterId_Handler,
|
|
|
|
|
},
|
2020-10-28 12:36:11 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findAllUpgradeNodesWithClusterId",
|
|
|
|
|
Handler: _NodeService_FindAllUpgradeNodesWithClusterId_Handler,
|
|
|
|
|
},
|
2020-10-26 21:15:13 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNodeInstallStatus",
|
|
|
|
|
Handler: _NodeService_FindNodeInstallStatus_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNodeLogin",
|
|
|
|
|
Handler: _NodeService_UpdateNodeLogin_Handler,
|
|
|
|
|
},
|
2020-10-28 18:21:26 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "countAllEnabledNodesWithGroupId",
|
|
|
|
|
Handler: _NodeService_CountAllEnabledNodesWithGroupId_Handler,
|
|
|
|
|
},
|
2020-09-13 19:27:47 +08:00
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{
|
|
|
|
|
{
|
|
|
|
|
StreamName: "nodeStream",
|
|
|
|
|
Handler: _NodeService_NodeStream_Handler,
|
|
|
|
|
ServerStreams: true,
|
|
|
|
|
ClientStreams: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Metadata: "service_node.proto",
|
|
|
|
|
}
|