Path: blob/main/components/ws-manager-bridge-api/go/cluster-service.pb.go
2498 views
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-go. DO NOT EDIT.5// versions:6// protoc-gen-go v1.28.17// protoc (unknown)8// source: cluster-service.proto910package api1112import (13protoreflect "google.golang.org/protobuf/reflect/protoreflect"14protoimpl "google.golang.org/protobuf/runtime/protoimpl"15reflect "reflect"16sync "sync"17)1819const (20// Verify that this generated code is sufficiently up-to-date.21_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)22// Verify that runtime/protoimpl is sufficiently up-to-date.23_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)24)2526type Preferability int322728const (29Preferability_None Preferability = 030Preferability_Prefer Preferability = 131Preferability_DontSchedule Preferability = 232)3334// Enum value maps for Preferability.35var (36Preferability_name = map[int32]string{370: "None",381: "Prefer",392: "DontSchedule",40}41Preferability_value = map[string]int32{42"None": 0,43"Prefer": 1,44"DontSchedule": 2,45}46)4748func (x Preferability) Enum() *Preferability {49p := new(Preferability)50*p = x51return p52}5354func (x Preferability) String() string {55return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))56}5758func (Preferability) Descriptor() protoreflect.EnumDescriptor {59return file_cluster_service_proto_enumTypes[0].Descriptor()60}6162func (Preferability) Type() protoreflect.EnumType {63return &file_cluster_service_proto_enumTypes[0]64}6566func (x Preferability) Number() protoreflect.EnumNumber {67return protoreflect.EnumNumber(x)68}6970// Deprecated: Use Preferability.Descriptor instead.71func (Preferability) EnumDescriptor() ([]byte, []int) {72return file_cluster_service_proto_rawDescGZIP(), []int{0}73}7475type ClusterState int327677const (78ClusterState_UNKNOWN ClusterState = 079ClusterState_AVAILABLE ClusterState = 180ClusterState_CORDONED ClusterState = 281ClusterState_DRAINING ClusterState = 382)8384// Enum value maps for ClusterState.85var (86ClusterState_name = map[int32]string{870: "UNKNOWN",881: "AVAILABLE",892: "CORDONED",903: "DRAINING",91}92ClusterState_value = map[string]int32{93"UNKNOWN": 0,94"AVAILABLE": 1,95"CORDONED": 2,96"DRAINING": 3,97}98)99100func (x ClusterState) Enum() *ClusterState {101p := new(ClusterState)102*p = x103return p104}105106func (x ClusterState) String() string {107return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))108}109110func (ClusterState) Descriptor() protoreflect.EnumDescriptor {111return file_cluster_service_proto_enumTypes[1].Descriptor()112}113114func (ClusterState) Type() protoreflect.EnumType {115return &file_cluster_service_proto_enumTypes[1]116}117118func (x ClusterState) Number() protoreflect.EnumNumber {119return protoreflect.EnumNumber(x)120}121122// Deprecated: Use ClusterState.Descriptor instead.123func (ClusterState) EnumDescriptor() ([]byte, []int) {124return file_cluster_service_proto_rawDescGZIP(), []int{1}125}126127type RegisterRequest struct {128state protoimpl.MessageState129sizeCache protoimpl.SizeCache130unknownFields protoimpl.UnknownFields131132Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`133Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`134Tls *TlsConfig `protobuf:"bytes,3,opt,name=tls,proto3" json:"tls,omitempty"`135Hints *RegistrationHints `protobuf:"bytes,4,opt,name=hints,proto3" json:"hints,omitempty"`136AdmissionConstraints []*AdmissionConstraint `protobuf:"bytes,5,rep,name=admission_constraints,json=admissionConstraints,proto3" json:"admission_constraints,omitempty"`137// the region this cluster is in, e.g. "europe-west1"138Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`139}140141func (x *RegisterRequest) Reset() {142*x = RegisterRequest{}143if protoimpl.UnsafeEnabled {144mi := &file_cluster_service_proto_msgTypes[0]145ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))146ms.StoreMessageInfo(mi)147}148}149150func (x *RegisterRequest) String() string {151return protoimpl.X.MessageStringOf(x)152}153154func (*RegisterRequest) ProtoMessage() {}155156func (x *RegisterRequest) ProtoReflect() protoreflect.Message {157mi := &file_cluster_service_proto_msgTypes[0]158if protoimpl.UnsafeEnabled && x != nil {159ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))160if ms.LoadMessageInfo() == nil {161ms.StoreMessageInfo(mi)162}163return ms164}165return mi.MessageOf(x)166}167168// Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.169func (*RegisterRequest) Descriptor() ([]byte, []int) {170return file_cluster_service_proto_rawDescGZIP(), []int{0}171}172173func (x *RegisterRequest) GetName() string {174if x != nil {175return x.Name176}177return ""178}179180func (x *RegisterRequest) GetUrl() string {181if x != nil {182return x.Url183}184return ""185}186187func (x *RegisterRequest) GetTls() *TlsConfig {188if x != nil {189return x.Tls190}191return nil192}193194func (x *RegisterRequest) GetHints() *RegistrationHints {195if x != nil {196return x.Hints197}198return nil199}200201func (x *RegisterRequest) GetAdmissionConstraints() []*AdmissionConstraint {202if x != nil {203return x.AdmissionConstraints204}205return nil206}207208func (x *RegisterRequest) GetRegion() string {209if x != nil {210return x.Region211}212return ""213}214215type RegisterResponse struct {216state protoimpl.MessageState217sizeCache protoimpl.SizeCache218unknownFields protoimpl.UnknownFields219}220221func (x *RegisterResponse) Reset() {222*x = RegisterResponse{}223if protoimpl.UnsafeEnabled {224mi := &file_cluster_service_proto_msgTypes[1]225ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))226ms.StoreMessageInfo(mi)227}228}229230func (x *RegisterResponse) String() string {231return protoimpl.X.MessageStringOf(x)232}233234func (*RegisterResponse) ProtoMessage() {}235236func (x *RegisterResponse) ProtoReflect() protoreflect.Message {237mi := &file_cluster_service_proto_msgTypes[1]238if protoimpl.UnsafeEnabled && x != nil {239ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))240if ms.LoadMessageInfo() == nil {241ms.StoreMessageInfo(mi)242}243return ms244}245return mi.MessageOf(x)246}247248// Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.249func (*RegisterResponse) Descriptor() ([]byte, []int) {250return file_cluster_service_proto_rawDescGZIP(), []int{1}251}252253type TlsConfig struct {254state protoimpl.MessageState255sizeCache protoimpl.SizeCache256unknownFields protoimpl.UnknownFields257258Ca string `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"`259Crt string `protobuf:"bytes,2,opt,name=crt,proto3" json:"crt,omitempty"`260Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`261}262263func (x *TlsConfig) Reset() {264*x = TlsConfig{}265if protoimpl.UnsafeEnabled {266mi := &file_cluster_service_proto_msgTypes[2]267ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))268ms.StoreMessageInfo(mi)269}270}271272func (x *TlsConfig) String() string {273return protoimpl.X.MessageStringOf(x)274}275276func (*TlsConfig) ProtoMessage() {}277278func (x *TlsConfig) ProtoReflect() protoreflect.Message {279mi := &file_cluster_service_proto_msgTypes[2]280if protoimpl.UnsafeEnabled && x != nil {281ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))282if ms.LoadMessageInfo() == nil {283ms.StoreMessageInfo(mi)284}285return ms286}287return mi.MessageOf(x)288}289290// Deprecated: Use TlsConfig.ProtoReflect.Descriptor instead.291func (*TlsConfig) Descriptor() ([]byte, []int) {292return file_cluster_service_proto_rawDescGZIP(), []int{2}293}294295func (x *TlsConfig) GetCa() string {296if x != nil {297return x.Ca298}299return ""300}301302func (x *TlsConfig) GetCrt() string {303if x != nil {304return x.Crt305}306return ""307}308309func (x *TlsConfig) GetKey() string {310if x != nil {311return x.Key312}313return ""314}315316type RegistrationHints struct {317state protoimpl.MessageState318sizeCache protoimpl.SizeCache319unknownFields protoimpl.UnknownFields320321Perfereability Preferability `protobuf:"varint,1,opt,name=perfereability,proto3,enum=workspacemanagerbridge.Preferability" json:"perfereability,omitempty"`322Cordoned bool `protobuf:"varint,2,opt,name=cordoned,proto3" json:"cordoned,omitempty"`323}324325func (x *RegistrationHints) Reset() {326*x = RegistrationHints{}327if protoimpl.UnsafeEnabled {328mi := &file_cluster_service_proto_msgTypes[3]329ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))330ms.StoreMessageInfo(mi)331}332}333334func (x *RegistrationHints) String() string {335return protoimpl.X.MessageStringOf(x)336}337338func (*RegistrationHints) ProtoMessage() {}339340func (x *RegistrationHints) ProtoReflect() protoreflect.Message {341mi := &file_cluster_service_proto_msgTypes[3]342if protoimpl.UnsafeEnabled && x != nil {343ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))344if ms.LoadMessageInfo() == nil {345ms.StoreMessageInfo(mi)346}347return ms348}349return mi.MessageOf(x)350}351352// Deprecated: Use RegistrationHints.ProtoReflect.Descriptor instead.353func (*RegistrationHints) Descriptor() ([]byte, []int) {354return file_cluster_service_proto_rawDescGZIP(), []int{3}355}356357func (x *RegistrationHints) GetPerfereability() Preferability {358if x != nil {359return x.Perfereability360}361return Preferability_None362}363364func (x *RegistrationHints) GetCordoned() bool {365if x != nil {366return x.Cordoned367}368return false369}370371type AdmissionConstraint struct {372state protoimpl.MessageState373sizeCache protoimpl.SizeCache374unknownFields protoimpl.UnknownFields375376// Types that are assignable to Constraint:377//378// *AdmissionConstraint_HasFeaturePreview379// *AdmissionConstraint_HasPermission_380Constraint isAdmissionConstraint_Constraint `protobuf_oneof:"constraint"`381}382383func (x *AdmissionConstraint) Reset() {384*x = AdmissionConstraint{}385if protoimpl.UnsafeEnabled {386mi := &file_cluster_service_proto_msgTypes[4]387ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))388ms.StoreMessageInfo(mi)389}390}391392func (x *AdmissionConstraint) String() string {393return protoimpl.X.MessageStringOf(x)394}395396func (*AdmissionConstraint) ProtoMessage() {}397398func (x *AdmissionConstraint) ProtoReflect() protoreflect.Message {399mi := &file_cluster_service_proto_msgTypes[4]400if protoimpl.UnsafeEnabled && x != nil {401ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))402if ms.LoadMessageInfo() == nil {403ms.StoreMessageInfo(mi)404}405return ms406}407return mi.MessageOf(x)408}409410// Deprecated: Use AdmissionConstraint.ProtoReflect.Descriptor instead.411func (*AdmissionConstraint) Descriptor() ([]byte, []int) {412return file_cluster_service_proto_rawDescGZIP(), []int{4}413}414415func (m *AdmissionConstraint) GetConstraint() isAdmissionConstraint_Constraint {416if m != nil {417return m.Constraint418}419return nil420}421422func (x *AdmissionConstraint) GetHasFeaturePreview() *AdmissionConstraint_FeaturePreview {423if x, ok := x.GetConstraint().(*AdmissionConstraint_HasFeaturePreview); ok {424return x.HasFeaturePreview425}426return nil427}428429func (x *AdmissionConstraint) GetHasPermission() *AdmissionConstraint_HasPermission {430if x, ok := x.GetConstraint().(*AdmissionConstraint_HasPermission_); ok {431return x.HasPermission432}433return nil434}435436type isAdmissionConstraint_Constraint interface {437isAdmissionConstraint_Constraint()438}439440type AdmissionConstraint_HasFeaturePreview struct {441HasFeaturePreview *AdmissionConstraint_FeaturePreview `protobuf:"bytes,1,opt,name=has_feature_preview,json=hasFeaturePreview,proto3,oneof"`442}443444type AdmissionConstraint_HasPermission_ struct {445HasPermission *AdmissionConstraint_HasPermission `protobuf:"bytes,2,opt,name=has_permission,json=hasPermission,proto3,oneof"`446}447448func (*AdmissionConstraint_HasFeaturePreview) isAdmissionConstraint_Constraint() {}449450func (*AdmissionConstraint_HasPermission_) isAdmissionConstraint_Constraint() {}451452type ClusterStatus struct {453state protoimpl.MessageState454sizeCache protoimpl.SizeCache455unknownFields protoimpl.UnknownFields456457Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`458Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`459State ClusterState `protobuf:"varint,3,opt,name=state,proto3,enum=workspacemanagerbridge.ClusterState" json:"state,omitempty"`460Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"`461MaxScore int32 `protobuf:"varint,5,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"`462Governed bool `protobuf:"varint,6,opt,name=governed,proto3" json:"governed,omitempty"`463AdmissionConstraint []*AdmissionConstraint `protobuf:"bytes,7,rep,name=admission_constraint,json=admissionConstraint,proto3" json:"admission_constraint,omitempty"`464Static bool `protobuf:"varint,8,opt,name=static,proto3" json:"static,omitempty"`465// The region in which this cluster runs466Region string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"`467}468469func (x *ClusterStatus) Reset() {470*x = ClusterStatus{}471if protoimpl.UnsafeEnabled {472mi := &file_cluster_service_proto_msgTypes[5]473ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))474ms.StoreMessageInfo(mi)475}476}477478func (x *ClusterStatus) String() string {479return protoimpl.X.MessageStringOf(x)480}481482func (*ClusterStatus) ProtoMessage() {}483484func (x *ClusterStatus) ProtoReflect() protoreflect.Message {485mi := &file_cluster_service_proto_msgTypes[5]486if protoimpl.UnsafeEnabled && x != nil {487ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))488if ms.LoadMessageInfo() == nil {489ms.StoreMessageInfo(mi)490}491return ms492}493return mi.MessageOf(x)494}495496// Deprecated: Use ClusterStatus.ProtoReflect.Descriptor instead.497func (*ClusterStatus) Descriptor() ([]byte, []int) {498return file_cluster_service_proto_rawDescGZIP(), []int{5}499}500501func (x *ClusterStatus) GetName() string {502if x != nil {503return x.Name504}505return ""506}507508func (x *ClusterStatus) GetUrl() string {509if x != nil {510return x.Url511}512return ""513}514515func (x *ClusterStatus) GetState() ClusterState {516if x != nil {517return x.State518}519return ClusterState_UNKNOWN520}521522func (x *ClusterStatus) GetScore() int32 {523if x != nil {524return x.Score525}526return 0527}528529func (x *ClusterStatus) GetMaxScore() int32 {530if x != nil {531return x.MaxScore532}533return 0534}535536func (x *ClusterStatus) GetGoverned() bool {537if x != nil {538return x.Governed539}540return false541}542543func (x *ClusterStatus) GetAdmissionConstraint() []*AdmissionConstraint {544if x != nil {545return x.AdmissionConstraint546}547return nil548}549550func (x *ClusterStatus) GetStatic() bool {551if x != nil {552return x.Static553}554return false555}556557func (x *ClusterStatus) GetRegion() string {558if x != nil {559return x.Region560}561return ""562}563564type UpdateRequest struct {565state protoimpl.MessageState566sizeCache protoimpl.SizeCache567unknownFields protoimpl.UnknownFields568569Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`570// Types that are assignable to Property:571//572// *UpdateRequest_Score573// *UpdateRequest_MaxScore574// *UpdateRequest_Cordoned575// *UpdateRequest_AdmissionConstraint576// *UpdateRequest_Tls577Property isUpdateRequest_Property `protobuf_oneof:"property"`578}579580func (x *UpdateRequest) Reset() {581*x = UpdateRequest{}582if protoimpl.UnsafeEnabled {583mi := &file_cluster_service_proto_msgTypes[6]584ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))585ms.StoreMessageInfo(mi)586}587}588589func (x *UpdateRequest) String() string {590return protoimpl.X.MessageStringOf(x)591}592593func (*UpdateRequest) ProtoMessage() {}594595func (x *UpdateRequest) ProtoReflect() protoreflect.Message {596mi := &file_cluster_service_proto_msgTypes[6]597if protoimpl.UnsafeEnabled && x != nil {598ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))599if ms.LoadMessageInfo() == nil {600ms.StoreMessageInfo(mi)601}602return ms603}604return mi.MessageOf(x)605}606607// Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.608func (*UpdateRequest) Descriptor() ([]byte, []int) {609return file_cluster_service_proto_rawDescGZIP(), []int{6}610}611612func (x *UpdateRequest) GetName() string {613if x != nil {614return x.Name615}616return ""617}618619func (m *UpdateRequest) GetProperty() isUpdateRequest_Property {620if m != nil {621return m.Property622}623return nil624}625626func (x *UpdateRequest) GetScore() int32 {627if x, ok := x.GetProperty().(*UpdateRequest_Score); ok {628return x.Score629}630return 0631}632633func (x *UpdateRequest) GetMaxScore() int32 {634if x, ok := x.GetProperty().(*UpdateRequest_MaxScore); ok {635return x.MaxScore636}637return 0638}639640func (x *UpdateRequest) GetCordoned() bool {641if x, ok := x.GetProperty().(*UpdateRequest_Cordoned); ok {642return x.Cordoned643}644return false645}646647func (x *UpdateRequest) GetAdmissionConstraint() *ModifyAdmissionConstraint {648if x, ok := x.GetProperty().(*UpdateRequest_AdmissionConstraint); ok {649return x.AdmissionConstraint650}651return nil652}653654func (x *UpdateRequest) GetTls() *TlsConfig {655if x, ok := x.GetProperty().(*UpdateRequest_Tls); ok {656return x.Tls657}658return nil659}660661type isUpdateRequest_Property interface {662isUpdateRequest_Property()663}664665type UpdateRequest_Score struct {666Score int32 `protobuf:"varint,2,opt,name=score,proto3,oneof"`667}668669type UpdateRequest_MaxScore struct {670MaxScore int32 `protobuf:"varint,3,opt,name=max_score,json=maxScore,proto3,oneof"`671}672673type UpdateRequest_Cordoned struct {674Cordoned bool `protobuf:"varint,4,opt,name=cordoned,proto3,oneof"`675}676677type UpdateRequest_AdmissionConstraint struct {678AdmissionConstraint *ModifyAdmissionConstraint `protobuf:"bytes,5,opt,name=admission_constraint,json=admissionConstraint,proto3,oneof"`679}680681type UpdateRequest_Tls struct {682Tls *TlsConfig `protobuf:"bytes,7,opt,name=tls,proto3,oneof"`683}684685func (*UpdateRequest_Score) isUpdateRequest_Property() {}686687func (*UpdateRequest_MaxScore) isUpdateRequest_Property() {}688689func (*UpdateRequest_Cordoned) isUpdateRequest_Property() {}690691func (*UpdateRequest_AdmissionConstraint) isUpdateRequest_Property() {}692693func (*UpdateRequest_Tls) isUpdateRequest_Property() {}694695type ModifyAdmissionConstraint struct {696state protoimpl.MessageState697sizeCache protoimpl.SizeCache698unknownFields protoimpl.UnknownFields699700Add bool `protobuf:"varint,1,opt,name=add,proto3" json:"add,omitempty"`701Constraint *AdmissionConstraint `protobuf:"bytes,2,opt,name=constraint,proto3" json:"constraint,omitempty"`702}703704func (x *ModifyAdmissionConstraint) Reset() {705*x = ModifyAdmissionConstraint{}706if protoimpl.UnsafeEnabled {707mi := &file_cluster_service_proto_msgTypes[7]708ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))709ms.StoreMessageInfo(mi)710}711}712713func (x *ModifyAdmissionConstraint) String() string {714return protoimpl.X.MessageStringOf(x)715}716717func (*ModifyAdmissionConstraint) ProtoMessage() {}718719func (x *ModifyAdmissionConstraint) ProtoReflect() protoreflect.Message {720mi := &file_cluster_service_proto_msgTypes[7]721if protoimpl.UnsafeEnabled && x != nil {722ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))723if ms.LoadMessageInfo() == nil {724ms.StoreMessageInfo(mi)725}726return ms727}728return mi.MessageOf(x)729}730731// Deprecated: Use ModifyAdmissionConstraint.ProtoReflect.Descriptor instead.732func (*ModifyAdmissionConstraint) Descriptor() ([]byte, []int) {733return file_cluster_service_proto_rawDescGZIP(), []int{7}734}735736func (x *ModifyAdmissionConstraint) GetAdd() bool {737if x != nil {738return x.Add739}740return false741}742743func (x *ModifyAdmissionConstraint) GetConstraint() *AdmissionConstraint {744if x != nil {745return x.Constraint746}747return nil748}749750type UpdateResponse struct {751state protoimpl.MessageState752sizeCache protoimpl.SizeCache753unknownFields protoimpl.UnknownFields754}755756func (x *UpdateResponse) Reset() {757*x = UpdateResponse{}758if protoimpl.UnsafeEnabled {759mi := &file_cluster_service_proto_msgTypes[8]760ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))761ms.StoreMessageInfo(mi)762}763}764765func (x *UpdateResponse) String() string {766return protoimpl.X.MessageStringOf(x)767}768769func (*UpdateResponse) ProtoMessage() {}770771func (x *UpdateResponse) ProtoReflect() protoreflect.Message {772mi := &file_cluster_service_proto_msgTypes[8]773if protoimpl.UnsafeEnabled && x != nil {774ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))775if ms.LoadMessageInfo() == nil {776ms.StoreMessageInfo(mi)777}778return ms779}780return mi.MessageOf(x)781}782783// Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.784func (*UpdateResponse) Descriptor() ([]byte, []int) {785return file_cluster_service_proto_rawDescGZIP(), []int{8}786}787788type DeregisterRequest struct {789state protoimpl.MessageState790sizeCache protoimpl.SizeCache791unknownFields protoimpl.UnknownFields792793// name is the name of the WorkspaceCluster to deregister794Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`795// force causes the cluster to be deregistered even if there are796// intances still running on the cluster.797Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`798}799800func (x *DeregisterRequest) Reset() {801*x = DeregisterRequest{}802if protoimpl.UnsafeEnabled {803mi := &file_cluster_service_proto_msgTypes[9]804ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))805ms.StoreMessageInfo(mi)806}807}808809func (x *DeregisterRequest) String() string {810return protoimpl.X.MessageStringOf(x)811}812813func (*DeregisterRequest) ProtoMessage() {}814815func (x *DeregisterRequest) ProtoReflect() protoreflect.Message {816mi := &file_cluster_service_proto_msgTypes[9]817if protoimpl.UnsafeEnabled && x != nil {818ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))819if ms.LoadMessageInfo() == nil {820ms.StoreMessageInfo(mi)821}822return ms823}824return mi.MessageOf(x)825}826827// Deprecated: Use DeregisterRequest.ProtoReflect.Descriptor instead.828func (*DeregisterRequest) Descriptor() ([]byte, []int) {829return file_cluster_service_proto_rawDescGZIP(), []int{9}830}831832func (x *DeregisterRequest) GetName() string {833if x != nil {834return x.Name835}836return ""837}838839func (x *DeregisterRequest) GetForce() bool {840if x != nil {841return x.Force842}843return false844}845846type DeregisterResponse struct {847state protoimpl.MessageState848sizeCache protoimpl.SizeCache849unknownFields protoimpl.UnknownFields850}851852func (x *DeregisterResponse) Reset() {853*x = DeregisterResponse{}854if protoimpl.UnsafeEnabled {855mi := &file_cluster_service_proto_msgTypes[10]856ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))857ms.StoreMessageInfo(mi)858}859}860861func (x *DeregisterResponse) String() string {862return protoimpl.X.MessageStringOf(x)863}864865func (*DeregisterResponse) ProtoMessage() {}866867func (x *DeregisterResponse) ProtoReflect() protoreflect.Message {868mi := &file_cluster_service_proto_msgTypes[10]869if protoimpl.UnsafeEnabled && x != nil {870ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))871if ms.LoadMessageInfo() == nil {872ms.StoreMessageInfo(mi)873}874return ms875}876return mi.MessageOf(x)877}878879// Deprecated: Use DeregisterResponse.ProtoReflect.Descriptor instead.880func (*DeregisterResponse) Descriptor() ([]byte, []int) {881return file_cluster_service_proto_rawDescGZIP(), []int{10}882}883884type ListRequest struct {885state protoimpl.MessageState886sizeCache protoimpl.SizeCache887unknownFields protoimpl.UnknownFields888}889890func (x *ListRequest) Reset() {891*x = ListRequest{}892if protoimpl.UnsafeEnabled {893mi := &file_cluster_service_proto_msgTypes[11]894ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))895ms.StoreMessageInfo(mi)896}897}898899func (x *ListRequest) String() string {900return protoimpl.X.MessageStringOf(x)901}902903func (*ListRequest) ProtoMessage() {}904905func (x *ListRequest) ProtoReflect() protoreflect.Message {906mi := &file_cluster_service_proto_msgTypes[11]907if protoimpl.UnsafeEnabled && x != nil {908ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))909if ms.LoadMessageInfo() == nil {910ms.StoreMessageInfo(mi)911}912return ms913}914return mi.MessageOf(x)915}916917// Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.918func (*ListRequest) Descriptor() ([]byte, []int) {919return file_cluster_service_proto_rawDescGZIP(), []int{11}920}921922type ListResponse struct {923state protoimpl.MessageState924sizeCache protoimpl.SizeCache925unknownFields protoimpl.UnknownFields926927Status []*ClusterStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`928}929930func (x *ListResponse) Reset() {931*x = ListResponse{}932if protoimpl.UnsafeEnabled {933mi := &file_cluster_service_proto_msgTypes[12]934ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))935ms.StoreMessageInfo(mi)936}937}938939func (x *ListResponse) String() string {940return protoimpl.X.MessageStringOf(x)941}942943func (*ListResponse) ProtoMessage() {}944945func (x *ListResponse) ProtoReflect() protoreflect.Message {946mi := &file_cluster_service_proto_msgTypes[12]947if protoimpl.UnsafeEnabled && x != nil {948ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))949if ms.LoadMessageInfo() == nil {950ms.StoreMessageInfo(mi)951}952return ms953}954return mi.MessageOf(x)955}956957// Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.958func (*ListResponse) Descriptor() ([]byte, []int) {959return file_cluster_service_proto_rawDescGZIP(), []int{12}960}961962func (x *ListResponse) GetStatus() []*ClusterStatus {963if x != nil {964return x.Status965}966return nil967}968969type AdmissionConstraint_FeaturePreview struct {970state protoimpl.MessageState971sizeCache protoimpl.SizeCache972unknownFields protoimpl.UnknownFields973}974975func (x *AdmissionConstraint_FeaturePreview) Reset() {976*x = AdmissionConstraint_FeaturePreview{}977if protoimpl.UnsafeEnabled {978mi := &file_cluster_service_proto_msgTypes[13]979ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))980ms.StoreMessageInfo(mi)981}982}983984func (x *AdmissionConstraint_FeaturePreview) String() string {985return protoimpl.X.MessageStringOf(x)986}987988func (*AdmissionConstraint_FeaturePreview) ProtoMessage() {}989990func (x *AdmissionConstraint_FeaturePreview) ProtoReflect() protoreflect.Message {991mi := &file_cluster_service_proto_msgTypes[13]992if protoimpl.UnsafeEnabled && x != nil {993ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))994if ms.LoadMessageInfo() == nil {995ms.StoreMessageInfo(mi)996}997return ms998}999return mi.MessageOf(x)1000}10011002// Deprecated: Use AdmissionConstraint_FeaturePreview.ProtoReflect.Descriptor instead.1003func (*AdmissionConstraint_FeaturePreview) Descriptor() ([]byte, []int) {1004return file_cluster_service_proto_rawDescGZIP(), []int{4, 0}1005}10061007type AdmissionConstraint_HasPermission struct {1008state protoimpl.MessageState1009sizeCache protoimpl.SizeCache1010unknownFields protoimpl.UnknownFields10111012Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"`1013}10141015func (x *AdmissionConstraint_HasPermission) Reset() {1016*x = AdmissionConstraint_HasPermission{}1017if protoimpl.UnsafeEnabled {1018mi := &file_cluster_service_proto_msgTypes[14]1019ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1020ms.StoreMessageInfo(mi)1021}1022}10231024func (x *AdmissionConstraint_HasPermission) String() string {1025return protoimpl.X.MessageStringOf(x)1026}10271028func (*AdmissionConstraint_HasPermission) ProtoMessage() {}10291030func (x *AdmissionConstraint_HasPermission) ProtoReflect() protoreflect.Message {1031mi := &file_cluster_service_proto_msgTypes[14]1032if protoimpl.UnsafeEnabled && x != nil {1033ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1034if ms.LoadMessageInfo() == nil {1035ms.StoreMessageInfo(mi)1036}1037return ms1038}1039return mi.MessageOf(x)1040}10411042// Deprecated: Use AdmissionConstraint_HasPermission.ProtoReflect.Descriptor instead.1043func (*AdmissionConstraint_HasPermission) Descriptor() ([]byte, []int) {1044return file_cluster_service_proto_rawDescGZIP(), []int{4, 1}1045}10461047func (x *AdmissionConstraint_HasPermission) GetPermission() string {1048if x != nil {1049return x.Permission1050}1051return ""1052}10531054var File_cluster_service_proto protoreflect.FileDescriptor10551056var file_cluster_service_proto_rawDesc = []byte{10570x0a, 0x15, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,10580x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,10590x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x22,10600xad, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,10610x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,10620x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02,10630x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x33, 0x0a, 0x03, 0x74, 0x6c, 0x73,10640x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,10650x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e,10660x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, 0x3f,10670x0a, 0x05, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,10680x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,10690x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74,10700x69, 0x6f, 0x6e, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x05, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x12,10710x60, 0x0a, 0x15, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e,10720x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b,10730x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,10740x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,10750x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x14, 0x61, 0x64, 0x6d,10760x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,10770x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28,10780x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22,10790x12, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,10800x6e, 0x73, 0x65, 0x22, 0x3f, 0x0a, 0x09, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,10810x12, 0x0e, 0x0a, 0x02, 0x63, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x63, 0x61,10820x12, 0x10, 0x0a, 0x03, 0x63, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63,10830x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,10840x03, 0x6b, 0x65, 0x79, 0x22, 0x84, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,10850x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x4d, 0x0a, 0x0e, 0x70, 0x65,10860x72, 0x66, 0x65, 0x72, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01,10870x28, 0x0e, 0x32, 0x25, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61,10880x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x50, 0x72, 0x65, 0x66,10890x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x66, 0x65,10900x72, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x72,10910x64, 0x6f, 0x6e, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x72,10920x64, 0x6f, 0x6e, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xb8, 0x02, 0x0a, 0x13,10930x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,10940x69, 0x6e, 0x74, 0x12, 0x6c, 0x0a, 0x13, 0x68, 0x61, 0x73, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75,10950x72, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,10960x32, 0x3a, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,10970x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73,10980x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x46, 0x65,10990x61, 0x74, 0x75, 0x72, 0x65, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x48, 0x00, 0x52, 0x11,11000x68, 0x61, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,11010x77, 0x12, 0x62, 0x0a, 0x0e, 0x68, 0x61, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,11020x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x77, 0x6f, 0x72, 0x6b,11030x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64,11040x67, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73,11050x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x48, 0x61, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,11060x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x68, 0x61, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69,11070x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x10, 0x0a, 0x0e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,11080x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x1a, 0x2f, 0x0a, 0x0d, 0x48, 0x61, 0x73, 0x50, 0x65,11090x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d,11100x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65,11110x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73,11120x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0xdc, 0x02, 0x0a, 0x0d, 0x43, 0x6c, 0x75, 0x73, 0x74,11130x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,11140x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03,11150x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3a,11160x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,11170x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,11180x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74,11190x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63,11200x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65,11210x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20,11220x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1a, 0x0a,11230x08, 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,11240x08, 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x65, 0x64, 0x12, 0x5e, 0x0a, 0x14, 0x61, 0x64, 0x6d,11250x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,11260x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,11270x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65,11280x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,11290x61, 0x69, 0x6e, 0x74, 0x52, 0x13, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43,11300x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61,11310x74, 0x69, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x69,11320x63, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28,11330x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x4a,11340x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0xa3, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,11350x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,11360x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x73,11370x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x05, 0x73, 0x63,11380x6f, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65,11390x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f,11400x72, 0x65, 0x12, 0x1c, 0x0a, 0x08, 0x63, 0x6f, 0x72, 0x64, 0x6f, 0x6e, 0x65, 0x64, 0x18, 0x04,11410x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x72, 0x64, 0x6f, 0x6e, 0x65, 0x64,11420x12, 0x66, 0x0a, 0x14, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,11430x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31,11440x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,11450x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x64,11460x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,11470x74, 0x48, 0x00, 0x52, 0x13, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,11480x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18,11490x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,11500x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x54,11510x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x42,11520x0a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x22, 0x7a, 0x0a, 0x19, 0x4d,11530x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,11540x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x64, 0x64, 0x18,11550x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x64, 0x64, 0x12, 0x4b, 0x0a, 0x0a, 0x63, 0x6f,11560x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b,11570x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,11580x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,11590x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x63, 0x6f, 0x6e,11600x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74,11610x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x0a, 0x11, 0x44, 0x65, 0x72,11620x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,11630x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,11640x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,11650x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x72, 0x65,11660x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0d,11670x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4d, 0x0a,11680x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a,11690x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,11700x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,11710x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74,11720x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x37, 0x0a, 0x0d,11730x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x08, 0x0a,11740x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x72, 0x65, 0x66, 0x65,11750x72, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x6f, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64,11760x75, 0x6c, 0x65, 0x10, 0x02, 0x2a, 0x46, 0x0a, 0x0c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,11770x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,11780x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10,11790x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x52, 0x44, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12,11800x0c, 0x0a, 0x08, 0x44, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x32, 0x88, 0x03,11810x0a, 0x0e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,11820x12, 0x5f, 0x0a, 0x08, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x77,11830x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62,11840x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,11850x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,11860x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x52,11870x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,11880x00, 0x12, 0x59, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x77, 0x6f,11890x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72,11900x69, 0x64, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,11910x73, 0x74, 0x1a, 0x26, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61,11920x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61,11930x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0a,11940x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x77, 0x6f, 0x72,11950x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69,11960x64, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,11970x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,11980x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x44,11990x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,12000x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x77, 0x6f,12010x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72,12020x69, 0x64, 0x67, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,12030x1a, 0x24, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,12040x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,12050x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68,12060x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f,12070x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,12080x65, 0x2d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2d, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65,12090x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,1210}12111212var (1213file_cluster_service_proto_rawDescOnce sync.Once1214file_cluster_service_proto_rawDescData = file_cluster_service_proto_rawDesc1215)12161217func file_cluster_service_proto_rawDescGZIP() []byte {1218file_cluster_service_proto_rawDescOnce.Do(func() {1219file_cluster_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_cluster_service_proto_rawDescData)1220})1221return file_cluster_service_proto_rawDescData1222}12231224var file_cluster_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)1225var file_cluster_service_proto_msgTypes = make([]protoimpl.MessageInfo, 15)1226var file_cluster_service_proto_goTypes = []interface{}{1227(Preferability)(0), // 0: workspacemanagerbridge.Preferability1228(ClusterState)(0), // 1: workspacemanagerbridge.ClusterState1229(*RegisterRequest)(nil), // 2: workspacemanagerbridge.RegisterRequest1230(*RegisterResponse)(nil), // 3: workspacemanagerbridge.RegisterResponse1231(*TlsConfig)(nil), // 4: workspacemanagerbridge.TlsConfig1232(*RegistrationHints)(nil), // 5: workspacemanagerbridge.RegistrationHints1233(*AdmissionConstraint)(nil), // 6: workspacemanagerbridge.AdmissionConstraint1234(*ClusterStatus)(nil), // 7: workspacemanagerbridge.ClusterStatus1235(*UpdateRequest)(nil), // 8: workspacemanagerbridge.UpdateRequest1236(*ModifyAdmissionConstraint)(nil), // 9: workspacemanagerbridge.ModifyAdmissionConstraint1237(*UpdateResponse)(nil), // 10: workspacemanagerbridge.UpdateResponse1238(*DeregisterRequest)(nil), // 11: workspacemanagerbridge.DeregisterRequest1239(*DeregisterResponse)(nil), // 12: workspacemanagerbridge.DeregisterResponse1240(*ListRequest)(nil), // 13: workspacemanagerbridge.ListRequest1241(*ListResponse)(nil), // 14: workspacemanagerbridge.ListResponse1242(*AdmissionConstraint_FeaturePreview)(nil), // 15: workspacemanagerbridge.AdmissionConstraint.FeaturePreview1243(*AdmissionConstraint_HasPermission)(nil), // 16: workspacemanagerbridge.AdmissionConstraint.HasPermission1244}1245var file_cluster_service_proto_depIdxs = []int32{12464, // 0: workspacemanagerbridge.RegisterRequest.tls:type_name -> workspacemanagerbridge.TlsConfig12475, // 1: workspacemanagerbridge.RegisterRequest.hints:type_name -> workspacemanagerbridge.RegistrationHints12486, // 2: workspacemanagerbridge.RegisterRequest.admission_constraints:type_name -> workspacemanagerbridge.AdmissionConstraint12490, // 3: workspacemanagerbridge.RegistrationHints.perfereability:type_name -> workspacemanagerbridge.Preferability125015, // 4: workspacemanagerbridge.AdmissionConstraint.has_feature_preview:type_name -> workspacemanagerbridge.AdmissionConstraint.FeaturePreview125116, // 5: workspacemanagerbridge.AdmissionConstraint.has_permission:type_name -> workspacemanagerbridge.AdmissionConstraint.HasPermission12521, // 6: workspacemanagerbridge.ClusterStatus.state:type_name -> workspacemanagerbridge.ClusterState12536, // 7: workspacemanagerbridge.ClusterStatus.admission_constraint:type_name -> workspacemanagerbridge.AdmissionConstraint12549, // 8: workspacemanagerbridge.UpdateRequest.admission_constraint:type_name -> workspacemanagerbridge.ModifyAdmissionConstraint12554, // 9: workspacemanagerbridge.UpdateRequest.tls:type_name -> workspacemanagerbridge.TlsConfig12566, // 10: workspacemanagerbridge.ModifyAdmissionConstraint.constraint:type_name -> workspacemanagerbridge.AdmissionConstraint12577, // 11: workspacemanagerbridge.ListResponse.status:type_name -> workspacemanagerbridge.ClusterStatus12582, // 12: workspacemanagerbridge.ClusterService.Register:input_type -> workspacemanagerbridge.RegisterRequest12598, // 13: workspacemanagerbridge.ClusterService.Update:input_type -> workspacemanagerbridge.UpdateRequest126011, // 14: workspacemanagerbridge.ClusterService.Deregister:input_type -> workspacemanagerbridge.DeregisterRequest126113, // 15: workspacemanagerbridge.ClusterService.List:input_type -> workspacemanagerbridge.ListRequest12623, // 16: workspacemanagerbridge.ClusterService.Register:output_type -> workspacemanagerbridge.RegisterResponse126310, // 17: workspacemanagerbridge.ClusterService.Update:output_type -> workspacemanagerbridge.UpdateResponse126412, // 18: workspacemanagerbridge.ClusterService.Deregister:output_type -> workspacemanagerbridge.DeregisterResponse126514, // 19: workspacemanagerbridge.ClusterService.List:output_type -> workspacemanagerbridge.ListResponse126616, // [16:20] is the sub-list for method output_type126712, // [12:16] is the sub-list for method input_type126812, // [12:12] is the sub-list for extension type_name126912, // [12:12] is the sub-list for extension extendee12700, // [0:12] is the sub-list for field type_name1271}12721273func init() { file_cluster_service_proto_init() }1274func file_cluster_service_proto_init() {1275if File_cluster_service_proto != nil {1276return1277}1278if !protoimpl.UnsafeEnabled {1279file_cluster_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {1280switch v := v.(*RegisterRequest); i {1281case 0:1282return &v.state1283case 1:1284return &v.sizeCache1285case 2:1286return &v.unknownFields1287default:1288return nil1289}1290}1291file_cluster_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {1292switch v := v.(*RegisterResponse); i {1293case 0:1294return &v.state1295case 1:1296return &v.sizeCache1297case 2:1298return &v.unknownFields1299default:1300return nil1301}1302}1303file_cluster_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {1304switch v := v.(*TlsConfig); i {1305case 0:1306return &v.state1307case 1:1308return &v.sizeCache1309case 2:1310return &v.unknownFields1311default:1312return nil1313}1314}1315file_cluster_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {1316switch v := v.(*RegistrationHints); i {1317case 0:1318return &v.state1319case 1:1320return &v.sizeCache1321case 2:1322return &v.unknownFields1323default:1324return nil1325}1326}1327file_cluster_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {1328switch v := v.(*AdmissionConstraint); i {1329case 0:1330return &v.state1331case 1:1332return &v.sizeCache1333case 2:1334return &v.unknownFields1335default:1336return nil1337}1338}1339file_cluster_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {1340switch v := v.(*ClusterStatus); i {1341case 0:1342return &v.state1343case 1:1344return &v.sizeCache1345case 2:1346return &v.unknownFields1347default:1348return nil1349}1350}1351file_cluster_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {1352switch v := v.(*UpdateRequest); i {1353case 0:1354return &v.state1355case 1:1356return &v.sizeCache1357case 2:1358return &v.unknownFields1359default:1360return nil1361}1362}1363file_cluster_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {1364switch v := v.(*ModifyAdmissionConstraint); i {1365case 0:1366return &v.state1367case 1:1368return &v.sizeCache1369case 2:1370return &v.unknownFields1371default:1372return nil1373}1374}1375file_cluster_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {1376switch v := v.(*UpdateResponse); i {1377case 0:1378return &v.state1379case 1:1380return &v.sizeCache1381case 2:1382return &v.unknownFields1383default:1384return nil1385}1386}1387file_cluster_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {1388switch v := v.(*DeregisterRequest); i {1389case 0:1390return &v.state1391case 1:1392return &v.sizeCache1393case 2:1394return &v.unknownFields1395default:1396return nil1397}1398}1399file_cluster_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {1400switch v := v.(*DeregisterResponse); i {1401case 0:1402return &v.state1403case 1:1404return &v.sizeCache1405case 2:1406return &v.unknownFields1407default:1408return nil1409}1410}1411file_cluster_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {1412switch v := v.(*ListRequest); i {1413case 0:1414return &v.state1415case 1:1416return &v.sizeCache1417case 2:1418return &v.unknownFields1419default:1420return nil1421}1422}1423file_cluster_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {1424switch v := v.(*ListResponse); i {1425case 0:1426return &v.state1427case 1:1428return &v.sizeCache1429case 2:1430return &v.unknownFields1431default:1432return nil1433}1434}1435file_cluster_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {1436switch v := v.(*AdmissionConstraint_FeaturePreview); i {1437case 0:1438return &v.state1439case 1:1440return &v.sizeCache1441case 2:1442return &v.unknownFields1443default:1444return nil1445}1446}1447file_cluster_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {1448switch v := v.(*AdmissionConstraint_HasPermission); i {1449case 0:1450return &v.state1451case 1:1452return &v.sizeCache1453case 2:1454return &v.unknownFields1455default:1456return nil1457}1458}1459}1460file_cluster_service_proto_msgTypes[4].OneofWrappers = []interface{}{1461(*AdmissionConstraint_HasFeaturePreview)(nil),1462(*AdmissionConstraint_HasPermission_)(nil),1463}1464file_cluster_service_proto_msgTypes[6].OneofWrappers = []interface{}{1465(*UpdateRequest_Score)(nil),1466(*UpdateRequest_MaxScore)(nil),1467(*UpdateRequest_Cordoned)(nil),1468(*UpdateRequest_AdmissionConstraint)(nil),1469(*UpdateRequest_Tls)(nil),1470}1471type x struct{}1472out := protoimpl.TypeBuilder{1473File: protoimpl.DescBuilder{1474GoPackagePath: reflect.TypeOf(x{}).PkgPath(),1475RawDescriptor: file_cluster_service_proto_rawDesc,1476NumEnums: 2,1477NumMessages: 15,1478NumExtensions: 0,1479NumServices: 1,1480},1481GoTypes: file_cluster_service_proto_goTypes,1482DependencyIndexes: file_cluster_service_proto_depIdxs,1483EnumInfos: file_cluster_service_proto_enumTypes,1484MessageInfos: file_cluster_service_proto_msgTypes,1485}.Build()1486File_cluster_service_proto = out.File1487file_cluster_service_proto_rawDesc = nil1488file_cluster_service_proto_goTypes = nil1489file_cluster_service_proto_depIdxs = nil1490}149114921493