forked from JointCloud/pcm-hpc
519 lines
16 KiB
Go
519 lines
16 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc v3.19.4
|
|
// source: cluster.proto
|
|
|
|
package slurm
|
|
|
|
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 Cluster struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Controller *Cluster_Controller `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"`
|
|
Flags []string `protobuf:"bytes,2,rep,name=flags,proto3" json:"flags,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Nodes string `protobuf:"bytes,4,opt,name=nodes,proto3" json:"nodes,omitempty"`
|
|
SelectPlugin string `protobuf:"bytes,5,opt,name=select_plugin,json=selectPlugin,proto3" json:"select_plugin,omitempty"`
|
|
Associations *Cluster_Associations `protobuf:"bytes,6,opt,name=associations,proto3" json:"associations,omitempty"`
|
|
RpcVersion uint32 `protobuf:"varint,7,opt,name=rpc_version,json=rpcVersion,proto3" json:"rpc_version,omitempty"`
|
|
Tres []*Tres `protobuf:"bytes,8,rep,name=tres,proto3" json:"tres,omitempty"`
|
|
}
|
|
|
|
func (x *Cluster) Reset() {
|
|
*x = Cluster{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cluster_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Cluster) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Cluster) ProtoMessage() {}
|
|
|
|
func (x *Cluster) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
|
|
func (*Cluster) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Cluster) GetController() *Cluster_Controller {
|
|
if x != nil {
|
|
return x.Controller
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetFlags() []string {
|
|
if x != nil {
|
|
return x.Flags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster) GetNodes() string {
|
|
if x != nil {
|
|
return x.Nodes
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster) GetSelectPlugin() string {
|
|
if x != nil {
|
|
return x.SelectPlugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster) GetAssociations() *Cluster_Associations {
|
|
if x != nil {
|
|
return x.Associations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Cluster) GetRpcVersion() uint32 {
|
|
if x != nil {
|
|
return x.RpcVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Cluster) GetTres() []*Tres {
|
|
if x != nil {
|
|
return x.Tres
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Cluster_Controller struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
|
|
Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
|
|
}
|
|
|
|
func (x *Cluster_Controller) Reset() {
|
|
*x = Cluster_Controller{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cluster_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Cluster_Controller) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Cluster_Controller) ProtoMessage() {}
|
|
|
|
func (x *Cluster_Controller) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Cluster_Controller.ProtoReflect.Descriptor instead.
|
|
func (*Cluster_Controller) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
func (x *Cluster_Controller) GetHost() string {
|
|
if x != nil {
|
|
return x.Host
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster_Controller) GetPort() uint32 {
|
|
if x != nil {
|
|
return x.Port
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Cluster_Root struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
|
|
Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
|
|
Partition string `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
|
|
}
|
|
|
|
func (x *Cluster_Root) Reset() {
|
|
*x = Cluster_Root{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cluster_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Cluster_Root) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Cluster_Root) ProtoMessage() {}
|
|
|
|
func (x *Cluster_Root) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Cluster_Root.ProtoReflect.Descriptor instead.
|
|
func (*Cluster_Root) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{0, 1}
|
|
}
|
|
|
|
func (x *Cluster_Root) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster_Root) GetCluster() string {
|
|
if x != nil {
|
|
return x.Cluster
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster_Root) GetPartition() string {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Cluster_Root) GetUser() string {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Cluster_Associations struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Root *Cluster_Root `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
|
|
}
|
|
|
|
func (x *Cluster_Associations) Reset() {
|
|
*x = Cluster_Associations{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cluster_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Cluster_Associations) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Cluster_Associations) ProtoMessage() {}
|
|
|
|
func (x *Cluster_Associations) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Cluster_Associations.ProtoReflect.Descriptor instead.
|
|
func (*Cluster_Associations) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{0, 2}
|
|
}
|
|
|
|
func (x *Cluster_Associations) GetRoot() *Cluster_Root {
|
|
if x != nil {
|
|
return x.Root
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Cluster_Errors struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Errno uint32 `protobuf:"varint,1,opt,name=errno,proto3" json:"errno,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
}
|
|
|
|
func (x *Cluster_Errors) Reset() {
|
|
*x = Cluster_Errors{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_cluster_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Cluster_Errors) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Cluster_Errors) ProtoMessage() {}
|
|
|
|
func (x *Cluster_Errors) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cluster_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Cluster_Errors.ProtoReflect.Descriptor instead.
|
|
func (*Cluster_Errors) Descriptor() ([]byte, []int) {
|
|
return file_cluster_proto_rawDescGZIP(), []int{0, 3}
|
|
}
|
|
|
|
func (x *Cluster_Errors) GetErrno() uint32 {
|
|
if x != nil {
|
|
return x.Errno
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Cluster_Errors) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_cluster_proto protoreflect.FileDescriptor
|
|
|
|
var file_cluster_proto_rawDesc = []byte{
|
|
0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x05, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x1a, 0x0a, 0x74, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x22, 0xbf, 0x04, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x39,
|
|
0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74,
|
|
0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0a, 0x63,
|
|
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61,
|
|
0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12,
|
|
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x6c,
|
|
0x65, 0x63, 0x74, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0c, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x3f,
|
|
0x0a, 0x0c, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x2e, 0x63, 0x6c, 0x75,
|
|
0x73, 0x74, 0x65, 0x72, 0x2e, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
|
|
0x1f, 0x0a, 0x0b, 0x72, 0x70, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x70, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x12, 0x1f, 0x0a, 0x04, 0x74, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
|
|
0x2e, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x2e, 0x74, 0x72, 0x65, 0x73, 0x52, 0x04, 0x74, 0x72, 0x65,
|
|
0x73, 0x1a, 0x34, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12,
|
|
0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68,
|
|
0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x6c, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x74, 0x12,
|
|
0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x75,
|
|
0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73,
|
|
0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x04, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x37, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x2e, 0x63, 0x6c, 0x75, 0x73,
|
|
0x74, 0x65, 0x72, 0x2e, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x1a, 0x34,
|
|
0x0a, 0x06, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6e,
|
|
0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6e, 0x6f, 0x12, 0x14,
|
|
0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
|
|
0x72, 0x72, 0x6f, 0x72, 0x42, 0x08, 0x5a, 0x06, 0x2f, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x62, 0x06,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_cluster_proto_rawDescOnce sync.Once
|
|
file_cluster_proto_rawDescData = file_cluster_proto_rawDesc
|
|
)
|
|
|
|
func file_cluster_proto_rawDescGZIP() []byte {
|
|
file_cluster_proto_rawDescOnce.Do(func() {
|
|
file_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_cluster_proto_rawDescData)
|
|
})
|
|
return file_cluster_proto_rawDescData
|
|
}
|
|
|
|
var file_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_cluster_proto_goTypes = []interface{}{
|
|
(*Cluster)(nil), // 0: slurm.cluster
|
|
(*Cluster_Controller)(nil), // 1: slurm.cluster.Controller
|
|
(*Cluster_Root)(nil), // 2: slurm.cluster.Root
|
|
(*Cluster_Associations)(nil), // 3: slurm.cluster.Associations
|
|
(*Cluster_Errors)(nil), // 4: slurm.cluster.Errors
|
|
(*Tres)(nil), // 5: slurm.tres
|
|
}
|
|
var file_cluster_proto_depIdxs = []int32{
|
|
1, // 0: slurm.cluster.controller:type_name -> slurm.cluster.Controller
|
|
3, // 1: slurm.cluster.associations:type_name -> slurm.cluster.Associations
|
|
5, // 2: slurm.cluster.tres:type_name -> slurm.tres
|
|
2, // 3: slurm.cluster.Associations.root:type_name -> slurm.cluster.Root
|
|
4, // [4:4] is the sub-list for method output_type
|
|
4, // [4:4] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_cluster_proto_init() }
|
|
func file_cluster_proto_init() {
|
|
if File_cluster_proto != nil {
|
|
return
|
|
}
|
|
file_tres_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Cluster); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cluster_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Cluster_Controller); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cluster_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Cluster_Root); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cluster_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Cluster_Associations); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_cluster_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Cluster_Errors); 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_cluster_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_cluster_proto_goTypes,
|
|
DependencyIndexes: file_cluster_proto_depIdxs,
|
|
MessageInfos: file_cluster_proto_msgTypes,
|
|
}.Build()
|
|
File_cluster_proto = out.File
|
|
file_cluster_proto_rawDesc = nil
|
|
file_cluster_proto_goTypes = nil
|
|
file_cluster_proto_depIdxs = nil
|
|
}
|