mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
741 lines
28 KiB
Go
741 lines
28 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc v3.19.4
|
|
// source: service_node_group.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// 创建分组
|
|
type CreateNodeGroupRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
}
|
|
|
|
func (x *CreateNodeGroupRequest) Reset() {
|
|
*x = CreateNodeGroupRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateNodeGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateNodeGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateNodeGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateNodeGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateNodeGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateNodeGroupRequest) GetNodeClusterId() int64 {
|
|
if x != nil {
|
|
return x.NodeClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateNodeGroupRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateNodeGroupResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeGroupId int64 `protobuf:"varint,1,opt,name=nodeGroupId,proto3" json:"nodeGroupId,omitempty"`
|
|
}
|
|
|
|
func (x *CreateNodeGroupResponse) Reset() {
|
|
*x = CreateNodeGroupResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateNodeGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateNodeGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateNodeGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateNodeGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateNodeGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateNodeGroupResponse) GetNodeGroupId() int64 {
|
|
if x != nil {
|
|
return x.NodeGroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 修改分组
|
|
type UpdateNodeGroupRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeGroupId int64 `protobuf:"varint,1,opt,name=nodeGroupId,proto3" json:"nodeGroupId,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateNodeGroupRequest) Reset() {
|
|
*x = UpdateNodeGroupRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateNodeGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNodeGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNodeGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNodeGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNodeGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UpdateNodeGroupRequest) GetNodeGroupId() int64 {
|
|
if x != nil {
|
|
return x.NodeGroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNodeGroupRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 删除分组
|
|
type DeleteNodeGroupRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeGroupId int64 `protobuf:"varint,1,opt,name=nodeGroupId,proto3" json:"nodeGroupId,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteNodeGroupRequest) Reset() {
|
|
*x = DeleteNodeGroupRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteNodeGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteNodeGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteNodeGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteNodeGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteNodeGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DeleteNodeGroupRequest) GetNodeGroupId() int64 {
|
|
if x != nil {
|
|
return x.NodeGroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 查询所有分组
|
|
type FindAllEnabledNodeGroupsWithNodeClusterIdRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
|
|
}
|
|
|
|
func (x *FindAllEnabledNodeGroupsWithNodeClusterIdRequest) Reset() {
|
|
*x = FindAllEnabledNodeGroupsWithNodeClusterIdRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FindAllEnabledNodeGroupsWithNodeClusterIdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllEnabledNodeGroupsWithNodeClusterIdRequest) ProtoMessage() {}
|
|
|
|
func (x *FindAllEnabledNodeGroupsWithNodeClusterIdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllEnabledNodeGroupsWithNodeClusterIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindAllEnabledNodeGroupsWithNodeClusterIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *FindAllEnabledNodeGroupsWithNodeClusterIdRequest) GetNodeClusterId() int64 {
|
|
if x != nil {
|
|
return x.NodeClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindAllEnabledNodeGroupsWithNodeClusterIdResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeGroups []*NodeGroup `protobuf:"bytes,1,rep,name=nodeGroups,proto3" json:"nodeGroups,omitempty"`
|
|
}
|
|
|
|
func (x *FindAllEnabledNodeGroupsWithNodeClusterIdResponse) Reset() {
|
|
*x = FindAllEnabledNodeGroupsWithNodeClusterIdResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FindAllEnabledNodeGroupsWithNodeClusterIdResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllEnabledNodeGroupsWithNodeClusterIdResponse) ProtoMessage() {}
|
|
|
|
func (x *FindAllEnabledNodeGroupsWithNodeClusterIdResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindAllEnabledNodeGroupsWithNodeClusterIdResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindAllEnabledNodeGroupsWithNodeClusterIdResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *FindAllEnabledNodeGroupsWithNodeClusterIdResponse) GetNodeGroups() []*NodeGroup {
|
|
if x != nil {
|
|
return x.NodeGroups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改分组排序
|
|
type UpdateNodeGroupOrdersRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeGroupIds []int64 `protobuf:"varint,1,rep,packed,name=nodeGroupIds,proto3" json:"nodeGroupIds,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateNodeGroupOrdersRequest) Reset() {
|
|
*x = UpdateNodeGroupOrdersRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateNodeGroupOrdersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNodeGroupOrdersRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNodeGroupOrdersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateNodeGroupOrdersRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNodeGroupOrdersRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *UpdateNodeGroupOrdersRequest) GetNodeGroupIds() []int64 {
|
|
if x != nil {
|
|
return x.NodeGroupIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找单个分组信息
|
|
type FindEnabledNodeGroupRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeGroupId int64 `protobuf:"varint,1,opt,name=nodeGroupId,proto3" json:"nodeGroupId,omitempty"`
|
|
}
|
|
|
|
func (x *FindEnabledNodeGroupRequest) Reset() {
|
|
*x = FindEnabledNodeGroupRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FindEnabledNodeGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledNodeGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledNodeGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindEnabledNodeGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledNodeGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *FindEnabledNodeGroupRequest) GetNodeGroupId() int64 {
|
|
if x != nil {
|
|
return x.NodeGroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindEnabledNodeGroupResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeGroup *NodeGroup `protobuf:"bytes,1,opt,name=nodeGroup,proto3" json:"nodeGroup,omitempty"`
|
|
}
|
|
|
|
func (x *FindEnabledNodeGroupResponse) Reset() {
|
|
*x = FindEnabledNodeGroupResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_service_node_group_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FindEnabledNodeGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledNodeGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledNodeGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_node_group_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindEnabledNodeGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledNodeGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_node_group_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *FindEnabledNodeGroupResponse) GetNodeGroup() *NodeGroup {
|
|
if x != nil {
|
|
return x.NodeGroup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_service_node_group_proto protoreflect.FileDescriptor
|
|
|
|
var file_service_node_group_proto_rawDesc = []byte{
|
|
0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x67,
|
|
0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1d,
|
|
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d,
|
|
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61,
|
|
0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43,
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x17,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x47,
|
|
0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x6f,
|
|
0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x16, 0x55, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
|
0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x0a, 0x16, 0x44, 0x65, 0x6c,
|
|
0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
|
0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x30, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
|
0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22,
|
|
0x62, 0x0a, 0x31, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e,
|
|
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75,
|
|
0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f,
|
|
0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f,
|
|
0x75, 0x70, 0x73, 0x22, 0x42, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64,
|
|
0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
|
0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x47,
|
|
0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x22, 0x3f, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
|
0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64,
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65,
|
|
0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62,
|
|
0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65,
|
|
0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x9d, 0x04, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
|
0x6f, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1a, 0x2e,
|
|
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f,
|
|
0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e,
|
|
0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65,
|
|
0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63,
|
|
0x63, 0x65, 0x73, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x29, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
|
0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
0x49, 0x64, 0x12, 0x34, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45,
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,
|
|
0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
|
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65,
|
|
0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x49, 0x0a, 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f,
|
|
0x75, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4f, 0x72, 0x64,
|
|
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
|
|
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x69,
|
|
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f,
|
|
0x75, 0x70, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
|
0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
|
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_service_node_group_proto_rawDescOnce sync.Once
|
|
file_service_node_group_proto_rawDescData = file_service_node_group_proto_rawDesc
|
|
)
|
|
|
|
func file_service_node_group_proto_rawDescGZIP() []byte {
|
|
file_service_node_group_proto_rawDescOnce.Do(func() {
|
|
file_service_node_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_node_group_proto_rawDescData)
|
|
})
|
|
return file_service_node_group_proto_rawDescData
|
|
}
|
|
|
|
var file_service_node_group_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_service_node_group_proto_goTypes = []interface{}{
|
|
(*CreateNodeGroupRequest)(nil), // 0: pb.CreateNodeGroupRequest
|
|
(*CreateNodeGroupResponse)(nil), // 1: pb.CreateNodeGroupResponse
|
|
(*UpdateNodeGroupRequest)(nil), // 2: pb.UpdateNodeGroupRequest
|
|
(*DeleteNodeGroupRequest)(nil), // 3: pb.DeleteNodeGroupRequest
|
|
(*FindAllEnabledNodeGroupsWithNodeClusterIdRequest)(nil), // 4: pb.FindAllEnabledNodeGroupsWithNodeClusterIdRequest
|
|
(*FindAllEnabledNodeGroupsWithNodeClusterIdResponse)(nil), // 5: pb.FindAllEnabledNodeGroupsWithNodeClusterIdResponse
|
|
(*UpdateNodeGroupOrdersRequest)(nil), // 6: pb.UpdateNodeGroupOrdersRequest
|
|
(*FindEnabledNodeGroupRequest)(nil), // 7: pb.FindEnabledNodeGroupRequest
|
|
(*FindEnabledNodeGroupResponse)(nil), // 8: pb.FindEnabledNodeGroupResponse
|
|
(*NodeGroup)(nil), // 9: pb.NodeGroup
|
|
(*RPCSuccess)(nil), // 10: pb.RPCSuccess
|
|
}
|
|
var file_service_node_group_proto_depIdxs = []int32{
|
|
9, // 0: pb.FindAllEnabledNodeGroupsWithNodeClusterIdResponse.nodeGroups:type_name -> pb.NodeGroup
|
|
9, // 1: pb.FindEnabledNodeGroupResponse.nodeGroup:type_name -> pb.NodeGroup
|
|
0, // 2: pb.NodeGroupService.createNodeGroup:input_type -> pb.CreateNodeGroupRequest
|
|
2, // 3: pb.NodeGroupService.updateNodeGroup:input_type -> pb.UpdateNodeGroupRequest
|
|
3, // 4: pb.NodeGroupService.deleteNodeGroup:input_type -> pb.DeleteNodeGroupRequest
|
|
4, // 5: pb.NodeGroupService.findAllEnabledNodeGroupsWithNodeClusterId:input_type -> pb.FindAllEnabledNodeGroupsWithNodeClusterIdRequest
|
|
6, // 6: pb.NodeGroupService.updateNodeGroupOrders:input_type -> pb.UpdateNodeGroupOrdersRequest
|
|
7, // 7: pb.NodeGroupService.findEnabledNodeGroup:input_type -> pb.FindEnabledNodeGroupRequest
|
|
1, // 8: pb.NodeGroupService.createNodeGroup:output_type -> pb.CreateNodeGroupResponse
|
|
10, // 9: pb.NodeGroupService.updateNodeGroup:output_type -> pb.RPCSuccess
|
|
10, // 10: pb.NodeGroupService.deleteNodeGroup:output_type -> pb.RPCSuccess
|
|
5, // 11: pb.NodeGroupService.findAllEnabledNodeGroupsWithNodeClusterId:output_type -> pb.FindAllEnabledNodeGroupsWithNodeClusterIdResponse
|
|
10, // 12: pb.NodeGroupService.updateNodeGroupOrders:output_type -> pb.RPCSuccess
|
|
8, // 13: pb.NodeGroupService.findEnabledNodeGroup:output_type -> pb.FindEnabledNodeGroupResponse
|
|
8, // [8:14] is the sub-list for method output_type
|
|
2, // [2:8] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_node_group_proto_init() }
|
|
func file_service_node_group_proto_init() {
|
|
if File_service_node_group_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_node_group_proto_init()
|
|
file_models_rpc_messages_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_service_node_group_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateNodeGroupRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_service_node_group_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateNodeGroupResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_service_node_group_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateNodeGroupRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_service_node_group_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteNodeGroupRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_service_node_group_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FindAllEnabledNodeGroupsWithNodeClusterIdRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_service_node_group_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FindAllEnabledNodeGroupsWithNodeClusterIdResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_service_node_group_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateNodeGroupOrdersRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_service_node_group_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FindEnabledNodeGroupRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_service_node_group_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FindEnabledNodeGroupResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_service_node_group_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_node_group_proto_goTypes,
|
|
DependencyIndexes: file_service_node_group_proto_depIdxs,
|
|
MessageInfos: file_service_node_group_proto_msgTypes,
|
|
}.Build()
|
|
File_service_node_group_proto = out.File
|
|
file_service_node_group_proto_rawDesc = nil
|
|
file_service_node_group_proto_goTypes = nil
|
|
file_service_node_group_proto_depIdxs = nil
|
|
}
|