Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-manager-bridge-api/go/cluster-service.pb.go
2498 views
1
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc (unknown)
9
// source: cluster-service.proto
10
11
package api
12
13
import (
14
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16
reflect "reflect"
17
sync "sync"
18
)
19
20
const (
21
// Verify that this generated code is sufficiently up-to-date.
22
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23
// Verify that runtime/protoimpl is sufficiently up-to-date.
24
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25
)
26
27
type Preferability int32
28
29
const (
30
Preferability_None Preferability = 0
31
Preferability_Prefer Preferability = 1
32
Preferability_DontSchedule Preferability = 2
33
)
34
35
// Enum value maps for Preferability.
36
var (
37
Preferability_name = map[int32]string{
38
0: "None",
39
1: "Prefer",
40
2: "DontSchedule",
41
}
42
Preferability_value = map[string]int32{
43
"None": 0,
44
"Prefer": 1,
45
"DontSchedule": 2,
46
}
47
)
48
49
func (x Preferability) Enum() *Preferability {
50
p := new(Preferability)
51
*p = x
52
return p
53
}
54
55
func (x Preferability) String() string {
56
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
57
}
58
59
func (Preferability) Descriptor() protoreflect.EnumDescriptor {
60
return file_cluster_service_proto_enumTypes[0].Descriptor()
61
}
62
63
func (Preferability) Type() protoreflect.EnumType {
64
return &file_cluster_service_proto_enumTypes[0]
65
}
66
67
func (x Preferability) Number() protoreflect.EnumNumber {
68
return protoreflect.EnumNumber(x)
69
}
70
71
// Deprecated: Use Preferability.Descriptor instead.
72
func (Preferability) EnumDescriptor() ([]byte, []int) {
73
return file_cluster_service_proto_rawDescGZIP(), []int{0}
74
}
75
76
type ClusterState int32
77
78
const (
79
ClusterState_UNKNOWN ClusterState = 0
80
ClusterState_AVAILABLE ClusterState = 1
81
ClusterState_CORDONED ClusterState = 2
82
ClusterState_DRAINING ClusterState = 3
83
)
84
85
// Enum value maps for ClusterState.
86
var (
87
ClusterState_name = map[int32]string{
88
0: "UNKNOWN",
89
1: "AVAILABLE",
90
2: "CORDONED",
91
3: "DRAINING",
92
}
93
ClusterState_value = map[string]int32{
94
"UNKNOWN": 0,
95
"AVAILABLE": 1,
96
"CORDONED": 2,
97
"DRAINING": 3,
98
}
99
)
100
101
func (x ClusterState) Enum() *ClusterState {
102
p := new(ClusterState)
103
*p = x
104
return p
105
}
106
107
func (x ClusterState) String() string {
108
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
109
}
110
111
func (ClusterState) Descriptor() protoreflect.EnumDescriptor {
112
return file_cluster_service_proto_enumTypes[1].Descriptor()
113
}
114
115
func (ClusterState) Type() protoreflect.EnumType {
116
return &file_cluster_service_proto_enumTypes[1]
117
}
118
119
func (x ClusterState) Number() protoreflect.EnumNumber {
120
return protoreflect.EnumNumber(x)
121
}
122
123
// Deprecated: Use ClusterState.Descriptor instead.
124
func (ClusterState) EnumDescriptor() ([]byte, []int) {
125
return file_cluster_service_proto_rawDescGZIP(), []int{1}
126
}
127
128
type RegisterRequest struct {
129
state protoimpl.MessageState
130
sizeCache protoimpl.SizeCache
131
unknownFields protoimpl.UnknownFields
132
133
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
134
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
135
Tls *TlsConfig `protobuf:"bytes,3,opt,name=tls,proto3" json:"tls,omitempty"`
136
Hints *RegistrationHints `protobuf:"bytes,4,opt,name=hints,proto3" json:"hints,omitempty"`
137
AdmissionConstraints []*AdmissionConstraint `protobuf:"bytes,5,rep,name=admission_constraints,json=admissionConstraints,proto3" json:"admission_constraints,omitempty"`
138
// the region this cluster is in, e.g. "europe-west1"
139
Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
140
}
141
142
func (x *RegisterRequest) Reset() {
143
*x = RegisterRequest{}
144
if protoimpl.UnsafeEnabled {
145
mi := &file_cluster_service_proto_msgTypes[0]
146
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
147
ms.StoreMessageInfo(mi)
148
}
149
}
150
151
func (x *RegisterRequest) String() string {
152
return protoimpl.X.MessageStringOf(x)
153
}
154
155
func (*RegisterRequest) ProtoMessage() {}
156
157
func (x *RegisterRequest) ProtoReflect() protoreflect.Message {
158
mi := &file_cluster_service_proto_msgTypes[0]
159
if protoimpl.UnsafeEnabled && x != nil {
160
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
161
if ms.LoadMessageInfo() == nil {
162
ms.StoreMessageInfo(mi)
163
}
164
return ms
165
}
166
return mi.MessageOf(x)
167
}
168
169
// Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
170
func (*RegisterRequest) Descriptor() ([]byte, []int) {
171
return file_cluster_service_proto_rawDescGZIP(), []int{0}
172
}
173
174
func (x *RegisterRequest) GetName() string {
175
if x != nil {
176
return x.Name
177
}
178
return ""
179
}
180
181
func (x *RegisterRequest) GetUrl() string {
182
if x != nil {
183
return x.Url
184
}
185
return ""
186
}
187
188
func (x *RegisterRequest) GetTls() *TlsConfig {
189
if x != nil {
190
return x.Tls
191
}
192
return nil
193
}
194
195
func (x *RegisterRequest) GetHints() *RegistrationHints {
196
if x != nil {
197
return x.Hints
198
}
199
return nil
200
}
201
202
func (x *RegisterRequest) GetAdmissionConstraints() []*AdmissionConstraint {
203
if x != nil {
204
return x.AdmissionConstraints
205
}
206
return nil
207
}
208
209
func (x *RegisterRequest) GetRegion() string {
210
if x != nil {
211
return x.Region
212
}
213
return ""
214
}
215
216
type RegisterResponse struct {
217
state protoimpl.MessageState
218
sizeCache protoimpl.SizeCache
219
unknownFields protoimpl.UnknownFields
220
}
221
222
func (x *RegisterResponse) Reset() {
223
*x = RegisterResponse{}
224
if protoimpl.UnsafeEnabled {
225
mi := &file_cluster_service_proto_msgTypes[1]
226
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227
ms.StoreMessageInfo(mi)
228
}
229
}
230
231
func (x *RegisterResponse) String() string {
232
return protoimpl.X.MessageStringOf(x)
233
}
234
235
func (*RegisterResponse) ProtoMessage() {}
236
237
func (x *RegisterResponse) ProtoReflect() protoreflect.Message {
238
mi := &file_cluster_service_proto_msgTypes[1]
239
if protoimpl.UnsafeEnabled && x != nil {
240
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241
if ms.LoadMessageInfo() == nil {
242
ms.StoreMessageInfo(mi)
243
}
244
return ms
245
}
246
return mi.MessageOf(x)
247
}
248
249
// Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
250
func (*RegisterResponse) Descriptor() ([]byte, []int) {
251
return file_cluster_service_proto_rawDescGZIP(), []int{1}
252
}
253
254
type TlsConfig struct {
255
state protoimpl.MessageState
256
sizeCache protoimpl.SizeCache
257
unknownFields protoimpl.UnknownFields
258
259
Ca string `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"`
260
Crt string `protobuf:"bytes,2,opt,name=crt,proto3" json:"crt,omitempty"`
261
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
262
}
263
264
func (x *TlsConfig) Reset() {
265
*x = TlsConfig{}
266
if protoimpl.UnsafeEnabled {
267
mi := &file_cluster_service_proto_msgTypes[2]
268
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
269
ms.StoreMessageInfo(mi)
270
}
271
}
272
273
func (x *TlsConfig) String() string {
274
return protoimpl.X.MessageStringOf(x)
275
}
276
277
func (*TlsConfig) ProtoMessage() {}
278
279
func (x *TlsConfig) ProtoReflect() protoreflect.Message {
280
mi := &file_cluster_service_proto_msgTypes[2]
281
if protoimpl.UnsafeEnabled && x != nil {
282
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
283
if ms.LoadMessageInfo() == nil {
284
ms.StoreMessageInfo(mi)
285
}
286
return ms
287
}
288
return mi.MessageOf(x)
289
}
290
291
// Deprecated: Use TlsConfig.ProtoReflect.Descriptor instead.
292
func (*TlsConfig) Descriptor() ([]byte, []int) {
293
return file_cluster_service_proto_rawDescGZIP(), []int{2}
294
}
295
296
func (x *TlsConfig) GetCa() string {
297
if x != nil {
298
return x.Ca
299
}
300
return ""
301
}
302
303
func (x *TlsConfig) GetCrt() string {
304
if x != nil {
305
return x.Crt
306
}
307
return ""
308
}
309
310
func (x *TlsConfig) GetKey() string {
311
if x != nil {
312
return x.Key
313
}
314
return ""
315
}
316
317
type RegistrationHints struct {
318
state protoimpl.MessageState
319
sizeCache protoimpl.SizeCache
320
unknownFields protoimpl.UnknownFields
321
322
Perfereability Preferability `protobuf:"varint,1,opt,name=perfereability,proto3,enum=workspacemanagerbridge.Preferability" json:"perfereability,omitempty"`
323
Cordoned bool `protobuf:"varint,2,opt,name=cordoned,proto3" json:"cordoned,omitempty"`
324
}
325
326
func (x *RegistrationHints) Reset() {
327
*x = RegistrationHints{}
328
if protoimpl.UnsafeEnabled {
329
mi := &file_cluster_service_proto_msgTypes[3]
330
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
331
ms.StoreMessageInfo(mi)
332
}
333
}
334
335
func (x *RegistrationHints) String() string {
336
return protoimpl.X.MessageStringOf(x)
337
}
338
339
func (*RegistrationHints) ProtoMessage() {}
340
341
func (x *RegistrationHints) ProtoReflect() protoreflect.Message {
342
mi := &file_cluster_service_proto_msgTypes[3]
343
if protoimpl.UnsafeEnabled && x != nil {
344
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
345
if ms.LoadMessageInfo() == nil {
346
ms.StoreMessageInfo(mi)
347
}
348
return ms
349
}
350
return mi.MessageOf(x)
351
}
352
353
// Deprecated: Use RegistrationHints.ProtoReflect.Descriptor instead.
354
func (*RegistrationHints) Descriptor() ([]byte, []int) {
355
return file_cluster_service_proto_rawDescGZIP(), []int{3}
356
}
357
358
func (x *RegistrationHints) GetPerfereability() Preferability {
359
if x != nil {
360
return x.Perfereability
361
}
362
return Preferability_None
363
}
364
365
func (x *RegistrationHints) GetCordoned() bool {
366
if x != nil {
367
return x.Cordoned
368
}
369
return false
370
}
371
372
type AdmissionConstraint struct {
373
state protoimpl.MessageState
374
sizeCache protoimpl.SizeCache
375
unknownFields protoimpl.UnknownFields
376
377
// Types that are assignable to Constraint:
378
//
379
// *AdmissionConstraint_HasFeaturePreview
380
// *AdmissionConstraint_HasPermission_
381
Constraint isAdmissionConstraint_Constraint `protobuf_oneof:"constraint"`
382
}
383
384
func (x *AdmissionConstraint) Reset() {
385
*x = AdmissionConstraint{}
386
if protoimpl.UnsafeEnabled {
387
mi := &file_cluster_service_proto_msgTypes[4]
388
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
389
ms.StoreMessageInfo(mi)
390
}
391
}
392
393
func (x *AdmissionConstraint) String() string {
394
return protoimpl.X.MessageStringOf(x)
395
}
396
397
func (*AdmissionConstraint) ProtoMessage() {}
398
399
func (x *AdmissionConstraint) ProtoReflect() protoreflect.Message {
400
mi := &file_cluster_service_proto_msgTypes[4]
401
if protoimpl.UnsafeEnabled && x != nil {
402
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
403
if ms.LoadMessageInfo() == nil {
404
ms.StoreMessageInfo(mi)
405
}
406
return ms
407
}
408
return mi.MessageOf(x)
409
}
410
411
// Deprecated: Use AdmissionConstraint.ProtoReflect.Descriptor instead.
412
func (*AdmissionConstraint) Descriptor() ([]byte, []int) {
413
return file_cluster_service_proto_rawDescGZIP(), []int{4}
414
}
415
416
func (m *AdmissionConstraint) GetConstraint() isAdmissionConstraint_Constraint {
417
if m != nil {
418
return m.Constraint
419
}
420
return nil
421
}
422
423
func (x *AdmissionConstraint) GetHasFeaturePreview() *AdmissionConstraint_FeaturePreview {
424
if x, ok := x.GetConstraint().(*AdmissionConstraint_HasFeaturePreview); ok {
425
return x.HasFeaturePreview
426
}
427
return nil
428
}
429
430
func (x *AdmissionConstraint) GetHasPermission() *AdmissionConstraint_HasPermission {
431
if x, ok := x.GetConstraint().(*AdmissionConstraint_HasPermission_); ok {
432
return x.HasPermission
433
}
434
return nil
435
}
436
437
type isAdmissionConstraint_Constraint interface {
438
isAdmissionConstraint_Constraint()
439
}
440
441
type AdmissionConstraint_HasFeaturePreview struct {
442
HasFeaturePreview *AdmissionConstraint_FeaturePreview `protobuf:"bytes,1,opt,name=has_feature_preview,json=hasFeaturePreview,proto3,oneof"`
443
}
444
445
type AdmissionConstraint_HasPermission_ struct {
446
HasPermission *AdmissionConstraint_HasPermission `protobuf:"bytes,2,opt,name=has_permission,json=hasPermission,proto3,oneof"`
447
}
448
449
func (*AdmissionConstraint_HasFeaturePreview) isAdmissionConstraint_Constraint() {}
450
451
func (*AdmissionConstraint_HasPermission_) isAdmissionConstraint_Constraint() {}
452
453
type ClusterStatus struct {
454
state protoimpl.MessageState
455
sizeCache protoimpl.SizeCache
456
unknownFields protoimpl.UnknownFields
457
458
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
459
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
460
State ClusterState `protobuf:"varint,3,opt,name=state,proto3,enum=workspacemanagerbridge.ClusterState" json:"state,omitempty"`
461
Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"`
462
MaxScore int32 `protobuf:"varint,5,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"`
463
Governed bool `protobuf:"varint,6,opt,name=governed,proto3" json:"governed,omitempty"`
464
AdmissionConstraint []*AdmissionConstraint `protobuf:"bytes,7,rep,name=admission_constraint,json=admissionConstraint,proto3" json:"admission_constraint,omitempty"`
465
Static bool `protobuf:"varint,8,opt,name=static,proto3" json:"static,omitempty"`
466
// The region in which this cluster runs
467
Region string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"`
468
}
469
470
func (x *ClusterStatus) Reset() {
471
*x = ClusterStatus{}
472
if protoimpl.UnsafeEnabled {
473
mi := &file_cluster_service_proto_msgTypes[5]
474
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
475
ms.StoreMessageInfo(mi)
476
}
477
}
478
479
func (x *ClusterStatus) String() string {
480
return protoimpl.X.MessageStringOf(x)
481
}
482
483
func (*ClusterStatus) ProtoMessage() {}
484
485
func (x *ClusterStatus) ProtoReflect() protoreflect.Message {
486
mi := &file_cluster_service_proto_msgTypes[5]
487
if protoimpl.UnsafeEnabled && x != nil {
488
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
489
if ms.LoadMessageInfo() == nil {
490
ms.StoreMessageInfo(mi)
491
}
492
return ms
493
}
494
return mi.MessageOf(x)
495
}
496
497
// Deprecated: Use ClusterStatus.ProtoReflect.Descriptor instead.
498
func (*ClusterStatus) Descriptor() ([]byte, []int) {
499
return file_cluster_service_proto_rawDescGZIP(), []int{5}
500
}
501
502
func (x *ClusterStatus) GetName() string {
503
if x != nil {
504
return x.Name
505
}
506
return ""
507
}
508
509
func (x *ClusterStatus) GetUrl() string {
510
if x != nil {
511
return x.Url
512
}
513
return ""
514
}
515
516
func (x *ClusterStatus) GetState() ClusterState {
517
if x != nil {
518
return x.State
519
}
520
return ClusterState_UNKNOWN
521
}
522
523
func (x *ClusterStatus) GetScore() int32 {
524
if x != nil {
525
return x.Score
526
}
527
return 0
528
}
529
530
func (x *ClusterStatus) GetMaxScore() int32 {
531
if x != nil {
532
return x.MaxScore
533
}
534
return 0
535
}
536
537
func (x *ClusterStatus) GetGoverned() bool {
538
if x != nil {
539
return x.Governed
540
}
541
return false
542
}
543
544
func (x *ClusterStatus) GetAdmissionConstraint() []*AdmissionConstraint {
545
if x != nil {
546
return x.AdmissionConstraint
547
}
548
return nil
549
}
550
551
func (x *ClusterStatus) GetStatic() bool {
552
if x != nil {
553
return x.Static
554
}
555
return false
556
}
557
558
func (x *ClusterStatus) GetRegion() string {
559
if x != nil {
560
return x.Region
561
}
562
return ""
563
}
564
565
type UpdateRequest struct {
566
state protoimpl.MessageState
567
sizeCache protoimpl.SizeCache
568
unknownFields protoimpl.UnknownFields
569
570
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
571
// Types that are assignable to Property:
572
//
573
// *UpdateRequest_Score
574
// *UpdateRequest_MaxScore
575
// *UpdateRequest_Cordoned
576
// *UpdateRequest_AdmissionConstraint
577
// *UpdateRequest_Tls
578
Property isUpdateRequest_Property `protobuf_oneof:"property"`
579
}
580
581
func (x *UpdateRequest) Reset() {
582
*x = UpdateRequest{}
583
if protoimpl.UnsafeEnabled {
584
mi := &file_cluster_service_proto_msgTypes[6]
585
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
586
ms.StoreMessageInfo(mi)
587
}
588
}
589
590
func (x *UpdateRequest) String() string {
591
return protoimpl.X.MessageStringOf(x)
592
}
593
594
func (*UpdateRequest) ProtoMessage() {}
595
596
func (x *UpdateRequest) ProtoReflect() protoreflect.Message {
597
mi := &file_cluster_service_proto_msgTypes[6]
598
if protoimpl.UnsafeEnabled && x != nil {
599
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
600
if ms.LoadMessageInfo() == nil {
601
ms.StoreMessageInfo(mi)
602
}
603
return ms
604
}
605
return mi.MessageOf(x)
606
}
607
608
// Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
609
func (*UpdateRequest) Descriptor() ([]byte, []int) {
610
return file_cluster_service_proto_rawDescGZIP(), []int{6}
611
}
612
613
func (x *UpdateRequest) GetName() string {
614
if x != nil {
615
return x.Name
616
}
617
return ""
618
}
619
620
func (m *UpdateRequest) GetProperty() isUpdateRequest_Property {
621
if m != nil {
622
return m.Property
623
}
624
return nil
625
}
626
627
func (x *UpdateRequest) GetScore() int32 {
628
if x, ok := x.GetProperty().(*UpdateRequest_Score); ok {
629
return x.Score
630
}
631
return 0
632
}
633
634
func (x *UpdateRequest) GetMaxScore() int32 {
635
if x, ok := x.GetProperty().(*UpdateRequest_MaxScore); ok {
636
return x.MaxScore
637
}
638
return 0
639
}
640
641
func (x *UpdateRequest) GetCordoned() bool {
642
if x, ok := x.GetProperty().(*UpdateRequest_Cordoned); ok {
643
return x.Cordoned
644
}
645
return false
646
}
647
648
func (x *UpdateRequest) GetAdmissionConstraint() *ModifyAdmissionConstraint {
649
if x, ok := x.GetProperty().(*UpdateRequest_AdmissionConstraint); ok {
650
return x.AdmissionConstraint
651
}
652
return nil
653
}
654
655
func (x *UpdateRequest) GetTls() *TlsConfig {
656
if x, ok := x.GetProperty().(*UpdateRequest_Tls); ok {
657
return x.Tls
658
}
659
return nil
660
}
661
662
type isUpdateRequest_Property interface {
663
isUpdateRequest_Property()
664
}
665
666
type UpdateRequest_Score struct {
667
Score int32 `protobuf:"varint,2,opt,name=score,proto3,oneof"`
668
}
669
670
type UpdateRequest_MaxScore struct {
671
MaxScore int32 `protobuf:"varint,3,opt,name=max_score,json=maxScore,proto3,oneof"`
672
}
673
674
type UpdateRequest_Cordoned struct {
675
Cordoned bool `protobuf:"varint,4,opt,name=cordoned,proto3,oneof"`
676
}
677
678
type UpdateRequest_AdmissionConstraint struct {
679
AdmissionConstraint *ModifyAdmissionConstraint `protobuf:"bytes,5,opt,name=admission_constraint,json=admissionConstraint,proto3,oneof"`
680
}
681
682
type UpdateRequest_Tls struct {
683
Tls *TlsConfig `protobuf:"bytes,7,opt,name=tls,proto3,oneof"`
684
}
685
686
func (*UpdateRequest_Score) isUpdateRequest_Property() {}
687
688
func (*UpdateRequest_MaxScore) isUpdateRequest_Property() {}
689
690
func (*UpdateRequest_Cordoned) isUpdateRequest_Property() {}
691
692
func (*UpdateRequest_AdmissionConstraint) isUpdateRequest_Property() {}
693
694
func (*UpdateRequest_Tls) isUpdateRequest_Property() {}
695
696
type ModifyAdmissionConstraint struct {
697
state protoimpl.MessageState
698
sizeCache protoimpl.SizeCache
699
unknownFields protoimpl.UnknownFields
700
701
Add bool `protobuf:"varint,1,opt,name=add,proto3" json:"add,omitempty"`
702
Constraint *AdmissionConstraint `protobuf:"bytes,2,opt,name=constraint,proto3" json:"constraint,omitempty"`
703
}
704
705
func (x *ModifyAdmissionConstraint) Reset() {
706
*x = ModifyAdmissionConstraint{}
707
if protoimpl.UnsafeEnabled {
708
mi := &file_cluster_service_proto_msgTypes[7]
709
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
710
ms.StoreMessageInfo(mi)
711
}
712
}
713
714
func (x *ModifyAdmissionConstraint) String() string {
715
return protoimpl.X.MessageStringOf(x)
716
}
717
718
func (*ModifyAdmissionConstraint) ProtoMessage() {}
719
720
func (x *ModifyAdmissionConstraint) ProtoReflect() protoreflect.Message {
721
mi := &file_cluster_service_proto_msgTypes[7]
722
if protoimpl.UnsafeEnabled && x != nil {
723
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
724
if ms.LoadMessageInfo() == nil {
725
ms.StoreMessageInfo(mi)
726
}
727
return ms
728
}
729
return mi.MessageOf(x)
730
}
731
732
// Deprecated: Use ModifyAdmissionConstraint.ProtoReflect.Descriptor instead.
733
func (*ModifyAdmissionConstraint) Descriptor() ([]byte, []int) {
734
return file_cluster_service_proto_rawDescGZIP(), []int{7}
735
}
736
737
func (x *ModifyAdmissionConstraint) GetAdd() bool {
738
if x != nil {
739
return x.Add
740
}
741
return false
742
}
743
744
func (x *ModifyAdmissionConstraint) GetConstraint() *AdmissionConstraint {
745
if x != nil {
746
return x.Constraint
747
}
748
return nil
749
}
750
751
type UpdateResponse struct {
752
state protoimpl.MessageState
753
sizeCache protoimpl.SizeCache
754
unknownFields protoimpl.UnknownFields
755
}
756
757
func (x *UpdateResponse) Reset() {
758
*x = UpdateResponse{}
759
if protoimpl.UnsafeEnabled {
760
mi := &file_cluster_service_proto_msgTypes[8]
761
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
762
ms.StoreMessageInfo(mi)
763
}
764
}
765
766
func (x *UpdateResponse) String() string {
767
return protoimpl.X.MessageStringOf(x)
768
}
769
770
func (*UpdateResponse) ProtoMessage() {}
771
772
func (x *UpdateResponse) ProtoReflect() protoreflect.Message {
773
mi := &file_cluster_service_proto_msgTypes[8]
774
if protoimpl.UnsafeEnabled && x != nil {
775
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
776
if ms.LoadMessageInfo() == nil {
777
ms.StoreMessageInfo(mi)
778
}
779
return ms
780
}
781
return mi.MessageOf(x)
782
}
783
784
// Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
785
func (*UpdateResponse) Descriptor() ([]byte, []int) {
786
return file_cluster_service_proto_rawDescGZIP(), []int{8}
787
}
788
789
type DeregisterRequest struct {
790
state protoimpl.MessageState
791
sizeCache protoimpl.SizeCache
792
unknownFields protoimpl.UnknownFields
793
794
// name is the name of the WorkspaceCluster to deregister
795
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
796
// force causes the cluster to be deregistered even if there are
797
// intances still running on the cluster.
798
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
799
}
800
801
func (x *DeregisterRequest) Reset() {
802
*x = DeregisterRequest{}
803
if protoimpl.UnsafeEnabled {
804
mi := &file_cluster_service_proto_msgTypes[9]
805
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
806
ms.StoreMessageInfo(mi)
807
}
808
}
809
810
func (x *DeregisterRequest) String() string {
811
return protoimpl.X.MessageStringOf(x)
812
}
813
814
func (*DeregisterRequest) ProtoMessage() {}
815
816
func (x *DeregisterRequest) ProtoReflect() protoreflect.Message {
817
mi := &file_cluster_service_proto_msgTypes[9]
818
if protoimpl.UnsafeEnabled && x != nil {
819
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
820
if ms.LoadMessageInfo() == nil {
821
ms.StoreMessageInfo(mi)
822
}
823
return ms
824
}
825
return mi.MessageOf(x)
826
}
827
828
// Deprecated: Use DeregisterRequest.ProtoReflect.Descriptor instead.
829
func (*DeregisterRequest) Descriptor() ([]byte, []int) {
830
return file_cluster_service_proto_rawDescGZIP(), []int{9}
831
}
832
833
func (x *DeregisterRequest) GetName() string {
834
if x != nil {
835
return x.Name
836
}
837
return ""
838
}
839
840
func (x *DeregisterRequest) GetForce() bool {
841
if x != nil {
842
return x.Force
843
}
844
return false
845
}
846
847
type DeregisterResponse struct {
848
state protoimpl.MessageState
849
sizeCache protoimpl.SizeCache
850
unknownFields protoimpl.UnknownFields
851
}
852
853
func (x *DeregisterResponse) Reset() {
854
*x = DeregisterResponse{}
855
if protoimpl.UnsafeEnabled {
856
mi := &file_cluster_service_proto_msgTypes[10]
857
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
858
ms.StoreMessageInfo(mi)
859
}
860
}
861
862
func (x *DeregisterResponse) String() string {
863
return protoimpl.X.MessageStringOf(x)
864
}
865
866
func (*DeregisterResponse) ProtoMessage() {}
867
868
func (x *DeregisterResponse) ProtoReflect() protoreflect.Message {
869
mi := &file_cluster_service_proto_msgTypes[10]
870
if protoimpl.UnsafeEnabled && x != nil {
871
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
872
if ms.LoadMessageInfo() == nil {
873
ms.StoreMessageInfo(mi)
874
}
875
return ms
876
}
877
return mi.MessageOf(x)
878
}
879
880
// Deprecated: Use DeregisterResponse.ProtoReflect.Descriptor instead.
881
func (*DeregisterResponse) Descriptor() ([]byte, []int) {
882
return file_cluster_service_proto_rawDescGZIP(), []int{10}
883
}
884
885
type ListRequest struct {
886
state protoimpl.MessageState
887
sizeCache protoimpl.SizeCache
888
unknownFields protoimpl.UnknownFields
889
}
890
891
func (x *ListRequest) Reset() {
892
*x = ListRequest{}
893
if protoimpl.UnsafeEnabled {
894
mi := &file_cluster_service_proto_msgTypes[11]
895
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
896
ms.StoreMessageInfo(mi)
897
}
898
}
899
900
func (x *ListRequest) String() string {
901
return protoimpl.X.MessageStringOf(x)
902
}
903
904
func (*ListRequest) ProtoMessage() {}
905
906
func (x *ListRequest) ProtoReflect() protoreflect.Message {
907
mi := &file_cluster_service_proto_msgTypes[11]
908
if protoimpl.UnsafeEnabled && x != nil {
909
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
910
if ms.LoadMessageInfo() == nil {
911
ms.StoreMessageInfo(mi)
912
}
913
return ms
914
}
915
return mi.MessageOf(x)
916
}
917
918
// Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
919
func (*ListRequest) Descriptor() ([]byte, []int) {
920
return file_cluster_service_proto_rawDescGZIP(), []int{11}
921
}
922
923
type ListResponse struct {
924
state protoimpl.MessageState
925
sizeCache protoimpl.SizeCache
926
unknownFields protoimpl.UnknownFields
927
928
Status []*ClusterStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
929
}
930
931
func (x *ListResponse) Reset() {
932
*x = ListResponse{}
933
if protoimpl.UnsafeEnabled {
934
mi := &file_cluster_service_proto_msgTypes[12]
935
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
936
ms.StoreMessageInfo(mi)
937
}
938
}
939
940
func (x *ListResponse) String() string {
941
return protoimpl.X.MessageStringOf(x)
942
}
943
944
func (*ListResponse) ProtoMessage() {}
945
946
func (x *ListResponse) ProtoReflect() protoreflect.Message {
947
mi := &file_cluster_service_proto_msgTypes[12]
948
if protoimpl.UnsafeEnabled && x != nil {
949
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
950
if ms.LoadMessageInfo() == nil {
951
ms.StoreMessageInfo(mi)
952
}
953
return ms
954
}
955
return mi.MessageOf(x)
956
}
957
958
// Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
959
func (*ListResponse) Descriptor() ([]byte, []int) {
960
return file_cluster_service_proto_rawDescGZIP(), []int{12}
961
}
962
963
func (x *ListResponse) GetStatus() []*ClusterStatus {
964
if x != nil {
965
return x.Status
966
}
967
return nil
968
}
969
970
type AdmissionConstraint_FeaturePreview struct {
971
state protoimpl.MessageState
972
sizeCache protoimpl.SizeCache
973
unknownFields protoimpl.UnknownFields
974
}
975
976
func (x *AdmissionConstraint_FeaturePreview) Reset() {
977
*x = AdmissionConstraint_FeaturePreview{}
978
if protoimpl.UnsafeEnabled {
979
mi := &file_cluster_service_proto_msgTypes[13]
980
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
981
ms.StoreMessageInfo(mi)
982
}
983
}
984
985
func (x *AdmissionConstraint_FeaturePreview) String() string {
986
return protoimpl.X.MessageStringOf(x)
987
}
988
989
func (*AdmissionConstraint_FeaturePreview) ProtoMessage() {}
990
991
func (x *AdmissionConstraint_FeaturePreview) ProtoReflect() protoreflect.Message {
992
mi := &file_cluster_service_proto_msgTypes[13]
993
if protoimpl.UnsafeEnabled && x != nil {
994
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
995
if ms.LoadMessageInfo() == nil {
996
ms.StoreMessageInfo(mi)
997
}
998
return ms
999
}
1000
return mi.MessageOf(x)
1001
}
1002
1003
// Deprecated: Use AdmissionConstraint_FeaturePreview.ProtoReflect.Descriptor instead.
1004
func (*AdmissionConstraint_FeaturePreview) Descriptor() ([]byte, []int) {
1005
return file_cluster_service_proto_rawDescGZIP(), []int{4, 0}
1006
}
1007
1008
type AdmissionConstraint_HasPermission struct {
1009
state protoimpl.MessageState
1010
sizeCache protoimpl.SizeCache
1011
unknownFields protoimpl.UnknownFields
1012
1013
Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"`
1014
}
1015
1016
func (x *AdmissionConstraint_HasPermission) Reset() {
1017
*x = AdmissionConstraint_HasPermission{}
1018
if protoimpl.UnsafeEnabled {
1019
mi := &file_cluster_service_proto_msgTypes[14]
1020
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1021
ms.StoreMessageInfo(mi)
1022
}
1023
}
1024
1025
func (x *AdmissionConstraint_HasPermission) String() string {
1026
return protoimpl.X.MessageStringOf(x)
1027
}
1028
1029
func (*AdmissionConstraint_HasPermission) ProtoMessage() {}
1030
1031
func (x *AdmissionConstraint_HasPermission) ProtoReflect() protoreflect.Message {
1032
mi := &file_cluster_service_proto_msgTypes[14]
1033
if protoimpl.UnsafeEnabled && x != nil {
1034
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1035
if ms.LoadMessageInfo() == nil {
1036
ms.StoreMessageInfo(mi)
1037
}
1038
return ms
1039
}
1040
return mi.MessageOf(x)
1041
}
1042
1043
// Deprecated: Use AdmissionConstraint_HasPermission.ProtoReflect.Descriptor instead.
1044
func (*AdmissionConstraint_HasPermission) Descriptor() ([]byte, []int) {
1045
return file_cluster_service_proto_rawDescGZIP(), []int{4, 1}
1046
}
1047
1048
func (x *AdmissionConstraint_HasPermission) GetPermission() string {
1049
if x != nil {
1050
return x.Permission
1051
}
1052
return ""
1053
}
1054
1055
var File_cluster_service_proto protoreflect.FileDescriptor
1056
1057
var file_cluster_service_proto_rawDesc = []byte{
1058
0x0a, 0x15, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
1059
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
1060
0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x22,
1061
0xad, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
1062
0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1063
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02,
1064
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x33, 0x0a, 0x03, 0x74, 0x6c, 0x73,
1065
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
1066
0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e,
1067
0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, 0x3f,
1068
0x0a, 0x05, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
1069
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
1070
0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74,
1071
0x69, 0x6f, 0x6e, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x05, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x12,
1072
0x60, 0x0a, 0x15, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e,
1073
0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b,
1074
0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
1075
0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
1076
0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x14, 0x61, 0x64, 0x6d,
1077
0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,
1078
0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28,
1079
0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22,
1080
0x12, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
1081
0x6e, 0x73, 0x65, 0x22, 0x3f, 0x0a, 0x09, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1082
0x12, 0x0e, 0x0a, 0x02, 0x63, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x63, 0x61,
1083
0x12, 0x10, 0x0a, 0x03, 0x63, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63,
1084
0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
1085
0x03, 0x6b, 0x65, 0x79, 0x22, 0x84, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
1086
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x4d, 0x0a, 0x0e, 0x70, 0x65,
1087
0x72, 0x66, 0x65, 0x72, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01,
1088
0x28, 0x0e, 0x32, 0x25, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61,
1089
0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x50, 0x72, 0x65, 0x66,
1090
0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x66, 0x65,
1091
0x72, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x72,
1092
0x64, 0x6f, 0x6e, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x72,
1093
0x64, 0x6f, 0x6e, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xb8, 0x02, 0x0a, 0x13,
1094
0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
1095
0x69, 0x6e, 0x74, 0x12, 0x6c, 0x0a, 0x13, 0x68, 0x61, 0x73, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75,
1096
0x72, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1097
0x32, 0x3a, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,
1098
0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73,
1099
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x46, 0x65,
1100
0x61, 0x74, 0x75, 0x72, 0x65, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x48, 0x00, 0x52, 0x11,
1101
0x68, 0x61, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,
1102
0x77, 0x12, 0x62, 0x0a, 0x0e, 0x68, 0x61, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
1103
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x77, 0x6f, 0x72, 0x6b,
1104
0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64,
1105
0x67, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73,
1106
0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x48, 0x61, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
1107
0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x68, 0x61, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69,
1108
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x10, 0x0a, 0x0e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
1109
0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x1a, 0x2f, 0x0a, 0x0d, 0x48, 0x61, 0x73, 0x50, 0x65,
1110
0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d,
1111
0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65,
1112
0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73,
1113
0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0xdc, 0x02, 0x0a, 0x0d, 0x43, 0x6c, 0x75, 0x73, 0x74,
1114
0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1115
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03,
1116
0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3a,
1117
0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,
1118
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
1119
0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74,
1120
0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63,
1121
0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65,
1122
0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20,
1123
0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1a, 0x0a,
1124
0x08, 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
1125
0x08, 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x65, 0x64, 0x12, 0x5e, 0x0a, 0x14, 0x61, 0x64, 0x6d,
1126
0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,
1127
0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
1128
0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65,
1129
0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,
1130
0x61, 0x69, 0x6e, 0x74, 0x52, 0x13, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43,
1131
0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61,
1132
0x74, 0x69, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x69,
1133
0x63, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28,
1134
0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x4a,
1135
0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0xa3, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
1136
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
1137
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x73,
1138
0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x05, 0x73, 0x63,
1139
0x6f, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65,
1140
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x6f,
1141
0x72, 0x65, 0x12, 0x1c, 0x0a, 0x08, 0x63, 0x6f, 0x72, 0x64, 0x6f, 0x6e, 0x65, 0x64, 0x18, 0x04,
1142
0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x72, 0x64, 0x6f, 0x6e, 0x65, 0x64,
1143
0x12, 0x66, 0x0a, 0x14, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,
1144
0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31,
1145
0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
1146
0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x64,
1147
0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,
1148
0x74, 0x48, 0x00, 0x52, 0x13, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
1149
0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18,
1150
0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
1151
0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x54,
1152
0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x42,
1153
0x0a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x22, 0x7a, 0x0a, 0x19, 0x4d,
1154
0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
1155
0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x64, 0x64, 0x18,
1156
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x64, 0x64, 0x12, 0x4b, 0x0a, 0x0a, 0x63, 0x6f,
1157
0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b,
1158
0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
1159
0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
1160
0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x63, 0x6f, 0x6e,
1161
0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74,
1162
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x0a, 0x11, 0x44, 0x65, 0x72,
1163
0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
1164
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
1165
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1166
0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x72, 0x65,
1167
0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0d,
1168
0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4d, 0x0a,
1169
0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a,
1170
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
1171
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
1172
0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74,
1173
0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x37, 0x0a, 0x0d,
1174
0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x08, 0x0a,
1175
0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x72, 0x65, 0x66, 0x65,
1176
0x72, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x6f, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64,
1177
0x75, 0x6c, 0x65, 0x10, 0x02, 0x2a, 0x46, 0x0a, 0x0c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
1178
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
1179
0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10,
1180
0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x52, 0x44, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12,
1181
0x0c, 0x0a, 0x08, 0x44, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x32, 0x88, 0x03,
1182
0x0a, 0x0e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1183
0x12, 0x5f, 0x0a, 0x08, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x77,
1184
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62,
1185
0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
1186
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
1187
0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x52,
1188
0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
1189
0x00, 0x12, 0x59, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x25, 0x2e, 0x77, 0x6f,
1190
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72,
1191
0x69, 0x64, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
1192
0x73, 0x74, 0x1a, 0x26, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61,
1193
0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61,
1194
0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0a,
1195
0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x77, 0x6f, 0x72,
1196
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69,
1197
0x64, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
1198
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
1199
0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x44,
1200
0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1201
0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x77, 0x6f,
1202
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x72,
1203
0x69, 0x64, 0x67, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1204
0x1a, 0x24, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61,
1205
0x67, 0x65, 0x72, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
1206
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68,
1207
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f,
1208
0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
1209
0x65, 0x2d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2d, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65,
1210
0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1211
}
1212
1213
var (
1214
file_cluster_service_proto_rawDescOnce sync.Once
1215
file_cluster_service_proto_rawDescData = file_cluster_service_proto_rawDesc
1216
)
1217
1218
func file_cluster_service_proto_rawDescGZIP() []byte {
1219
file_cluster_service_proto_rawDescOnce.Do(func() {
1220
file_cluster_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_cluster_service_proto_rawDescData)
1221
})
1222
return file_cluster_service_proto_rawDescData
1223
}
1224
1225
var file_cluster_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1226
var file_cluster_service_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
1227
var file_cluster_service_proto_goTypes = []interface{}{
1228
(Preferability)(0), // 0: workspacemanagerbridge.Preferability
1229
(ClusterState)(0), // 1: workspacemanagerbridge.ClusterState
1230
(*RegisterRequest)(nil), // 2: workspacemanagerbridge.RegisterRequest
1231
(*RegisterResponse)(nil), // 3: workspacemanagerbridge.RegisterResponse
1232
(*TlsConfig)(nil), // 4: workspacemanagerbridge.TlsConfig
1233
(*RegistrationHints)(nil), // 5: workspacemanagerbridge.RegistrationHints
1234
(*AdmissionConstraint)(nil), // 6: workspacemanagerbridge.AdmissionConstraint
1235
(*ClusterStatus)(nil), // 7: workspacemanagerbridge.ClusterStatus
1236
(*UpdateRequest)(nil), // 8: workspacemanagerbridge.UpdateRequest
1237
(*ModifyAdmissionConstraint)(nil), // 9: workspacemanagerbridge.ModifyAdmissionConstraint
1238
(*UpdateResponse)(nil), // 10: workspacemanagerbridge.UpdateResponse
1239
(*DeregisterRequest)(nil), // 11: workspacemanagerbridge.DeregisterRequest
1240
(*DeregisterResponse)(nil), // 12: workspacemanagerbridge.DeregisterResponse
1241
(*ListRequest)(nil), // 13: workspacemanagerbridge.ListRequest
1242
(*ListResponse)(nil), // 14: workspacemanagerbridge.ListResponse
1243
(*AdmissionConstraint_FeaturePreview)(nil), // 15: workspacemanagerbridge.AdmissionConstraint.FeaturePreview
1244
(*AdmissionConstraint_HasPermission)(nil), // 16: workspacemanagerbridge.AdmissionConstraint.HasPermission
1245
}
1246
var file_cluster_service_proto_depIdxs = []int32{
1247
4, // 0: workspacemanagerbridge.RegisterRequest.tls:type_name -> workspacemanagerbridge.TlsConfig
1248
5, // 1: workspacemanagerbridge.RegisterRequest.hints:type_name -> workspacemanagerbridge.RegistrationHints
1249
6, // 2: workspacemanagerbridge.RegisterRequest.admission_constraints:type_name -> workspacemanagerbridge.AdmissionConstraint
1250
0, // 3: workspacemanagerbridge.RegistrationHints.perfereability:type_name -> workspacemanagerbridge.Preferability
1251
15, // 4: workspacemanagerbridge.AdmissionConstraint.has_feature_preview:type_name -> workspacemanagerbridge.AdmissionConstraint.FeaturePreview
1252
16, // 5: workspacemanagerbridge.AdmissionConstraint.has_permission:type_name -> workspacemanagerbridge.AdmissionConstraint.HasPermission
1253
1, // 6: workspacemanagerbridge.ClusterStatus.state:type_name -> workspacemanagerbridge.ClusterState
1254
6, // 7: workspacemanagerbridge.ClusterStatus.admission_constraint:type_name -> workspacemanagerbridge.AdmissionConstraint
1255
9, // 8: workspacemanagerbridge.UpdateRequest.admission_constraint:type_name -> workspacemanagerbridge.ModifyAdmissionConstraint
1256
4, // 9: workspacemanagerbridge.UpdateRequest.tls:type_name -> workspacemanagerbridge.TlsConfig
1257
6, // 10: workspacemanagerbridge.ModifyAdmissionConstraint.constraint:type_name -> workspacemanagerbridge.AdmissionConstraint
1258
7, // 11: workspacemanagerbridge.ListResponse.status:type_name -> workspacemanagerbridge.ClusterStatus
1259
2, // 12: workspacemanagerbridge.ClusterService.Register:input_type -> workspacemanagerbridge.RegisterRequest
1260
8, // 13: workspacemanagerbridge.ClusterService.Update:input_type -> workspacemanagerbridge.UpdateRequest
1261
11, // 14: workspacemanagerbridge.ClusterService.Deregister:input_type -> workspacemanagerbridge.DeregisterRequest
1262
13, // 15: workspacemanagerbridge.ClusterService.List:input_type -> workspacemanagerbridge.ListRequest
1263
3, // 16: workspacemanagerbridge.ClusterService.Register:output_type -> workspacemanagerbridge.RegisterResponse
1264
10, // 17: workspacemanagerbridge.ClusterService.Update:output_type -> workspacemanagerbridge.UpdateResponse
1265
12, // 18: workspacemanagerbridge.ClusterService.Deregister:output_type -> workspacemanagerbridge.DeregisterResponse
1266
14, // 19: workspacemanagerbridge.ClusterService.List:output_type -> workspacemanagerbridge.ListResponse
1267
16, // [16:20] is the sub-list for method output_type
1268
12, // [12:16] is the sub-list for method input_type
1269
12, // [12:12] is the sub-list for extension type_name
1270
12, // [12:12] is the sub-list for extension extendee
1271
0, // [0:12] is the sub-list for field type_name
1272
}
1273
1274
func init() { file_cluster_service_proto_init() }
1275
func file_cluster_service_proto_init() {
1276
if File_cluster_service_proto != nil {
1277
return
1278
}
1279
if !protoimpl.UnsafeEnabled {
1280
file_cluster_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1281
switch v := v.(*RegisterRequest); i {
1282
case 0:
1283
return &v.state
1284
case 1:
1285
return &v.sizeCache
1286
case 2:
1287
return &v.unknownFields
1288
default:
1289
return nil
1290
}
1291
}
1292
file_cluster_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1293
switch v := v.(*RegisterResponse); i {
1294
case 0:
1295
return &v.state
1296
case 1:
1297
return &v.sizeCache
1298
case 2:
1299
return &v.unknownFields
1300
default:
1301
return nil
1302
}
1303
}
1304
file_cluster_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1305
switch v := v.(*TlsConfig); i {
1306
case 0:
1307
return &v.state
1308
case 1:
1309
return &v.sizeCache
1310
case 2:
1311
return &v.unknownFields
1312
default:
1313
return nil
1314
}
1315
}
1316
file_cluster_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1317
switch v := v.(*RegistrationHints); i {
1318
case 0:
1319
return &v.state
1320
case 1:
1321
return &v.sizeCache
1322
case 2:
1323
return &v.unknownFields
1324
default:
1325
return nil
1326
}
1327
}
1328
file_cluster_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1329
switch v := v.(*AdmissionConstraint); i {
1330
case 0:
1331
return &v.state
1332
case 1:
1333
return &v.sizeCache
1334
case 2:
1335
return &v.unknownFields
1336
default:
1337
return nil
1338
}
1339
}
1340
file_cluster_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1341
switch v := v.(*ClusterStatus); i {
1342
case 0:
1343
return &v.state
1344
case 1:
1345
return &v.sizeCache
1346
case 2:
1347
return &v.unknownFields
1348
default:
1349
return nil
1350
}
1351
}
1352
file_cluster_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1353
switch v := v.(*UpdateRequest); i {
1354
case 0:
1355
return &v.state
1356
case 1:
1357
return &v.sizeCache
1358
case 2:
1359
return &v.unknownFields
1360
default:
1361
return nil
1362
}
1363
}
1364
file_cluster_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1365
switch v := v.(*ModifyAdmissionConstraint); i {
1366
case 0:
1367
return &v.state
1368
case 1:
1369
return &v.sizeCache
1370
case 2:
1371
return &v.unknownFields
1372
default:
1373
return nil
1374
}
1375
}
1376
file_cluster_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1377
switch v := v.(*UpdateResponse); i {
1378
case 0:
1379
return &v.state
1380
case 1:
1381
return &v.sizeCache
1382
case 2:
1383
return &v.unknownFields
1384
default:
1385
return nil
1386
}
1387
}
1388
file_cluster_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1389
switch v := v.(*DeregisterRequest); i {
1390
case 0:
1391
return &v.state
1392
case 1:
1393
return &v.sizeCache
1394
case 2:
1395
return &v.unknownFields
1396
default:
1397
return nil
1398
}
1399
}
1400
file_cluster_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1401
switch v := v.(*DeregisterResponse); i {
1402
case 0:
1403
return &v.state
1404
case 1:
1405
return &v.sizeCache
1406
case 2:
1407
return &v.unknownFields
1408
default:
1409
return nil
1410
}
1411
}
1412
file_cluster_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1413
switch v := v.(*ListRequest); i {
1414
case 0:
1415
return &v.state
1416
case 1:
1417
return &v.sizeCache
1418
case 2:
1419
return &v.unknownFields
1420
default:
1421
return nil
1422
}
1423
}
1424
file_cluster_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1425
switch v := v.(*ListResponse); i {
1426
case 0:
1427
return &v.state
1428
case 1:
1429
return &v.sizeCache
1430
case 2:
1431
return &v.unknownFields
1432
default:
1433
return nil
1434
}
1435
}
1436
file_cluster_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1437
switch v := v.(*AdmissionConstraint_FeaturePreview); i {
1438
case 0:
1439
return &v.state
1440
case 1:
1441
return &v.sizeCache
1442
case 2:
1443
return &v.unknownFields
1444
default:
1445
return nil
1446
}
1447
}
1448
file_cluster_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1449
switch v := v.(*AdmissionConstraint_HasPermission); i {
1450
case 0:
1451
return &v.state
1452
case 1:
1453
return &v.sizeCache
1454
case 2:
1455
return &v.unknownFields
1456
default:
1457
return nil
1458
}
1459
}
1460
}
1461
file_cluster_service_proto_msgTypes[4].OneofWrappers = []interface{}{
1462
(*AdmissionConstraint_HasFeaturePreview)(nil),
1463
(*AdmissionConstraint_HasPermission_)(nil),
1464
}
1465
file_cluster_service_proto_msgTypes[6].OneofWrappers = []interface{}{
1466
(*UpdateRequest_Score)(nil),
1467
(*UpdateRequest_MaxScore)(nil),
1468
(*UpdateRequest_Cordoned)(nil),
1469
(*UpdateRequest_AdmissionConstraint)(nil),
1470
(*UpdateRequest_Tls)(nil),
1471
}
1472
type x struct{}
1473
out := protoimpl.TypeBuilder{
1474
File: protoimpl.DescBuilder{
1475
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1476
RawDescriptor: file_cluster_service_proto_rawDesc,
1477
NumEnums: 2,
1478
NumMessages: 15,
1479
NumExtensions: 0,
1480
NumServices: 1,
1481
},
1482
GoTypes: file_cluster_service_proto_goTypes,
1483
DependencyIndexes: file_cluster_service_proto_depIdxs,
1484
EnumInfos: file_cluster_service_proto_enumTypes,
1485
MessageInfos: file_cluster_service_proto_msgTypes,
1486
}.Build()
1487
File_cluster_service_proto = out.File
1488
file_cluster_service_proto_rawDesc = nil
1489
file_cluster_service_proto_goTypes = nil
1490
file_cluster_service_proto_depIdxs = nil
1491
}
1492
1493