2620 lines
88 KiB
Go
2620 lines
88 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.6
|
|
// source: service_ns_node.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
// 根据集群查找所有NS节点
|
|
type FindAllNSNodesWithNSClusterIdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllNSNodesWithNSClusterIdRequest) Reset() {
|
|
*x = FindAllNSNodesWithNSClusterIdRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllNSNodesWithNSClusterIdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllNSNodesWithNSClusterIdRequest) ProtoMessage() {}
|
|
|
|
func (x *FindAllNSNodesWithNSClusterIdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllNSNodesWithNSClusterIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindAllNSNodesWithNSClusterIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *FindAllNSNodesWithNSClusterIdRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindAllNSNodesWithNSClusterIdResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodes []*NSNode `protobuf:"bytes,1,rep,name=nsNodes,proto3" json:"nsNodes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllNSNodesWithNSClusterIdResponse) Reset() {
|
|
*x = FindAllNSNodesWithNSClusterIdResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllNSNodesWithNSClusterIdResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllNSNodesWithNSClusterIdResponse) ProtoMessage() {}
|
|
|
|
func (x *FindAllNSNodesWithNSClusterIdResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllNSNodesWithNSClusterIdResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindAllNSNodesWithNSClusterIdResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *FindAllNSNodesWithNSClusterIdResponse) GetNsNodes() []*NSNode {
|
|
if x != nil {
|
|
return x.NsNodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 所有可用的NS节点数量
|
|
type CountAllNSNodesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountAllNSNodesRequest) Reset() {
|
|
*x = CountAllNSNodesRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountAllNSNodesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountAllNSNodesRequest) ProtoMessage() {}
|
|
|
|
func (x *CountAllNSNodesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CountAllNSNodesRequest.ProtoReflect.Descriptor instead.
|
|
func (*CountAllNSNodesRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
// 计算匹配的NS节点数量
|
|
type CountAllNSNodesMatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountAllNSNodesMatchRequest) Reset() {
|
|
*x = CountAllNSNodesMatchRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountAllNSNodesMatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountAllNSNodesMatchRequest) ProtoMessage() {}
|
|
|
|
func (x *CountAllNSNodesMatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CountAllNSNodesMatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*CountAllNSNodesMatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CountAllNSNodesMatchRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountAllNSNodesMatchRequest) GetInstallState() int32 {
|
|
if x != nil {
|
|
return x.InstallState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountAllNSNodesMatchRequest) GetActiveState() int32 {
|
|
if x != nil {
|
|
return x.ActiveState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountAllNSNodesMatchRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 列出单页NS节点
|
|
type ListNSNodesMatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
NsClusterId int64 `protobuf:"varint,3,opt,name=nsClusterId,proto3" json:"nsClusterId,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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListNSNodesMatchRequest) Reset() {
|
|
*x = ListNSNodesMatchRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListNSNodesMatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListNSNodesMatchRequest) ProtoMessage() {}
|
|
|
|
func (x *ListNSNodesMatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListNSNodesMatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListNSNodesMatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ListNSNodesMatchRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListNSNodesMatchRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListNSNodesMatchRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListNSNodesMatchRequest) GetInstallState() int32 {
|
|
if x != nil {
|
|
return x.InstallState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListNSNodesMatchRequest) GetActiveState() int32 {
|
|
if x != nil {
|
|
return x.ActiveState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListNSNodesMatchRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListNSNodesMatchResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodes []*NSNode `protobuf:"bytes,1,rep,name=nsNodes,proto3" json:"nsNodes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListNSNodesMatchResponse) Reset() {
|
|
*x = ListNSNodesMatchResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListNSNodesMatchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListNSNodesMatchResponse) ProtoMessage() {}
|
|
|
|
func (x *ListNSNodesMatchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListNSNodesMatchResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListNSNodesMatchResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ListNSNodesMatchResponse) GetNsNodes() []*NSNode {
|
|
if x != nil {
|
|
return x.NsNodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 计算需要升级的NS节点数量
|
|
type CountAllUpgradeNSNodesWithNSClusterIdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountAllUpgradeNSNodesWithNSClusterIdRequest) Reset() {
|
|
*x = CountAllUpgradeNSNodesWithNSClusterIdRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountAllUpgradeNSNodesWithNSClusterIdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountAllUpgradeNSNodesWithNSClusterIdRequest) ProtoMessage() {}
|
|
|
|
func (x *CountAllUpgradeNSNodesWithNSClusterIdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CountAllUpgradeNSNodesWithNSClusterIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*CountAllUpgradeNSNodesWithNSClusterIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CountAllUpgradeNSNodesWithNSClusterIdRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 创建NS节点
|
|
type CreateNSNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
NodeClusterId int64 `protobuf:"varint,2,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
NodeLogin *NodeLogin `protobuf:"bytes,3,opt,name=nodeLogin,proto3" json:"nodeLogin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateNSNodeRequest) Reset() {
|
|
*x = CreateNSNodeRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateNSNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateNSNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateNSNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateNSNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateNSNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CreateNSNodeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateNSNodeRequest) GetNodeClusterId() int64 {
|
|
if x != nil {
|
|
return x.NodeClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateNSNodeRequest) GetNodeLogin() *NodeLogin {
|
|
if x != nil {
|
|
return x.NodeLogin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateNSNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateNSNodeResponse) Reset() {
|
|
*x = CreateNSNodeResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateNSNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateNSNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateNSNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateNSNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateNSNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CreateNSNodeResponse) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 删除NS节点
|
|
type DeleteNSNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteNSNodeRequest) Reset() {
|
|
*x = DeleteNSNodeRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteNSNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteNSNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteNSNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteNSNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteNSNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *DeleteNSNodeRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 获取单个NS节点信息
|
|
type FindNSNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSNodeRequest) Reset() {
|
|
*x = FindNSNodeRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindNSNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *FindNSNodeRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNode *NSNode `protobuf:"bytes,1,opt,name=nsNode,proto3" json:"nsNode,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSNodeResponse) Reset() {
|
|
*x = FindNSNodeResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindNSNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *FindNSNodeResponse) GetNsNode() *NSNode {
|
|
if x != nil {
|
|
return x.NsNode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改NS节点
|
|
type UpdateNSNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
NsClusterId int64 `protobuf:"varint,3,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
NodeLogin *NodeLogin `protobuf:"bytes,4,opt,name=nodeLogin,proto3" json:"nodeLogin,omitempty"`
|
|
IsOn bool `protobuf:"varint,6,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSNodeRequest) Reset() {
|
|
*x = UpdateNSNodeRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNSNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *UpdateNSNodeRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSNodeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateNSNodeRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSNodeRequest) GetNodeLogin() *NodeLogin {
|
|
if x != nil {
|
|
return x.NodeLogin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateNSNodeRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 安装NS节点
|
|
type InstallNSNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InstallNSNodeRequest) Reset() {
|
|
*x = InstallNSNodeRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InstallNSNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstallNSNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *InstallNSNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstallNSNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*InstallNSNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *InstallNSNodeRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InstallNSNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InstallNSNodeResponse) Reset() {
|
|
*x = InstallNSNodeResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InstallNSNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstallNSNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *InstallNSNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstallNSNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*InstallNSNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
// 读取NS节点安装状态
|
|
type FindNSNodeInstallStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSNodeInstallStatusRequest) Reset() {
|
|
*x = FindNSNodeInstallStatusRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSNodeInstallStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSNodeInstallStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSNodeInstallStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindNSNodeInstallStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSNodeInstallStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *FindNSNodeInstallStatusRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSNodeInstallStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
InstallStatus *NodeInstallStatus `protobuf:"bytes,1,opt,name=installStatus,proto3" json:"installStatus,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSNodeInstallStatusResponse) Reset() {
|
|
*x = FindNSNodeInstallStatusResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSNodeInstallStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSNodeInstallStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSNodeInstallStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindNSNodeInstallStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSNodeInstallStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *FindNSNodeInstallStatusResponse) GetInstallStatus() *NodeInstallStatus {
|
|
if x != nil {
|
|
return x.InstallStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改NS节点安装状态
|
|
type UpdateNSNodeIsInstalledRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
IsInstalled bool `protobuf:"varint,2,opt,name=isInstalled,proto3" json:"isInstalled,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSNodeIsInstalledRequest) Reset() {
|
|
*x = UpdateNSNodeIsInstalledRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSNodeIsInstalledRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSNodeIsInstalledRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSNodeIsInstalledRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNSNodeIsInstalledRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSNodeIsInstalledRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *UpdateNSNodeIsInstalledRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSNodeIsInstalledRequest) GetIsInstalled() bool {
|
|
if x != nil {
|
|
return x.IsInstalled
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 更新NS节点状态
|
|
type UpdateNSNodeStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
StatusJSON []byte `protobuf:"bytes,2,opt,name=statusJSON,proto3" json:"statusJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSNodeStatusRequest) Reset() {
|
|
*x = UpdateNSNodeStatusRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSNodeStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSNodeStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSNodeStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNSNodeStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSNodeStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *UpdateNSNodeStatusRequest) GetNodeId() int64 {
|
|
if x != nil {
|
|
return x.NodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSNodeStatusRequest) GetStatusJSON() []byte {
|
|
if x != nil {
|
|
return x.StatusJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取当前NS节点信息
|
|
type FindCurrentNSNodeConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindCurrentNSNodeConfigRequest) Reset() {
|
|
*x = FindCurrentNSNodeConfigRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindCurrentNSNodeConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindCurrentNSNodeConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindCurrentNSNodeConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindCurrentNSNodeConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindCurrentNSNodeConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
type FindCurrentNSNodeConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeJSON []byte `protobuf:"bytes,1,opt,name=nsNodeJSON,proto3" json:"nsNodeJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindCurrentNSNodeConfigResponse) Reset() {
|
|
*x = FindCurrentNSNodeConfigResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindCurrentNSNodeConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindCurrentNSNodeConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindCurrentNSNodeConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindCurrentNSNodeConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindCurrentNSNodeConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *FindCurrentNSNodeConfigResponse) GetNsNodeJSON() []byte {
|
|
if x != nil {
|
|
return x.NsNodeJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 检查NS节点新版本
|
|
type CheckNSNodeLatestVersionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
|
|
Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
|
|
CurrentVersion string `protobuf:"bytes,3,opt,name=currentVersion,proto3" json:"currentVersion,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionRequest) Reset() {
|
|
*x = CheckNSNodeLatestVersionRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckNSNodeLatestVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *CheckNSNodeLatestVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CheckNSNodeLatestVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*CheckNSNodeLatestVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionRequest) GetOs() string {
|
|
if x != nil {
|
|
return x.Os
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionRequest) GetArch() string {
|
|
if x != nil {
|
|
return x.Arch
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionRequest) GetCurrentVersion() string {
|
|
if x != nil {
|
|
return x.CurrentVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CheckNSNodeLatestVersionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HasNewVersion bool `protobuf:"varint,1,opt,name=hasNewVersion,proto3" json:"hasNewVersion,omitempty"`
|
|
NewVersion string `protobuf:"bytes,2,opt,name=newVersion,proto3" json:"newVersion,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionResponse) Reset() {
|
|
*x = CheckNSNodeLatestVersionResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckNSNodeLatestVersionResponse) ProtoMessage() {}
|
|
|
|
func (x *CheckNSNodeLatestVersionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CheckNSNodeLatestVersionResponse.ProtoReflect.Descriptor instead.
|
|
func (*CheckNSNodeLatestVersionResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionResponse) GetHasNewVersion() bool {
|
|
if x != nil {
|
|
return x.HasNewVersion
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CheckNSNodeLatestVersionResponse) GetNewVersion() string {
|
|
if x != nil {
|
|
return x.NewVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 取得最新的版本号
|
|
type FindLatestNSNodeVersionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindLatestNSNodeVersionRequest) Reset() {
|
|
*x = FindLatestNSNodeVersionRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindLatestNSNodeVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindLatestNSNodeVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *FindLatestNSNodeVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindLatestNSNodeVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindLatestNSNodeVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
type FindLatestNSNodeVersionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindLatestNSNodeVersionResponse) Reset() {
|
|
*x = FindLatestNSNodeVersionResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindLatestNSNodeVersionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindLatestNSNodeVersionResponse) ProtoMessage() {}
|
|
|
|
func (x *FindLatestNSNodeVersionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindLatestNSNodeVersionResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindLatestNSNodeVersionResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *FindLatestNSNodeVersionResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 下载最新NS节点安装文件
|
|
type DownloadNSNodeInstallationFileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
|
|
Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
|
|
ChunkOffset int64 `protobuf:"varint,3,opt,name=chunkOffset,proto3" json:"chunkOffset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileRequest) Reset() {
|
|
*x = DownloadNSNodeInstallationFileRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DownloadNSNodeInstallationFileRequest) ProtoMessage() {}
|
|
|
|
func (x *DownloadNSNodeInstallationFileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DownloadNSNodeInstallationFileRequest.ProtoReflect.Descriptor instead.
|
|
func (*DownloadNSNodeInstallationFileRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileRequest) GetOs() string {
|
|
if x != nil {
|
|
return x.Os
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileRequest) GetArch() string {
|
|
if x != nil {
|
|
return x.Arch
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileRequest) GetChunkOffset() int64 {
|
|
if x != nil {
|
|
return x.ChunkOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DownloadNSNodeInstallationFileResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ChunkData []byte `protobuf:"bytes,1,opt,name=chunkData,proto3" json:"chunkData,omitempty"`
|
|
Sum string `protobuf:"bytes,2,opt,name=sum,proto3" json:"sum,omitempty"` // 文件的md5sum
|
|
Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
Filename string `protobuf:"bytes,5,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileResponse) Reset() {
|
|
*x = DownloadNSNodeInstallationFileResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DownloadNSNodeInstallationFileResponse) ProtoMessage() {}
|
|
|
|
func (x *DownloadNSNodeInstallationFileResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DownloadNSNodeInstallationFileResponse.ProtoReflect.Descriptor instead.
|
|
func (*DownloadNSNodeInstallationFileResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileResponse) GetChunkData() []byte {
|
|
if x != nil {
|
|
return x.ChunkData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileResponse) GetSum() string {
|
|
if x != nil {
|
|
return x.Sum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileResponse) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DownloadNSNodeInstallationFileResponse) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// NS节点stream
|
|
type NSNodeStreamMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) Reset() {
|
|
*x = NSNodeStreamMessage{}
|
|
mi := &file_service_ns_node_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NSNodeStreamMessage) ProtoMessage() {}
|
|
|
|
func (x *NSNodeStreamMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NSNodeStreamMessage.ProtoReflect.Descriptor instead.
|
|
func (*NSNodeStreamMessage) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) GetRequestId() int64 {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) GetTimeoutSeconds() int32 {
|
|
if x != nil {
|
|
return x.TimeoutSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) GetDataJSON() []byte {
|
|
if x != nil {
|
|
return x.DataJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) GetIsOk() bool {
|
|
if x != nil {
|
|
return x.IsOk
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NSNodeStreamMessage) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 更改NS节点连接的API节点信息
|
|
type UpdateNSNodeConnectedAPINodesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ApiNodeIds []int64 `protobuf:"varint,1,rep,packed,name=apiNodeIds,proto3" json:"apiNodeIds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSNodeConnectedAPINodesRequest) Reset() {
|
|
*x = UpdateNSNodeConnectedAPINodesRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSNodeConnectedAPINodesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSNodeConnectedAPINodesRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSNodeConnectedAPINodesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNSNodeConnectedAPINodesRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSNodeConnectedAPINodesRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *UpdateNSNodeConnectedAPINodesRequest) GetApiNodeIds() []int64 {
|
|
if x != nil {
|
|
return x.ApiNodeIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改NS节点登录信息
|
|
type UpdateNSNodeLoginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
NodeLogin *NodeLogin `protobuf:"bytes,2,opt,name=nodeLogin,proto3" json:"nodeLogin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSNodeLoginRequest) Reset() {
|
|
*x = UpdateNSNodeLoginRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSNodeLoginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSNodeLoginRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSNodeLoginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNSNodeLoginRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSNodeLoginRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *UpdateNSNodeLoginRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSNodeLoginRequest) GetNodeLogin() *NodeLogin {
|
|
if x != nil {
|
|
return x.NodeLogin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 启动NS节点
|
|
type StartNSNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartNSNodeRequest) Reset() {
|
|
*x = StartNSNodeRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartNSNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartNSNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *StartNSNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartNSNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartNSNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *StartNSNodeRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StartNSNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartNSNodeResponse) Reset() {
|
|
*x = StartNSNodeResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartNSNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartNSNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *StartNSNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartNSNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*StartNSNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *StartNSNodeResponse) GetIsOk() bool {
|
|
if x != nil {
|
|
return x.IsOk
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StartNSNodeResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 停止NS节点
|
|
type StopNSNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StopNSNodeRequest) Reset() {
|
|
*x = StopNSNodeRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StopNSNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopNSNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *StopNSNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StopNSNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*StopNSNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *StopNSNodeRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StopNSNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StopNSNodeResponse) Reset() {
|
|
*x = StopNSNodeResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StopNSNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopNSNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *StopNSNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StopNSNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*StopNSNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *StopNSNodeResponse) GetIsOk() bool {
|
|
if x != nil {
|
|
return x.IsOk
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StopNSNodeResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 获取NS节点的DDoS设置
|
|
type FindNSNodeDDoSProtectionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSNodeDDoSProtectionRequest) Reset() {
|
|
*x = FindNSNodeDDoSProtectionRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSNodeDDoSProtectionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSNodeDDoSProtectionRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSNodeDDoSProtectionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindNSNodeDDoSProtectionRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSNodeDDoSProtectionRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *FindNSNodeDDoSProtectionRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSNodeDDoSProtectionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DdosProtectionJSON []byte `protobuf:"bytes,1,opt,name=ddosProtectionJSON,proto3" json:"ddosProtectionJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSNodeDDoSProtectionResponse) Reset() {
|
|
*x = FindNSNodeDDoSProtectionResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSNodeDDoSProtectionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSNodeDDoSProtectionResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSNodeDDoSProtectionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindNSNodeDDoSProtectionResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSNodeDDoSProtectionResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *FindNSNodeDDoSProtectionResponse) GetDdosProtectionJSON() []byte {
|
|
if x != nil {
|
|
return x.DdosProtectionJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改NS节点的DDoS设置
|
|
type UpdateNSNodeDDoSProtectionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
DdosProtectionJSON []byte `protobuf:"bytes,2,opt,name=ddosProtectionJSON,proto3" json:"ddosProtectionJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSNodeDDoSProtectionRequest) Reset() {
|
|
*x = UpdateNSNodeDDoSProtectionRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSNodeDDoSProtectionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSNodeDDoSProtectionRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSNodeDDoSProtectionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNSNodeDDoSProtectionRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSNodeDDoSProtectionRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *UpdateNSNodeDDoSProtectionRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSNodeDDoSProtectionRequest) GetDdosProtectionJSON() []byte {
|
|
if x != nil {
|
|
return x.DdosProtectionJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找单个节点的API相关配置
|
|
type FindNSNodeAPIConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSNodeAPIConfigRequest) Reset() {
|
|
*x = FindNSNodeAPIConfigRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSNodeAPIConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSNodeAPIConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSNodeAPIConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindNSNodeAPIConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSNodeAPIConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *FindNSNodeAPIConfigRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSNodeAPIConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ApiNodeAddrsJSON []byte `protobuf:"bytes,1,opt,name=apiNodeAddrsJSON,proto3" json:"apiNodeAddrsJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSNodeAPIConfigResponse) Reset() {
|
|
*x = FindNSNodeAPIConfigResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSNodeAPIConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSNodeAPIConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSNodeAPIConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindNSNodeAPIConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSNodeAPIConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *FindNSNodeAPIConfigResponse) GetApiNodeAddrsJSON() []byte {
|
|
if x != nil {
|
|
return x.ApiNodeAddrsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改某个节点的API相关配置
|
|
type UpdateNSNodeAPIConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
ApiNodeAddrsJSON []byte `protobuf:"bytes,2,opt,name=apiNodeAddrsJSON,proto3" json:"apiNodeAddrsJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSNodeAPIConfigRequest) Reset() {
|
|
*x = UpdateNSNodeAPIConfigRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSNodeAPIConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSNodeAPIConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSNodeAPIConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNSNodeAPIConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSNodeAPIConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *UpdateNSNodeAPIConfigRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSNodeAPIConfigRequest) GetApiNodeAddrsJSON() []byte {
|
|
if x != nil {
|
|
return x.ApiNodeAddrsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 列出所有需要升级的NS节点
|
|
type FindAllUpgradeNSNodesWithNSClusterIdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdRequest) Reset() {
|
|
*x = FindAllUpgradeNSNodesWithNSClusterIdRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllUpgradeNSNodesWithNSClusterIdRequest) ProtoMessage() {}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllUpgradeNSNodesWithNSClusterIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindAllUpgradeNSNodesWithNSClusterIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindAllUpgradeNSNodesWithNSClusterIdResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Nodes []*FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse) Reset() {
|
|
*x = FindAllUpgradeNSNodesWithNSClusterIdResponse{}
|
|
mi := &file_service_ns_node_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllUpgradeNSNodesWithNSClusterIdResponse) ProtoMessage() {}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllUpgradeNSNodesWithNSClusterIdResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindAllUpgradeNSNodesWithNSClusterIdResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse) GetNodes() []*FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade {
|
|
if x != nil {
|
|
return x.Nodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 升级单个NS节点
|
|
type UpgradeNSNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNodeId int64 `protobuf:"varint,1,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpgradeNSNodeRequest) Reset() {
|
|
*x = UpgradeNSNodeRequest{}
|
|
mi := &file_service_ns_node_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpgradeNSNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpgradeNSNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *UpgradeNSNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpgradeNSNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpgradeNSNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *UpgradeNSNodeRequest) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsNode *NSNode `protobuf:"bytes,1,opt,name=nsNode,proto3" json:"nsNode,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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) Reset() {
|
|
*x = FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade{}
|
|
mi := &file_service_ns_node_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) ProtoMessage() {}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_node_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade.ProtoReflect.Descriptor instead.
|
|
func (*FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_node_proto_rawDescGZIP(), []int{41, 0}
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) GetNsNode() *NSNode {
|
|
if x != nil {
|
|
return x.NsNode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) GetOs() string {
|
|
if x != nil {
|
|
return x.Os
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) GetArch() string {
|
|
if x != nil {
|
|
return x.Arch
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) GetOldVersion() string {
|
|
if x != nil {
|
|
return x.OldVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade) GetNewVersion() string {
|
|
if x != nil {
|
|
return x.NewVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_service_ns_node_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_ns_node_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x15service_ns_node.proto\x12\x02pb\x1a\x1amodels/model_ns_node.proto\x1a&models/model_node_install_status.proto\x1a\x19models/rpc_messages.proto\x1a\x1dmodels/model_node_login.proto\"H\n" +
|
|
"$FindAllNSNodesWithNSClusterIdRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"M\n" +
|
|
"%FindAllNSNodesWithNSClusterIdResponse\x12$\n" +
|
|
"\ansNodes\x18\x01 \x03(\v2\n" +
|
|
".pb.NSNodeR\ansNodes\"\x18\n" +
|
|
"\x16CountAllNSNodesRequest\"\x9f\x01\n" +
|
|
"\x1bCountAllNSNodesMatchRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\"\n" +
|
|
"\finstallState\x18\x02 \x01(\x05R\finstallState\x12 \n" +
|
|
"\vactiveState\x18\x03 \x01(\x05R\vactiveState\x12\x18\n" +
|
|
"\akeyword\x18\x04 \x01(\tR\akeyword\"\xc7\x01\n" +
|
|
"\x17ListNSNodesMatchRequest\x12\x16\n" +
|
|
"\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x03R\x04size\x12 \n" +
|
|
"\vnsClusterId\x18\x03 \x01(\x03R\vnsClusterId\x12\"\n" +
|
|
"\finstallState\x18\x04 \x01(\x05R\finstallState\x12 \n" +
|
|
"\vactiveState\x18\x05 \x01(\x05R\vactiveState\x12\x18\n" +
|
|
"\akeyword\x18\x06 \x01(\tR\akeyword\"@\n" +
|
|
"\x18ListNSNodesMatchResponse\x12$\n" +
|
|
"\ansNodes\x18\x01 \x03(\v2\n" +
|
|
".pb.NSNodeR\ansNodes\"P\n" +
|
|
",CountAllUpgradeNSNodesWithNSClusterIdRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"|\n" +
|
|
"\x13CreateNSNodeRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12$\n" +
|
|
"\rnodeClusterId\x18\x02 \x01(\x03R\rnodeClusterId\x12+\n" +
|
|
"\tnodeLogin\x18\x03 \x01(\v2\r.pb.NodeLoginR\tnodeLogin\"2\n" +
|
|
"\x14CreateNSNodeResponse\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\"1\n" +
|
|
"\x13DeleteNSNodeRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\"/\n" +
|
|
"\x11FindNSNodeRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\"8\n" +
|
|
"\x12FindNSNodeResponse\x12\"\n" +
|
|
"\x06nsNode\x18\x01 \x01(\v2\n" +
|
|
".pb.NSNodeR\x06nsNode\"\xa8\x01\n" +
|
|
"\x13UpdateNSNodeRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vnsClusterId\x18\x03 \x01(\x03R\vnsClusterId\x12+\n" +
|
|
"\tnodeLogin\x18\x04 \x01(\v2\r.pb.NodeLoginR\tnodeLogin\x12\x12\n" +
|
|
"\x04isOn\x18\x06 \x01(\bR\x04isOn\"2\n" +
|
|
"\x14InstallNSNodeRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\"\x17\n" +
|
|
"\x15InstallNSNodeResponse\"<\n" +
|
|
"\x1eFindNSNodeInstallStatusRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\"^\n" +
|
|
"\x1fFindNSNodeInstallStatusResponse\x12;\n" +
|
|
"\rinstallStatus\x18\x01 \x01(\v2\x15.pb.NodeInstallStatusR\rinstallStatus\"^\n" +
|
|
"\x1eUpdateNSNodeIsInstalledRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\x12 \n" +
|
|
"\visInstalled\x18\x02 \x01(\bR\visInstalled\"S\n" +
|
|
"\x19UpdateNSNodeStatusRequest\x12\x16\n" +
|
|
"\x06nodeId\x18\x01 \x01(\x03R\x06nodeId\x12\x1e\n" +
|
|
"\n" +
|
|
"statusJSON\x18\x02 \x01(\fR\n" +
|
|
"statusJSON\" \n" +
|
|
"\x1eFindCurrentNSNodeConfigRequest\"A\n" +
|
|
"\x1fFindCurrentNSNodeConfigResponse\x12\x1e\n" +
|
|
"\n" +
|
|
"nsNodeJSON\x18\x01 \x01(\fR\n" +
|
|
"nsNodeJSON\"m\n" +
|
|
"\x1fCheckNSNodeLatestVersionRequest\x12\x0e\n" +
|
|
"\x02os\x18\x01 \x01(\tR\x02os\x12\x12\n" +
|
|
"\x04arch\x18\x02 \x01(\tR\x04arch\x12&\n" +
|
|
"\x0ecurrentVersion\x18\x03 \x01(\tR\x0ecurrentVersion\"h\n" +
|
|
" CheckNSNodeLatestVersionResponse\x12$\n" +
|
|
"\rhasNewVersion\x18\x01 \x01(\bR\rhasNewVersion\x12\x1e\n" +
|
|
"\n" +
|
|
"newVersion\x18\x02 \x01(\tR\n" +
|
|
"newVersion\" \n" +
|
|
"\x1eFindLatestNSNodeVersionRequest\";\n" +
|
|
"\x1fFindLatestNSNodeVersionResponse\x12\x18\n" +
|
|
"\aversion\x18\x01 \x01(\tR\aversion\"m\n" +
|
|
"%DownloadNSNodeInstallationFileRequest\x12\x0e\n" +
|
|
"\x02os\x18\x01 \x01(\tR\x02os\x12\x12\n" +
|
|
"\x04arch\x18\x02 \x01(\tR\x04arch\x12 \n" +
|
|
"\vchunkOffset\x18\x03 \x01(\x03R\vchunkOffset\"\xa6\x01\n" +
|
|
"&DownloadNSNodeInstallationFileResponse\x12\x1c\n" +
|
|
"\tchunkData\x18\x01 \x01(\fR\tchunkData\x12\x10\n" +
|
|
"\x03sum\x18\x02 \x01(\tR\x03sum\x12\x16\n" +
|
|
"\x06offset\x18\x03 \x01(\x03R\x06offset\x12\x18\n" +
|
|
"\aversion\x18\x04 \x01(\tR\aversion\x12\x1a\n" +
|
|
"\bfilename\x18\x05 \x01(\tR\bfilename\"\xd5\x01\n" +
|
|
"\x13NSNodeStreamMessage\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\x12\x1c\n" +
|
|
"\trequestId\x18\x02 \x01(\x03R\trequestId\x12&\n" +
|
|
"\x0etimeoutSeconds\x18\x03 \x01(\x05R\x0etimeoutSeconds\x12\x12\n" +
|
|
"\x04code\x18\x04 \x01(\tR\x04code\x12\x1a\n" +
|
|
"\bdataJSON\x18\x05 \x01(\fR\bdataJSON\x12\x12\n" +
|
|
"\x04isOk\x18\x06 \x01(\bR\x04isOk\x12\x18\n" +
|
|
"\amessage\x18\a \x01(\tR\amessage\"F\n" +
|
|
"$UpdateNSNodeConnectedAPINodesRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"apiNodeIds\x18\x01 \x03(\x03R\n" +
|
|
"apiNodeIds\"c\n" +
|
|
"\x18UpdateNSNodeLoginRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\x12+\n" +
|
|
"\tnodeLogin\x18\x02 \x01(\v2\r.pb.NodeLoginR\tnodeLogin\"0\n" +
|
|
"\x12StartNSNodeRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\"?\n" +
|
|
"\x13StartNSNodeResponse\x12\x12\n" +
|
|
"\x04isOk\x18\x01 \x01(\bR\x04isOk\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\"/\n" +
|
|
"\x11StopNSNodeRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\">\n" +
|
|
"\x12StopNSNodeResponse\x12\x12\n" +
|
|
"\x04isOk\x18\x01 \x01(\bR\x04isOk\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\"=\n" +
|
|
"\x1fFindNSNodeDDoSProtectionRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\"R\n" +
|
|
" FindNSNodeDDoSProtectionResponse\x12.\n" +
|
|
"\x12ddosProtectionJSON\x18\x01 \x01(\fR\x12ddosProtectionJSON\"o\n" +
|
|
"!UpdateNSNodeDDoSProtectionRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\x12.\n" +
|
|
"\x12ddosProtectionJSON\x18\x02 \x01(\fR\x12ddosProtectionJSON\"8\n" +
|
|
"\x1aFindNSNodeAPIConfigRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\"I\n" +
|
|
"\x1bFindNSNodeAPIConfigResponse\x12*\n" +
|
|
"\x10apiNodeAddrsJSON\x18\x01 \x01(\fR\x10apiNodeAddrsJSON\"f\n" +
|
|
"\x1cUpdateNSNodeAPIConfigRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\x12*\n" +
|
|
"\x10apiNodeAddrsJSON\x18\x02 \x01(\fR\x10apiNodeAddrsJSON\"O\n" +
|
|
"+FindAllUpgradeNSNodesWithNSClusterIdRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"\x9e\x02\n" +
|
|
",FindAllUpgradeNSNodesWithNSClusterIdResponse\x12T\n" +
|
|
"\x05nodes\x18\x01 \x03(\v2>.pb.FindAllUpgradeNSNodesWithNSClusterIdResponse.NSNodeUpgradeR\x05nodes\x1a\x97\x01\n" +
|
|
"\rNSNodeUpgrade\x12\"\n" +
|
|
"\x06nsNode\x18\x01 \x01(\v2\n" +
|
|
".pb.NSNodeR\x06nsNode\x12\x0e\n" +
|
|
"\x02os\x18\x02 \x01(\tR\x02os\x12\x12\n" +
|
|
"\x04arch\x18\x03 \x01(\tR\x04arch\x12\x1e\n" +
|
|
"\n" +
|
|
"oldVersion\x18\x04 \x01(\tR\n" +
|
|
"oldVersion\x12\x1e\n" +
|
|
"\n" +
|
|
"newVersion\x18\x05 \x01(\tR\n" +
|
|
"newVersion\"2\n" +
|
|
"\x14UpgradeNSNodeRequest\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId2\x81\x13\n" +
|
|
"\rNSNodeService\x12t\n" +
|
|
"\x1dfindAllNSNodesWithNSClusterId\x12(.pb.FindAllNSNodesWithNSClusterIdRequest\x1a).pb.FindAllNSNodesWithNSClusterIdResponse\x12C\n" +
|
|
"\x0fcountAllNSNodes\x12\x1a.pb.CountAllNSNodesRequest\x1a\x14.pb.RPCCountResponse\x12M\n" +
|
|
"\x14countAllNSNodesMatch\x12\x1f.pb.CountAllNSNodesMatchRequest\x1a\x14.pb.RPCCountResponse\x12M\n" +
|
|
"\x10listNSNodesMatch\x12\x1b.pb.ListNSNodesMatchRequest\x1a\x1c.pb.ListNSNodesMatchResponse\x12o\n" +
|
|
"%countAllUpgradeNSNodesWithNSClusterId\x120.pb.CountAllUpgradeNSNodesWithNSClusterIdRequest\x1a\x14.pb.RPCCountResponse\x12\x89\x01\n" +
|
|
"$findAllUpgradeNSNodesWithNSClusterId\x12/.pb.FindAllUpgradeNSNodesWithNSClusterIdRequest\x1a0.pb.FindAllUpgradeNSNodesWithNSClusterIdResponse\x129\n" +
|
|
"\rupgradeNSNode\x12\x18.pb.UpgradeNSNodeRequest\x1a\x0e.pb.RPCSuccess\x12A\n" +
|
|
"\fcreateNSNode\x12\x17.pb.CreateNSNodeRequest\x1a\x18.pb.CreateNSNodeResponse\x127\n" +
|
|
"\fdeleteNSNode\x12\x17.pb.DeleteNSNodeRequest\x1a\x0e.pb.RPCSuccess\x12;\n" +
|
|
"\n" +
|
|
"findNSNode\x12\x15.pb.FindNSNodeRequest\x1a\x16.pb.FindNSNodeResponse\x127\n" +
|
|
"\fupdateNSNode\x12\x17.pb.UpdateNSNodeRequest\x1a\x0e.pb.RPCSuccess\x12D\n" +
|
|
"\rinstallNSNode\x12\x18.pb.InstallNSNodeRequest\x1a\x19.pb.InstallNSNodeResponse\x12b\n" +
|
|
"\x17findNSNodeInstallStatus\x12\".pb.FindNSNodeInstallStatusRequest\x1a#.pb.FindNSNodeInstallStatusResponse\x12M\n" +
|
|
"\x17updateNSNodeIsInstalled\x12\".pb.UpdateNSNodeIsInstalledRequest\x1a\x0e.pb.RPCSuccess\x12C\n" +
|
|
"\x12updateNSNodeStatus\x12\x1d.pb.UpdateNSNodeStatusRequest\x1a\x0e.pb.RPCSuccess\x12b\n" +
|
|
"\x17findCurrentNSNodeConfig\x12\".pb.FindCurrentNSNodeConfigRequest\x1a#.pb.FindCurrentNSNodeConfigResponse\x12e\n" +
|
|
"\x18checkNSNodeLatestVersion\x12#.pb.CheckNSNodeLatestVersionRequest\x1a$.pb.CheckNSNodeLatestVersionResponse\x12b\n" +
|
|
"\x17findLatestNSNodeVersion\x12\".pb.FindLatestNSNodeVersionRequest\x1a#.pb.FindLatestNSNodeVersionResponse\x12w\n" +
|
|
"\x1edownloadNSNodeInstallationFile\x12).pb.DownloadNSNodeInstallationFileRequest\x1a*.pb.DownloadNSNodeInstallationFileResponse\x12D\n" +
|
|
"\fnsNodeStream\x12\x17.pb.NSNodeStreamMessage\x1a\x17.pb.NSNodeStreamMessage(\x010\x01\x12G\n" +
|
|
"\x13sendCommandToNSNode\x12\x17.pb.NSNodeStreamMessage\x1a\x17.pb.NSNodeStreamMessage\x12Y\n" +
|
|
"\x1dupdateNSNodeConnectedAPINodes\x12(.pb.UpdateNSNodeConnectedAPINodesRequest\x1a\x0e.pb.RPCSuccess\x12A\n" +
|
|
"\x11updateNSNodeLogin\x12\x1c.pb.UpdateNSNodeLoginRequest\x1a\x0e.pb.RPCSuccess\x12>\n" +
|
|
"\vstartNSNode\x12\x16.pb.StartNSNodeRequest\x1a\x17.pb.StartNSNodeResponse\x12;\n" +
|
|
"\n" +
|
|
"stopNSNode\x12\x15.pb.StopNSNodeRequest\x1a\x16.pb.StopNSNodeResponse\x12e\n" +
|
|
"\x18findNSNodeDDoSProtection\x12#.pb.FindNSNodeDDoSProtectionRequest\x1a$.pb.FindNSNodeDDoSProtectionResponse\x12S\n" +
|
|
"\x1aupdateNSNodeDDoSProtection\x12%.pb.UpdateNSNodeDDoSProtectionRequest\x1a\x0e.pb.RPCSuccess\x12V\n" +
|
|
"\x13findNSNodeAPIConfig\x12\x1e.pb.FindNSNodeAPIConfigRequest\x1a\x1f.pb.FindNSNodeAPIConfigResponse\x12I\n" +
|
|
"\x15updateNSNodeAPIConfig\x12 .pb.UpdateNSNodeAPIConfigRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_ns_node_proto_rawDescOnce sync.Once
|
|
file_service_ns_node_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_ns_node_proto_rawDescGZIP() []byte {
|
|
file_service_ns_node_proto_rawDescOnce.Do(func() {
|
|
file_service_ns_node_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_ns_node_proto_rawDesc), len(file_service_ns_node_proto_rawDesc)))
|
|
})
|
|
return file_service_ns_node_proto_rawDescData
|
|
}
|
|
|
|
var file_service_ns_node_proto_msgTypes = make([]protoimpl.MessageInfo, 44)
|
|
var file_service_ns_node_proto_goTypes = []any{
|
|
(*FindAllNSNodesWithNSClusterIdRequest)(nil), // 0: pb.FindAllNSNodesWithNSClusterIdRequest
|
|
(*FindAllNSNodesWithNSClusterIdResponse)(nil), // 1: pb.FindAllNSNodesWithNSClusterIdResponse
|
|
(*CountAllNSNodesRequest)(nil), // 2: pb.CountAllNSNodesRequest
|
|
(*CountAllNSNodesMatchRequest)(nil), // 3: pb.CountAllNSNodesMatchRequest
|
|
(*ListNSNodesMatchRequest)(nil), // 4: pb.ListNSNodesMatchRequest
|
|
(*ListNSNodesMatchResponse)(nil), // 5: pb.ListNSNodesMatchResponse
|
|
(*CountAllUpgradeNSNodesWithNSClusterIdRequest)(nil), // 6: pb.CountAllUpgradeNSNodesWithNSClusterIdRequest
|
|
(*CreateNSNodeRequest)(nil), // 7: pb.CreateNSNodeRequest
|
|
(*CreateNSNodeResponse)(nil), // 8: pb.CreateNSNodeResponse
|
|
(*DeleteNSNodeRequest)(nil), // 9: pb.DeleteNSNodeRequest
|
|
(*FindNSNodeRequest)(nil), // 10: pb.FindNSNodeRequest
|
|
(*FindNSNodeResponse)(nil), // 11: pb.FindNSNodeResponse
|
|
(*UpdateNSNodeRequest)(nil), // 12: pb.UpdateNSNodeRequest
|
|
(*InstallNSNodeRequest)(nil), // 13: pb.InstallNSNodeRequest
|
|
(*InstallNSNodeResponse)(nil), // 14: pb.InstallNSNodeResponse
|
|
(*FindNSNodeInstallStatusRequest)(nil), // 15: pb.FindNSNodeInstallStatusRequest
|
|
(*FindNSNodeInstallStatusResponse)(nil), // 16: pb.FindNSNodeInstallStatusResponse
|
|
(*UpdateNSNodeIsInstalledRequest)(nil), // 17: pb.UpdateNSNodeIsInstalledRequest
|
|
(*UpdateNSNodeStatusRequest)(nil), // 18: pb.UpdateNSNodeStatusRequest
|
|
(*FindCurrentNSNodeConfigRequest)(nil), // 19: pb.FindCurrentNSNodeConfigRequest
|
|
(*FindCurrentNSNodeConfigResponse)(nil), // 20: pb.FindCurrentNSNodeConfigResponse
|
|
(*CheckNSNodeLatestVersionRequest)(nil), // 21: pb.CheckNSNodeLatestVersionRequest
|
|
(*CheckNSNodeLatestVersionResponse)(nil), // 22: pb.CheckNSNodeLatestVersionResponse
|
|
(*FindLatestNSNodeVersionRequest)(nil), // 23: pb.FindLatestNSNodeVersionRequest
|
|
(*FindLatestNSNodeVersionResponse)(nil), // 24: pb.FindLatestNSNodeVersionResponse
|
|
(*DownloadNSNodeInstallationFileRequest)(nil), // 25: pb.DownloadNSNodeInstallationFileRequest
|
|
(*DownloadNSNodeInstallationFileResponse)(nil), // 26: pb.DownloadNSNodeInstallationFileResponse
|
|
(*NSNodeStreamMessage)(nil), // 27: pb.NSNodeStreamMessage
|
|
(*UpdateNSNodeConnectedAPINodesRequest)(nil), // 28: pb.UpdateNSNodeConnectedAPINodesRequest
|
|
(*UpdateNSNodeLoginRequest)(nil), // 29: pb.UpdateNSNodeLoginRequest
|
|
(*StartNSNodeRequest)(nil), // 30: pb.StartNSNodeRequest
|
|
(*StartNSNodeResponse)(nil), // 31: pb.StartNSNodeResponse
|
|
(*StopNSNodeRequest)(nil), // 32: pb.StopNSNodeRequest
|
|
(*StopNSNodeResponse)(nil), // 33: pb.StopNSNodeResponse
|
|
(*FindNSNodeDDoSProtectionRequest)(nil), // 34: pb.FindNSNodeDDoSProtectionRequest
|
|
(*FindNSNodeDDoSProtectionResponse)(nil), // 35: pb.FindNSNodeDDoSProtectionResponse
|
|
(*UpdateNSNodeDDoSProtectionRequest)(nil), // 36: pb.UpdateNSNodeDDoSProtectionRequest
|
|
(*FindNSNodeAPIConfigRequest)(nil), // 37: pb.FindNSNodeAPIConfigRequest
|
|
(*FindNSNodeAPIConfigResponse)(nil), // 38: pb.FindNSNodeAPIConfigResponse
|
|
(*UpdateNSNodeAPIConfigRequest)(nil), // 39: pb.UpdateNSNodeAPIConfigRequest
|
|
(*FindAllUpgradeNSNodesWithNSClusterIdRequest)(nil), // 40: pb.FindAllUpgradeNSNodesWithNSClusterIdRequest
|
|
(*FindAllUpgradeNSNodesWithNSClusterIdResponse)(nil), // 41: pb.FindAllUpgradeNSNodesWithNSClusterIdResponse
|
|
(*UpgradeNSNodeRequest)(nil), // 42: pb.UpgradeNSNodeRequest
|
|
(*FindAllUpgradeNSNodesWithNSClusterIdResponse_NSNodeUpgrade)(nil), // 43: pb.FindAllUpgradeNSNodesWithNSClusterIdResponse.NSNodeUpgrade
|
|
(*NSNode)(nil), // 44: pb.NSNode
|
|
(*NodeLogin)(nil), // 45: pb.NodeLogin
|
|
(*NodeInstallStatus)(nil), // 46: pb.NodeInstallStatus
|
|
(*RPCCountResponse)(nil), // 47: pb.RPCCountResponse
|
|
(*RPCSuccess)(nil), // 48: pb.RPCSuccess
|
|
}
|
|
var file_service_ns_node_proto_depIdxs = []int32{
|
|
44, // 0: pb.FindAllNSNodesWithNSClusterIdResponse.nsNodes:type_name -> pb.NSNode
|
|
44, // 1: pb.ListNSNodesMatchResponse.nsNodes:type_name -> pb.NSNode
|
|
45, // 2: pb.CreateNSNodeRequest.nodeLogin:type_name -> pb.NodeLogin
|
|
44, // 3: pb.FindNSNodeResponse.nsNode:type_name -> pb.NSNode
|
|
45, // 4: pb.UpdateNSNodeRequest.nodeLogin:type_name -> pb.NodeLogin
|
|
46, // 5: pb.FindNSNodeInstallStatusResponse.installStatus:type_name -> pb.NodeInstallStatus
|
|
45, // 6: pb.UpdateNSNodeLoginRequest.nodeLogin:type_name -> pb.NodeLogin
|
|
43, // 7: pb.FindAllUpgradeNSNodesWithNSClusterIdResponse.nodes:type_name -> pb.FindAllUpgradeNSNodesWithNSClusterIdResponse.NSNodeUpgrade
|
|
44, // 8: pb.FindAllUpgradeNSNodesWithNSClusterIdResponse.NSNodeUpgrade.nsNode:type_name -> pb.NSNode
|
|
0, // 9: pb.NSNodeService.findAllNSNodesWithNSClusterId:input_type -> pb.FindAllNSNodesWithNSClusterIdRequest
|
|
2, // 10: pb.NSNodeService.countAllNSNodes:input_type -> pb.CountAllNSNodesRequest
|
|
3, // 11: pb.NSNodeService.countAllNSNodesMatch:input_type -> pb.CountAllNSNodesMatchRequest
|
|
4, // 12: pb.NSNodeService.listNSNodesMatch:input_type -> pb.ListNSNodesMatchRequest
|
|
6, // 13: pb.NSNodeService.countAllUpgradeNSNodesWithNSClusterId:input_type -> pb.CountAllUpgradeNSNodesWithNSClusterIdRequest
|
|
40, // 14: pb.NSNodeService.findAllUpgradeNSNodesWithNSClusterId:input_type -> pb.FindAllUpgradeNSNodesWithNSClusterIdRequest
|
|
42, // 15: pb.NSNodeService.upgradeNSNode:input_type -> pb.UpgradeNSNodeRequest
|
|
7, // 16: pb.NSNodeService.createNSNode:input_type -> pb.CreateNSNodeRequest
|
|
9, // 17: pb.NSNodeService.deleteNSNode:input_type -> pb.DeleteNSNodeRequest
|
|
10, // 18: pb.NSNodeService.findNSNode:input_type -> pb.FindNSNodeRequest
|
|
12, // 19: pb.NSNodeService.updateNSNode:input_type -> pb.UpdateNSNodeRequest
|
|
13, // 20: pb.NSNodeService.installNSNode:input_type -> pb.InstallNSNodeRequest
|
|
15, // 21: pb.NSNodeService.findNSNodeInstallStatus:input_type -> pb.FindNSNodeInstallStatusRequest
|
|
17, // 22: pb.NSNodeService.updateNSNodeIsInstalled:input_type -> pb.UpdateNSNodeIsInstalledRequest
|
|
18, // 23: pb.NSNodeService.updateNSNodeStatus:input_type -> pb.UpdateNSNodeStatusRequest
|
|
19, // 24: pb.NSNodeService.findCurrentNSNodeConfig:input_type -> pb.FindCurrentNSNodeConfigRequest
|
|
21, // 25: pb.NSNodeService.checkNSNodeLatestVersion:input_type -> pb.CheckNSNodeLatestVersionRequest
|
|
23, // 26: pb.NSNodeService.findLatestNSNodeVersion:input_type -> pb.FindLatestNSNodeVersionRequest
|
|
25, // 27: pb.NSNodeService.downloadNSNodeInstallationFile:input_type -> pb.DownloadNSNodeInstallationFileRequest
|
|
27, // 28: pb.NSNodeService.nsNodeStream:input_type -> pb.NSNodeStreamMessage
|
|
27, // 29: pb.NSNodeService.sendCommandToNSNode:input_type -> pb.NSNodeStreamMessage
|
|
28, // 30: pb.NSNodeService.updateNSNodeConnectedAPINodes:input_type -> pb.UpdateNSNodeConnectedAPINodesRequest
|
|
29, // 31: pb.NSNodeService.updateNSNodeLogin:input_type -> pb.UpdateNSNodeLoginRequest
|
|
30, // 32: pb.NSNodeService.startNSNode:input_type -> pb.StartNSNodeRequest
|
|
32, // 33: pb.NSNodeService.stopNSNode:input_type -> pb.StopNSNodeRequest
|
|
34, // 34: pb.NSNodeService.findNSNodeDDoSProtection:input_type -> pb.FindNSNodeDDoSProtectionRequest
|
|
36, // 35: pb.NSNodeService.updateNSNodeDDoSProtection:input_type -> pb.UpdateNSNodeDDoSProtectionRequest
|
|
37, // 36: pb.NSNodeService.findNSNodeAPIConfig:input_type -> pb.FindNSNodeAPIConfigRequest
|
|
39, // 37: pb.NSNodeService.updateNSNodeAPIConfig:input_type -> pb.UpdateNSNodeAPIConfigRequest
|
|
1, // 38: pb.NSNodeService.findAllNSNodesWithNSClusterId:output_type -> pb.FindAllNSNodesWithNSClusterIdResponse
|
|
47, // 39: pb.NSNodeService.countAllNSNodes:output_type -> pb.RPCCountResponse
|
|
47, // 40: pb.NSNodeService.countAllNSNodesMatch:output_type -> pb.RPCCountResponse
|
|
5, // 41: pb.NSNodeService.listNSNodesMatch:output_type -> pb.ListNSNodesMatchResponse
|
|
47, // 42: pb.NSNodeService.countAllUpgradeNSNodesWithNSClusterId:output_type -> pb.RPCCountResponse
|
|
41, // 43: pb.NSNodeService.findAllUpgradeNSNodesWithNSClusterId:output_type -> pb.FindAllUpgradeNSNodesWithNSClusterIdResponse
|
|
48, // 44: pb.NSNodeService.upgradeNSNode:output_type -> pb.RPCSuccess
|
|
8, // 45: pb.NSNodeService.createNSNode:output_type -> pb.CreateNSNodeResponse
|
|
48, // 46: pb.NSNodeService.deleteNSNode:output_type -> pb.RPCSuccess
|
|
11, // 47: pb.NSNodeService.findNSNode:output_type -> pb.FindNSNodeResponse
|
|
48, // 48: pb.NSNodeService.updateNSNode:output_type -> pb.RPCSuccess
|
|
14, // 49: pb.NSNodeService.installNSNode:output_type -> pb.InstallNSNodeResponse
|
|
16, // 50: pb.NSNodeService.findNSNodeInstallStatus:output_type -> pb.FindNSNodeInstallStatusResponse
|
|
48, // 51: pb.NSNodeService.updateNSNodeIsInstalled:output_type -> pb.RPCSuccess
|
|
48, // 52: pb.NSNodeService.updateNSNodeStatus:output_type -> pb.RPCSuccess
|
|
20, // 53: pb.NSNodeService.findCurrentNSNodeConfig:output_type -> pb.FindCurrentNSNodeConfigResponse
|
|
22, // 54: pb.NSNodeService.checkNSNodeLatestVersion:output_type -> pb.CheckNSNodeLatestVersionResponse
|
|
24, // 55: pb.NSNodeService.findLatestNSNodeVersion:output_type -> pb.FindLatestNSNodeVersionResponse
|
|
26, // 56: pb.NSNodeService.downloadNSNodeInstallationFile:output_type -> pb.DownloadNSNodeInstallationFileResponse
|
|
27, // 57: pb.NSNodeService.nsNodeStream:output_type -> pb.NSNodeStreamMessage
|
|
27, // 58: pb.NSNodeService.sendCommandToNSNode:output_type -> pb.NSNodeStreamMessage
|
|
48, // 59: pb.NSNodeService.updateNSNodeConnectedAPINodes:output_type -> pb.RPCSuccess
|
|
48, // 60: pb.NSNodeService.updateNSNodeLogin:output_type -> pb.RPCSuccess
|
|
31, // 61: pb.NSNodeService.startNSNode:output_type -> pb.StartNSNodeResponse
|
|
33, // 62: pb.NSNodeService.stopNSNode:output_type -> pb.StopNSNodeResponse
|
|
35, // 63: pb.NSNodeService.findNSNodeDDoSProtection:output_type -> pb.FindNSNodeDDoSProtectionResponse
|
|
48, // 64: pb.NSNodeService.updateNSNodeDDoSProtection:output_type -> pb.RPCSuccess
|
|
38, // 65: pb.NSNodeService.findNSNodeAPIConfig:output_type -> pb.FindNSNodeAPIConfigResponse
|
|
48, // 66: pb.NSNodeService.updateNSNodeAPIConfig:output_type -> pb.RPCSuccess
|
|
38, // [38:67] is the sub-list for method output_type
|
|
9, // [9:38] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_ns_node_proto_init() }
|
|
func file_service_ns_node_proto_init() {
|
|
if File_service_ns_node_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_ns_node_proto_init()
|
|
file_models_model_node_install_status_proto_init()
|
|
file_models_rpc_messages_proto_init()
|
|
file_models_model_node_login_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_ns_node_proto_rawDesc), len(file_service_ns_node_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 44,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_ns_node_proto_goTypes,
|
|
DependencyIndexes: file_service_ns_node_proto_depIdxs,
|
|
MessageInfos: file_service_ns_node_proto_msgTypes,
|
|
}.Build()
|
|
File_service_ns_node_proto = out.File
|
|
file_service_ns_node_proto_goTypes = nil
|
|
file_service_ns_node_proto_depIdxs = nil
|
|
}
|