Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-daemon-api/go/workspace_daemon.pb.go
2498 views
1
// Copyright (c) 2024 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 v3.20.1
9
// source: workspace_daemon.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
// FSShiftMethod describes the means by which we establish the ID shift for
28
// user namespaced workspaces.
29
type FSShiftMethod int32
30
31
const (
32
FSShiftMethod_SHIFTFS FSShiftMethod = 0
33
)
34
35
// Enum value maps for FSShiftMethod.
36
var (
37
FSShiftMethod_name = map[int32]string{
38
0: "SHIFTFS",
39
}
40
FSShiftMethod_value = map[string]int32{
41
"SHIFTFS": 0,
42
}
43
)
44
45
func (x FSShiftMethod) Enum() *FSShiftMethod {
46
p := new(FSShiftMethod)
47
*p = x
48
return p
49
}
50
51
func (x FSShiftMethod) String() string {
52
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
53
}
54
55
func (FSShiftMethod) Descriptor() protoreflect.EnumDescriptor {
56
return file_workspace_daemon_proto_enumTypes[0].Descriptor()
57
}
58
59
func (FSShiftMethod) Type() protoreflect.EnumType {
60
return &file_workspace_daemon_proto_enumTypes[0]
61
}
62
63
func (x FSShiftMethod) Number() protoreflect.EnumNumber {
64
return protoreflect.EnumNumber(x)
65
}
66
67
// Deprecated: Use FSShiftMethod.Descriptor instead.
68
func (FSShiftMethod) EnumDescriptor() ([]byte, []int) {
69
return file_workspace_daemon_proto_rawDescGZIP(), []int{0}
70
}
71
72
type PrepareForUserNSRequest struct {
73
state protoimpl.MessageState
74
sizeCache protoimpl.SizeCache
75
unknownFields protoimpl.UnknownFields
76
}
77
78
func (x *PrepareForUserNSRequest) Reset() {
79
*x = PrepareForUserNSRequest{}
80
if protoimpl.UnsafeEnabled {
81
mi := &file_workspace_daemon_proto_msgTypes[0]
82
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
83
ms.StoreMessageInfo(mi)
84
}
85
}
86
87
func (x *PrepareForUserNSRequest) String() string {
88
return protoimpl.X.MessageStringOf(x)
89
}
90
91
func (*PrepareForUserNSRequest) ProtoMessage() {}
92
93
func (x *PrepareForUserNSRequest) ProtoReflect() protoreflect.Message {
94
mi := &file_workspace_daemon_proto_msgTypes[0]
95
if protoimpl.UnsafeEnabled && x != nil {
96
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
97
if ms.LoadMessageInfo() == nil {
98
ms.StoreMessageInfo(mi)
99
}
100
return ms
101
}
102
return mi.MessageOf(x)
103
}
104
105
// Deprecated: Use PrepareForUserNSRequest.ProtoReflect.Descriptor instead.
106
func (*PrepareForUserNSRequest) Descriptor() ([]byte, []int) {
107
return file_workspace_daemon_proto_rawDescGZIP(), []int{0}
108
}
109
110
type PrepareForUserNSResponse struct {
111
state protoimpl.MessageState
112
sizeCache protoimpl.SizeCache
113
unknownFields protoimpl.UnknownFields
114
115
FsShift FSShiftMethod `protobuf:"varint,1,opt,name=fs_shift,json=fsShift,proto3,enum=iws.FSShiftMethod" json:"fs_shift,omitempty"`
116
PersistentVolumeClaim bool `protobuf:"varint,3,opt,name=persistent_volume_claim,json=persistentVolumeClaim,proto3" json:"persistent_volume_claim,omitempty"`
117
}
118
119
func (x *PrepareForUserNSResponse) Reset() {
120
*x = PrepareForUserNSResponse{}
121
if protoimpl.UnsafeEnabled {
122
mi := &file_workspace_daemon_proto_msgTypes[1]
123
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
124
ms.StoreMessageInfo(mi)
125
}
126
}
127
128
func (x *PrepareForUserNSResponse) String() string {
129
return protoimpl.X.MessageStringOf(x)
130
}
131
132
func (*PrepareForUserNSResponse) ProtoMessage() {}
133
134
func (x *PrepareForUserNSResponse) ProtoReflect() protoreflect.Message {
135
mi := &file_workspace_daemon_proto_msgTypes[1]
136
if protoimpl.UnsafeEnabled && x != nil {
137
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138
if ms.LoadMessageInfo() == nil {
139
ms.StoreMessageInfo(mi)
140
}
141
return ms
142
}
143
return mi.MessageOf(x)
144
}
145
146
// Deprecated: Use PrepareForUserNSResponse.ProtoReflect.Descriptor instead.
147
func (*PrepareForUserNSResponse) Descriptor() ([]byte, []int) {
148
return file_workspace_daemon_proto_rawDescGZIP(), []int{1}
149
}
150
151
func (x *PrepareForUserNSResponse) GetFsShift() FSShiftMethod {
152
if x != nil {
153
return x.FsShift
154
}
155
return FSShiftMethod_SHIFTFS
156
}
157
158
func (x *PrepareForUserNSResponse) GetPersistentVolumeClaim() bool {
159
if x != nil {
160
return x.PersistentVolumeClaim
161
}
162
return false
163
}
164
165
type WriteIDMappingResponse struct {
166
state protoimpl.MessageState
167
sizeCache protoimpl.SizeCache
168
unknownFields protoimpl.UnknownFields
169
170
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
171
ErrorCode uint32 `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
172
}
173
174
func (x *WriteIDMappingResponse) Reset() {
175
*x = WriteIDMappingResponse{}
176
if protoimpl.UnsafeEnabled {
177
mi := &file_workspace_daemon_proto_msgTypes[2]
178
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179
ms.StoreMessageInfo(mi)
180
}
181
}
182
183
func (x *WriteIDMappingResponse) String() string {
184
return protoimpl.X.MessageStringOf(x)
185
}
186
187
func (*WriteIDMappingResponse) ProtoMessage() {}
188
189
func (x *WriteIDMappingResponse) ProtoReflect() protoreflect.Message {
190
mi := &file_workspace_daemon_proto_msgTypes[2]
191
if protoimpl.UnsafeEnabled && x != nil {
192
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
193
if ms.LoadMessageInfo() == nil {
194
ms.StoreMessageInfo(mi)
195
}
196
return ms
197
}
198
return mi.MessageOf(x)
199
}
200
201
// Deprecated: Use WriteIDMappingResponse.ProtoReflect.Descriptor instead.
202
func (*WriteIDMappingResponse) Descriptor() ([]byte, []int) {
203
return file_workspace_daemon_proto_rawDescGZIP(), []int{2}
204
}
205
206
func (x *WriteIDMappingResponse) GetMessage() string {
207
if x != nil {
208
return x.Message
209
}
210
return ""
211
}
212
213
func (x *WriteIDMappingResponse) GetErrorCode() uint32 {
214
if x != nil {
215
return x.ErrorCode
216
}
217
return 0
218
}
219
220
type WriteIDMappingRequest struct {
221
state protoimpl.MessageState
222
sizeCache protoimpl.SizeCache
223
unknownFields protoimpl.UnknownFields
224
225
Pid int64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
226
Gid bool `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
227
Mapping []*WriteIDMappingRequest_Mapping `protobuf:"bytes,3,rep,name=mapping,proto3" json:"mapping,omitempty"`
228
}
229
230
func (x *WriteIDMappingRequest) Reset() {
231
*x = WriteIDMappingRequest{}
232
if protoimpl.UnsafeEnabled {
233
mi := &file_workspace_daemon_proto_msgTypes[3]
234
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235
ms.StoreMessageInfo(mi)
236
}
237
}
238
239
func (x *WriteIDMappingRequest) String() string {
240
return protoimpl.X.MessageStringOf(x)
241
}
242
243
func (*WriteIDMappingRequest) ProtoMessage() {}
244
245
func (x *WriteIDMappingRequest) ProtoReflect() protoreflect.Message {
246
mi := &file_workspace_daemon_proto_msgTypes[3]
247
if protoimpl.UnsafeEnabled && x != nil {
248
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
249
if ms.LoadMessageInfo() == nil {
250
ms.StoreMessageInfo(mi)
251
}
252
return ms
253
}
254
return mi.MessageOf(x)
255
}
256
257
// Deprecated: Use WriteIDMappingRequest.ProtoReflect.Descriptor instead.
258
func (*WriteIDMappingRequest) Descriptor() ([]byte, []int) {
259
return file_workspace_daemon_proto_rawDescGZIP(), []int{3}
260
}
261
262
func (x *WriteIDMappingRequest) GetPid() int64 {
263
if x != nil {
264
return x.Pid
265
}
266
return 0
267
}
268
269
func (x *WriteIDMappingRequest) GetGid() bool {
270
if x != nil {
271
return x.Gid
272
}
273
return false
274
}
275
276
func (x *WriteIDMappingRequest) GetMapping() []*WriteIDMappingRequest_Mapping {
277
if x != nil {
278
return x.Mapping
279
}
280
return nil
281
}
282
283
type EvacuateCGroupRequest struct {
284
state protoimpl.MessageState
285
sizeCache protoimpl.SizeCache
286
unknownFields protoimpl.UnknownFields
287
}
288
289
func (x *EvacuateCGroupRequest) Reset() {
290
*x = EvacuateCGroupRequest{}
291
if protoimpl.UnsafeEnabled {
292
mi := &file_workspace_daemon_proto_msgTypes[4]
293
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
294
ms.StoreMessageInfo(mi)
295
}
296
}
297
298
func (x *EvacuateCGroupRequest) String() string {
299
return protoimpl.X.MessageStringOf(x)
300
}
301
302
func (*EvacuateCGroupRequest) ProtoMessage() {}
303
304
func (x *EvacuateCGroupRequest) ProtoReflect() protoreflect.Message {
305
mi := &file_workspace_daemon_proto_msgTypes[4]
306
if protoimpl.UnsafeEnabled && x != nil {
307
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
308
if ms.LoadMessageInfo() == nil {
309
ms.StoreMessageInfo(mi)
310
}
311
return ms
312
}
313
return mi.MessageOf(x)
314
}
315
316
// Deprecated: Use EvacuateCGroupRequest.ProtoReflect.Descriptor instead.
317
func (*EvacuateCGroupRequest) Descriptor() ([]byte, []int) {
318
return file_workspace_daemon_proto_rawDescGZIP(), []int{4}
319
}
320
321
type EvacuateCGroupResponse struct {
322
state protoimpl.MessageState
323
sizeCache protoimpl.SizeCache
324
unknownFields protoimpl.UnknownFields
325
}
326
327
func (x *EvacuateCGroupResponse) Reset() {
328
*x = EvacuateCGroupResponse{}
329
if protoimpl.UnsafeEnabled {
330
mi := &file_workspace_daemon_proto_msgTypes[5]
331
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
332
ms.StoreMessageInfo(mi)
333
}
334
}
335
336
func (x *EvacuateCGroupResponse) String() string {
337
return protoimpl.X.MessageStringOf(x)
338
}
339
340
func (*EvacuateCGroupResponse) ProtoMessage() {}
341
342
func (x *EvacuateCGroupResponse) ProtoReflect() protoreflect.Message {
343
mi := &file_workspace_daemon_proto_msgTypes[5]
344
if protoimpl.UnsafeEnabled && x != nil {
345
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346
if ms.LoadMessageInfo() == nil {
347
ms.StoreMessageInfo(mi)
348
}
349
return ms
350
}
351
return mi.MessageOf(x)
352
}
353
354
// Deprecated: Use EvacuateCGroupResponse.ProtoReflect.Descriptor instead.
355
func (*EvacuateCGroupResponse) Descriptor() ([]byte, []int) {
356
return file_workspace_daemon_proto_rawDescGZIP(), []int{5}
357
}
358
359
type MountProcRequest struct {
360
state protoimpl.MessageState
361
sizeCache protoimpl.SizeCache
362
unknownFields protoimpl.UnknownFields
363
364
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
365
Pid int64 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
366
}
367
368
func (x *MountProcRequest) Reset() {
369
*x = MountProcRequest{}
370
if protoimpl.UnsafeEnabled {
371
mi := &file_workspace_daemon_proto_msgTypes[6]
372
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373
ms.StoreMessageInfo(mi)
374
}
375
}
376
377
func (x *MountProcRequest) String() string {
378
return protoimpl.X.MessageStringOf(x)
379
}
380
381
func (*MountProcRequest) ProtoMessage() {}
382
383
func (x *MountProcRequest) ProtoReflect() protoreflect.Message {
384
mi := &file_workspace_daemon_proto_msgTypes[6]
385
if protoimpl.UnsafeEnabled && x != nil {
386
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
387
if ms.LoadMessageInfo() == nil {
388
ms.StoreMessageInfo(mi)
389
}
390
return ms
391
}
392
return mi.MessageOf(x)
393
}
394
395
// Deprecated: Use MountProcRequest.ProtoReflect.Descriptor instead.
396
func (*MountProcRequest) Descriptor() ([]byte, []int) {
397
return file_workspace_daemon_proto_rawDescGZIP(), []int{6}
398
}
399
400
func (x *MountProcRequest) GetTarget() string {
401
if x != nil {
402
return x.Target
403
}
404
return ""
405
}
406
407
func (x *MountProcRequest) GetPid() int64 {
408
if x != nil {
409
return x.Pid
410
}
411
return 0
412
}
413
414
type MountProcResponse struct {
415
state protoimpl.MessageState
416
sizeCache protoimpl.SizeCache
417
unknownFields protoimpl.UnknownFields
418
}
419
420
func (x *MountProcResponse) Reset() {
421
*x = MountProcResponse{}
422
if protoimpl.UnsafeEnabled {
423
mi := &file_workspace_daemon_proto_msgTypes[7]
424
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
425
ms.StoreMessageInfo(mi)
426
}
427
}
428
429
func (x *MountProcResponse) String() string {
430
return protoimpl.X.MessageStringOf(x)
431
}
432
433
func (*MountProcResponse) ProtoMessage() {}
434
435
func (x *MountProcResponse) ProtoReflect() protoreflect.Message {
436
mi := &file_workspace_daemon_proto_msgTypes[7]
437
if protoimpl.UnsafeEnabled && x != nil {
438
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
439
if ms.LoadMessageInfo() == nil {
440
ms.StoreMessageInfo(mi)
441
}
442
return ms
443
}
444
return mi.MessageOf(x)
445
}
446
447
// Deprecated: Use MountProcResponse.ProtoReflect.Descriptor instead.
448
func (*MountProcResponse) Descriptor() ([]byte, []int) {
449
return file_workspace_daemon_proto_rawDescGZIP(), []int{7}
450
}
451
452
type UmountProcRequest struct {
453
state protoimpl.MessageState
454
sizeCache protoimpl.SizeCache
455
unknownFields protoimpl.UnknownFields
456
457
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
458
Pid int64 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
459
}
460
461
func (x *UmountProcRequest) Reset() {
462
*x = UmountProcRequest{}
463
if protoimpl.UnsafeEnabled {
464
mi := &file_workspace_daemon_proto_msgTypes[8]
465
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
466
ms.StoreMessageInfo(mi)
467
}
468
}
469
470
func (x *UmountProcRequest) String() string {
471
return protoimpl.X.MessageStringOf(x)
472
}
473
474
func (*UmountProcRequest) ProtoMessage() {}
475
476
func (x *UmountProcRequest) ProtoReflect() protoreflect.Message {
477
mi := &file_workspace_daemon_proto_msgTypes[8]
478
if protoimpl.UnsafeEnabled && x != nil {
479
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480
if ms.LoadMessageInfo() == nil {
481
ms.StoreMessageInfo(mi)
482
}
483
return ms
484
}
485
return mi.MessageOf(x)
486
}
487
488
// Deprecated: Use UmountProcRequest.ProtoReflect.Descriptor instead.
489
func (*UmountProcRequest) Descriptor() ([]byte, []int) {
490
return file_workspace_daemon_proto_rawDescGZIP(), []int{8}
491
}
492
493
func (x *UmountProcRequest) GetTarget() string {
494
if x != nil {
495
return x.Target
496
}
497
return ""
498
}
499
500
func (x *UmountProcRequest) GetPid() int64 {
501
if x != nil {
502
return x.Pid
503
}
504
return 0
505
}
506
507
type UmountProcResponse struct {
508
state protoimpl.MessageState
509
sizeCache protoimpl.SizeCache
510
unknownFields protoimpl.UnknownFields
511
}
512
513
func (x *UmountProcResponse) Reset() {
514
*x = UmountProcResponse{}
515
if protoimpl.UnsafeEnabled {
516
mi := &file_workspace_daemon_proto_msgTypes[9]
517
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
518
ms.StoreMessageInfo(mi)
519
}
520
}
521
522
func (x *UmountProcResponse) String() string {
523
return protoimpl.X.MessageStringOf(x)
524
}
525
526
func (*UmountProcResponse) ProtoMessage() {}
527
528
func (x *UmountProcResponse) ProtoReflect() protoreflect.Message {
529
mi := &file_workspace_daemon_proto_msgTypes[9]
530
if protoimpl.UnsafeEnabled && x != nil {
531
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
532
if ms.LoadMessageInfo() == nil {
533
ms.StoreMessageInfo(mi)
534
}
535
return ms
536
}
537
return mi.MessageOf(x)
538
}
539
540
// Deprecated: Use UmountProcResponse.ProtoReflect.Descriptor instead.
541
func (*UmountProcResponse) Descriptor() ([]byte, []int) {
542
return file_workspace_daemon_proto_rawDescGZIP(), []int{9}
543
}
544
545
type MountNfsRequest struct {
546
state protoimpl.MessageState
547
sizeCache protoimpl.SizeCache
548
unknownFields protoimpl.UnknownFields
549
550
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
551
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
552
Args string `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"`
553
Pid int64 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
554
}
555
556
func (x *MountNfsRequest) Reset() {
557
*x = MountNfsRequest{}
558
if protoimpl.UnsafeEnabled {
559
mi := &file_workspace_daemon_proto_msgTypes[10]
560
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
561
ms.StoreMessageInfo(mi)
562
}
563
}
564
565
func (x *MountNfsRequest) String() string {
566
return protoimpl.X.MessageStringOf(x)
567
}
568
569
func (*MountNfsRequest) ProtoMessage() {}
570
571
func (x *MountNfsRequest) ProtoReflect() protoreflect.Message {
572
mi := &file_workspace_daemon_proto_msgTypes[10]
573
if protoimpl.UnsafeEnabled && x != nil {
574
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
575
if ms.LoadMessageInfo() == nil {
576
ms.StoreMessageInfo(mi)
577
}
578
return ms
579
}
580
return mi.MessageOf(x)
581
}
582
583
// Deprecated: Use MountNfsRequest.ProtoReflect.Descriptor instead.
584
func (*MountNfsRequest) Descriptor() ([]byte, []int) {
585
return file_workspace_daemon_proto_rawDescGZIP(), []int{10}
586
}
587
588
func (x *MountNfsRequest) GetSource() string {
589
if x != nil {
590
return x.Source
591
}
592
return ""
593
}
594
595
func (x *MountNfsRequest) GetTarget() string {
596
if x != nil {
597
return x.Target
598
}
599
return ""
600
}
601
602
func (x *MountNfsRequest) GetArgs() string {
603
if x != nil {
604
return x.Args
605
}
606
return ""
607
}
608
609
func (x *MountNfsRequest) GetPid() int64 {
610
if x != nil {
611
return x.Pid
612
}
613
return 0
614
}
615
616
type MountNfsResponse struct {
617
state protoimpl.MessageState
618
sizeCache protoimpl.SizeCache
619
unknownFields protoimpl.UnknownFields
620
}
621
622
func (x *MountNfsResponse) Reset() {
623
*x = MountNfsResponse{}
624
if protoimpl.UnsafeEnabled {
625
mi := &file_workspace_daemon_proto_msgTypes[11]
626
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
627
ms.StoreMessageInfo(mi)
628
}
629
}
630
631
func (x *MountNfsResponse) String() string {
632
return protoimpl.X.MessageStringOf(x)
633
}
634
635
func (*MountNfsResponse) ProtoMessage() {}
636
637
func (x *MountNfsResponse) ProtoReflect() protoreflect.Message {
638
mi := &file_workspace_daemon_proto_msgTypes[11]
639
if protoimpl.UnsafeEnabled && x != nil {
640
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
641
if ms.LoadMessageInfo() == nil {
642
ms.StoreMessageInfo(mi)
643
}
644
return ms
645
}
646
return mi.MessageOf(x)
647
}
648
649
// Deprecated: Use MountNfsResponse.ProtoReflect.Descriptor instead.
650
func (*MountNfsResponse) Descriptor() ([]byte, []int) {
651
return file_workspace_daemon_proto_rawDescGZIP(), []int{11}
652
}
653
654
type UmountNfsRequest struct {
655
state protoimpl.MessageState
656
sizeCache protoimpl.SizeCache
657
unknownFields protoimpl.UnknownFields
658
659
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
660
Pid int64 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
661
}
662
663
func (x *UmountNfsRequest) Reset() {
664
*x = UmountNfsRequest{}
665
if protoimpl.UnsafeEnabled {
666
mi := &file_workspace_daemon_proto_msgTypes[12]
667
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
668
ms.StoreMessageInfo(mi)
669
}
670
}
671
672
func (x *UmountNfsRequest) String() string {
673
return protoimpl.X.MessageStringOf(x)
674
}
675
676
func (*UmountNfsRequest) ProtoMessage() {}
677
678
func (x *UmountNfsRequest) ProtoReflect() protoreflect.Message {
679
mi := &file_workspace_daemon_proto_msgTypes[12]
680
if protoimpl.UnsafeEnabled && x != nil {
681
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
682
if ms.LoadMessageInfo() == nil {
683
ms.StoreMessageInfo(mi)
684
}
685
return ms
686
}
687
return mi.MessageOf(x)
688
}
689
690
// Deprecated: Use UmountNfsRequest.ProtoReflect.Descriptor instead.
691
func (*UmountNfsRequest) Descriptor() ([]byte, []int) {
692
return file_workspace_daemon_proto_rawDescGZIP(), []int{12}
693
}
694
695
func (x *UmountNfsRequest) GetTarget() string {
696
if x != nil {
697
return x.Target
698
}
699
return ""
700
}
701
702
func (x *UmountNfsRequest) GetPid() int64 {
703
if x != nil {
704
return x.Pid
705
}
706
return 0
707
}
708
709
type UmountNfsResponse struct {
710
state protoimpl.MessageState
711
sizeCache protoimpl.SizeCache
712
unknownFields protoimpl.UnknownFields
713
}
714
715
func (x *UmountNfsResponse) Reset() {
716
*x = UmountNfsResponse{}
717
if protoimpl.UnsafeEnabled {
718
mi := &file_workspace_daemon_proto_msgTypes[13]
719
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
720
ms.StoreMessageInfo(mi)
721
}
722
}
723
724
func (x *UmountNfsResponse) String() string {
725
return protoimpl.X.MessageStringOf(x)
726
}
727
728
func (*UmountNfsResponse) ProtoMessage() {}
729
730
func (x *UmountNfsResponse) ProtoReflect() protoreflect.Message {
731
mi := &file_workspace_daemon_proto_msgTypes[13]
732
if protoimpl.UnsafeEnabled && x != nil {
733
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
734
if ms.LoadMessageInfo() == nil {
735
ms.StoreMessageInfo(mi)
736
}
737
return ms
738
}
739
return mi.MessageOf(x)
740
}
741
742
// Deprecated: Use UmountNfsResponse.ProtoReflect.Descriptor instead.
743
func (*UmountNfsResponse) Descriptor() ([]byte, []int) {
744
return file_workspace_daemon_proto_rawDescGZIP(), []int{13}
745
}
746
747
type TeardownRequest struct {
748
state protoimpl.MessageState
749
sizeCache protoimpl.SizeCache
750
unknownFields protoimpl.UnknownFields
751
}
752
753
func (x *TeardownRequest) Reset() {
754
*x = TeardownRequest{}
755
if protoimpl.UnsafeEnabled {
756
mi := &file_workspace_daemon_proto_msgTypes[14]
757
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
758
ms.StoreMessageInfo(mi)
759
}
760
}
761
762
func (x *TeardownRequest) String() string {
763
return protoimpl.X.MessageStringOf(x)
764
}
765
766
func (*TeardownRequest) ProtoMessage() {}
767
768
func (x *TeardownRequest) ProtoReflect() protoreflect.Message {
769
mi := &file_workspace_daemon_proto_msgTypes[14]
770
if protoimpl.UnsafeEnabled && x != nil {
771
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
772
if ms.LoadMessageInfo() == nil {
773
ms.StoreMessageInfo(mi)
774
}
775
return ms
776
}
777
return mi.MessageOf(x)
778
}
779
780
// Deprecated: Use TeardownRequest.ProtoReflect.Descriptor instead.
781
func (*TeardownRequest) Descriptor() ([]byte, []int) {
782
return file_workspace_daemon_proto_rawDescGZIP(), []int{14}
783
}
784
785
type TeardownResponse struct {
786
state protoimpl.MessageState
787
sizeCache protoimpl.SizeCache
788
unknownFields protoimpl.UnknownFields
789
790
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
791
}
792
793
func (x *TeardownResponse) Reset() {
794
*x = TeardownResponse{}
795
if protoimpl.UnsafeEnabled {
796
mi := &file_workspace_daemon_proto_msgTypes[15]
797
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
798
ms.StoreMessageInfo(mi)
799
}
800
}
801
802
func (x *TeardownResponse) String() string {
803
return protoimpl.X.MessageStringOf(x)
804
}
805
806
func (*TeardownResponse) ProtoMessage() {}
807
808
func (x *TeardownResponse) ProtoReflect() protoreflect.Message {
809
mi := &file_workspace_daemon_proto_msgTypes[15]
810
if protoimpl.UnsafeEnabled && x != nil {
811
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
812
if ms.LoadMessageInfo() == nil {
813
ms.StoreMessageInfo(mi)
814
}
815
return ms
816
}
817
return mi.MessageOf(x)
818
}
819
820
// Deprecated: Use TeardownResponse.ProtoReflect.Descriptor instead.
821
func (*TeardownResponse) Descriptor() ([]byte, []int) {
822
return file_workspace_daemon_proto_rawDescGZIP(), []int{15}
823
}
824
825
func (x *TeardownResponse) GetSuccess() bool {
826
if x != nil {
827
return x.Success
828
}
829
return false
830
}
831
832
type WipingTeardownRequest struct {
833
state protoimpl.MessageState
834
sizeCache protoimpl.SizeCache
835
unknownFields protoimpl.UnknownFields
836
837
DoWipe bool `protobuf:"varint,1,opt,name=do_wipe,json=doWipe,proto3" json:"do_wipe,omitempty"`
838
}
839
840
func (x *WipingTeardownRequest) Reset() {
841
*x = WipingTeardownRequest{}
842
if protoimpl.UnsafeEnabled {
843
mi := &file_workspace_daemon_proto_msgTypes[16]
844
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
845
ms.StoreMessageInfo(mi)
846
}
847
}
848
849
func (x *WipingTeardownRequest) String() string {
850
return protoimpl.X.MessageStringOf(x)
851
}
852
853
func (*WipingTeardownRequest) ProtoMessage() {}
854
855
func (x *WipingTeardownRequest) ProtoReflect() protoreflect.Message {
856
mi := &file_workspace_daemon_proto_msgTypes[16]
857
if protoimpl.UnsafeEnabled && x != nil {
858
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
859
if ms.LoadMessageInfo() == nil {
860
ms.StoreMessageInfo(mi)
861
}
862
return ms
863
}
864
return mi.MessageOf(x)
865
}
866
867
// Deprecated: Use WipingTeardownRequest.ProtoReflect.Descriptor instead.
868
func (*WipingTeardownRequest) Descriptor() ([]byte, []int) {
869
return file_workspace_daemon_proto_rawDescGZIP(), []int{16}
870
}
871
872
func (x *WipingTeardownRequest) GetDoWipe() bool {
873
if x != nil {
874
return x.DoWipe
875
}
876
return false
877
}
878
879
type WipingTeardownResponse struct {
880
state protoimpl.MessageState
881
sizeCache protoimpl.SizeCache
882
unknownFields protoimpl.UnknownFields
883
884
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
885
}
886
887
func (x *WipingTeardownResponse) Reset() {
888
*x = WipingTeardownResponse{}
889
if protoimpl.UnsafeEnabled {
890
mi := &file_workspace_daemon_proto_msgTypes[17]
891
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
892
ms.StoreMessageInfo(mi)
893
}
894
}
895
896
func (x *WipingTeardownResponse) String() string {
897
return protoimpl.X.MessageStringOf(x)
898
}
899
900
func (*WipingTeardownResponse) ProtoMessage() {}
901
902
func (x *WipingTeardownResponse) ProtoReflect() protoreflect.Message {
903
mi := &file_workspace_daemon_proto_msgTypes[17]
904
if protoimpl.UnsafeEnabled && x != nil {
905
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
906
if ms.LoadMessageInfo() == nil {
907
ms.StoreMessageInfo(mi)
908
}
909
return ms
910
}
911
return mi.MessageOf(x)
912
}
913
914
// Deprecated: Use WipingTeardownResponse.ProtoReflect.Descriptor instead.
915
func (*WipingTeardownResponse) Descriptor() ([]byte, []int) {
916
return file_workspace_daemon_proto_rawDescGZIP(), []int{17}
917
}
918
919
func (x *WipingTeardownResponse) GetSuccess() bool {
920
if x != nil {
921
return x.Success
922
}
923
return false
924
}
925
926
type SetupPairVethsRequest struct {
927
state protoimpl.MessageState
928
sizeCache protoimpl.SizeCache
929
unknownFields protoimpl.UnknownFields
930
931
Pid int64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
932
}
933
934
func (x *SetupPairVethsRequest) Reset() {
935
*x = SetupPairVethsRequest{}
936
if protoimpl.UnsafeEnabled {
937
mi := &file_workspace_daemon_proto_msgTypes[18]
938
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
939
ms.StoreMessageInfo(mi)
940
}
941
}
942
943
func (x *SetupPairVethsRequest) String() string {
944
return protoimpl.X.MessageStringOf(x)
945
}
946
947
func (*SetupPairVethsRequest) ProtoMessage() {}
948
949
func (x *SetupPairVethsRequest) ProtoReflect() protoreflect.Message {
950
mi := &file_workspace_daemon_proto_msgTypes[18]
951
if protoimpl.UnsafeEnabled && x != nil {
952
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
953
if ms.LoadMessageInfo() == nil {
954
ms.StoreMessageInfo(mi)
955
}
956
return ms
957
}
958
return mi.MessageOf(x)
959
}
960
961
// Deprecated: Use SetupPairVethsRequest.ProtoReflect.Descriptor instead.
962
func (*SetupPairVethsRequest) Descriptor() ([]byte, []int) {
963
return file_workspace_daemon_proto_rawDescGZIP(), []int{18}
964
}
965
966
func (x *SetupPairVethsRequest) GetPid() int64 {
967
if x != nil {
968
return x.Pid
969
}
970
return 0
971
}
972
973
type SetupPairVethsResponse struct {
974
state protoimpl.MessageState
975
sizeCache protoimpl.SizeCache
976
unknownFields protoimpl.UnknownFields
977
}
978
979
func (x *SetupPairVethsResponse) Reset() {
980
*x = SetupPairVethsResponse{}
981
if protoimpl.UnsafeEnabled {
982
mi := &file_workspace_daemon_proto_msgTypes[19]
983
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
984
ms.StoreMessageInfo(mi)
985
}
986
}
987
988
func (x *SetupPairVethsResponse) String() string {
989
return protoimpl.X.MessageStringOf(x)
990
}
991
992
func (*SetupPairVethsResponse) ProtoMessage() {}
993
994
func (x *SetupPairVethsResponse) ProtoReflect() protoreflect.Message {
995
mi := &file_workspace_daemon_proto_msgTypes[19]
996
if protoimpl.UnsafeEnabled && x != nil {
997
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
998
if ms.LoadMessageInfo() == nil {
999
ms.StoreMessageInfo(mi)
1000
}
1001
return ms
1002
}
1003
return mi.MessageOf(x)
1004
}
1005
1006
// Deprecated: Use SetupPairVethsResponse.ProtoReflect.Descriptor instead.
1007
func (*SetupPairVethsResponse) Descriptor() ([]byte, []int) {
1008
return file_workspace_daemon_proto_rawDescGZIP(), []int{19}
1009
}
1010
1011
type WorkspaceInfoRequest struct {
1012
state protoimpl.MessageState
1013
sizeCache protoimpl.SizeCache
1014
unknownFields protoimpl.UnknownFields
1015
}
1016
1017
func (x *WorkspaceInfoRequest) Reset() {
1018
*x = WorkspaceInfoRequest{}
1019
if protoimpl.UnsafeEnabled {
1020
mi := &file_workspace_daemon_proto_msgTypes[20]
1021
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1022
ms.StoreMessageInfo(mi)
1023
}
1024
}
1025
1026
func (x *WorkspaceInfoRequest) String() string {
1027
return protoimpl.X.MessageStringOf(x)
1028
}
1029
1030
func (*WorkspaceInfoRequest) ProtoMessage() {}
1031
1032
func (x *WorkspaceInfoRequest) ProtoReflect() protoreflect.Message {
1033
mi := &file_workspace_daemon_proto_msgTypes[20]
1034
if protoimpl.UnsafeEnabled && x != nil {
1035
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1036
if ms.LoadMessageInfo() == nil {
1037
ms.StoreMessageInfo(mi)
1038
}
1039
return ms
1040
}
1041
return mi.MessageOf(x)
1042
}
1043
1044
// Deprecated: Use WorkspaceInfoRequest.ProtoReflect.Descriptor instead.
1045
func (*WorkspaceInfoRequest) Descriptor() ([]byte, []int) {
1046
return file_workspace_daemon_proto_rawDescGZIP(), []int{20}
1047
}
1048
1049
type WorkspaceInfoResponse struct {
1050
state protoimpl.MessageState
1051
sizeCache protoimpl.SizeCache
1052
unknownFields protoimpl.UnknownFields
1053
1054
Resources *Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
1055
}
1056
1057
func (x *WorkspaceInfoResponse) Reset() {
1058
*x = WorkspaceInfoResponse{}
1059
if protoimpl.UnsafeEnabled {
1060
mi := &file_workspace_daemon_proto_msgTypes[21]
1061
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1062
ms.StoreMessageInfo(mi)
1063
}
1064
}
1065
1066
func (x *WorkspaceInfoResponse) String() string {
1067
return protoimpl.X.MessageStringOf(x)
1068
}
1069
1070
func (*WorkspaceInfoResponse) ProtoMessage() {}
1071
1072
func (x *WorkspaceInfoResponse) ProtoReflect() protoreflect.Message {
1073
mi := &file_workspace_daemon_proto_msgTypes[21]
1074
if protoimpl.UnsafeEnabled && x != nil {
1075
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1076
if ms.LoadMessageInfo() == nil {
1077
ms.StoreMessageInfo(mi)
1078
}
1079
return ms
1080
}
1081
return mi.MessageOf(x)
1082
}
1083
1084
// Deprecated: Use WorkspaceInfoResponse.ProtoReflect.Descriptor instead.
1085
func (*WorkspaceInfoResponse) Descriptor() ([]byte, []int) {
1086
return file_workspace_daemon_proto_rawDescGZIP(), []int{21}
1087
}
1088
1089
func (x *WorkspaceInfoResponse) GetResources() *Resources {
1090
if x != nil {
1091
return x.Resources
1092
}
1093
return nil
1094
}
1095
1096
type Resources struct {
1097
state protoimpl.MessageState
1098
sizeCache protoimpl.SizeCache
1099
unknownFields protoimpl.UnknownFields
1100
1101
Cpu *Cpu `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
1102
Memory *Memory `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
1103
}
1104
1105
func (x *Resources) Reset() {
1106
*x = Resources{}
1107
if protoimpl.UnsafeEnabled {
1108
mi := &file_workspace_daemon_proto_msgTypes[22]
1109
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1110
ms.StoreMessageInfo(mi)
1111
}
1112
}
1113
1114
func (x *Resources) String() string {
1115
return protoimpl.X.MessageStringOf(x)
1116
}
1117
1118
func (*Resources) ProtoMessage() {}
1119
1120
func (x *Resources) ProtoReflect() protoreflect.Message {
1121
mi := &file_workspace_daemon_proto_msgTypes[22]
1122
if protoimpl.UnsafeEnabled && x != nil {
1123
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1124
if ms.LoadMessageInfo() == nil {
1125
ms.StoreMessageInfo(mi)
1126
}
1127
return ms
1128
}
1129
return mi.MessageOf(x)
1130
}
1131
1132
// Deprecated: Use Resources.ProtoReflect.Descriptor instead.
1133
func (*Resources) Descriptor() ([]byte, []int) {
1134
return file_workspace_daemon_proto_rawDescGZIP(), []int{22}
1135
}
1136
1137
func (x *Resources) GetCpu() *Cpu {
1138
if x != nil {
1139
return x.Cpu
1140
}
1141
return nil
1142
}
1143
1144
func (x *Resources) GetMemory() *Memory {
1145
if x != nil {
1146
return x.Memory
1147
}
1148
return nil
1149
}
1150
1151
type Cpu struct {
1152
state protoimpl.MessageState
1153
sizeCache protoimpl.SizeCache
1154
unknownFields protoimpl.UnknownFields
1155
1156
Used int64 `protobuf:"varint,1,opt,name=used,proto3" json:"used,omitempty"`
1157
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
1158
}
1159
1160
func (x *Cpu) Reset() {
1161
*x = Cpu{}
1162
if protoimpl.UnsafeEnabled {
1163
mi := &file_workspace_daemon_proto_msgTypes[23]
1164
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1165
ms.StoreMessageInfo(mi)
1166
}
1167
}
1168
1169
func (x *Cpu) String() string {
1170
return protoimpl.X.MessageStringOf(x)
1171
}
1172
1173
func (*Cpu) ProtoMessage() {}
1174
1175
func (x *Cpu) ProtoReflect() protoreflect.Message {
1176
mi := &file_workspace_daemon_proto_msgTypes[23]
1177
if protoimpl.UnsafeEnabled && x != nil {
1178
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1179
if ms.LoadMessageInfo() == nil {
1180
ms.StoreMessageInfo(mi)
1181
}
1182
return ms
1183
}
1184
return mi.MessageOf(x)
1185
}
1186
1187
// Deprecated: Use Cpu.ProtoReflect.Descriptor instead.
1188
func (*Cpu) Descriptor() ([]byte, []int) {
1189
return file_workspace_daemon_proto_rawDescGZIP(), []int{23}
1190
}
1191
1192
func (x *Cpu) GetUsed() int64 {
1193
if x != nil {
1194
return x.Used
1195
}
1196
return 0
1197
}
1198
1199
func (x *Cpu) GetLimit() int64 {
1200
if x != nil {
1201
return x.Limit
1202
}
1203
return 0
1204
}
1205
1206
type Memory struct {
1207
state protoimpl.MessageState
1208
sizeCache protoimpl.SizeCache
1209
unknownFields protoimpl.UnknownFields
1210
1211
Used int64 `protobuf:"varint,1,opt,name=used,proto3" json:"used,omitempty"`
1212
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
1213
}
1214
1215
func (x *Memory) Reset() {
1216
*x = Memory{}
1217
if protoimpl.UnsafeEnabled {
1218
mi := &file_workspace_daemon_proto_msgTypes[24]
1219
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1220
ms.StoreMessageInfo(mi)
1221
}
1222
}
1223
1224
func (x *Memory) String() string {
1225
return protoimpl.X.MessageStringOf(x)
1226
}
1227
1228
func (*Memory) ProtoMessage() {}
1229
1230
func (x *Memory) ProtoReflect() protoreflect.Message {
1231
mi := &file_workspace_daemon_proto_msgTypes[24]
1232
if protoimpl.UnsafeEnabled && x != nil {
1233
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1234
if ms.LoadMessageInfo() == nil {
1235
ms.StoreMessageInfo(mi)
1236
}
1237
return ms
1238
}
1239
return mi.MessageOf(x)
1240
}
1241
1242
// Deprecated: Use Memory.ProtoReflect.Descriptor instead.
1243
func (*Memory) Descriptor() ([]byte, []int) {
1244
return file_workspace_daemon_proto_rawDescGZIP(), []int{24}
1245
}
1246
1247
func (x *Memory) GetUsed() int64 {
1248
if x != nil {
1249
return x.Used
1250
}
1251
return 0
1252
}
1253
1254
func (x *Memory) GetLimit() int64 {
1255
if x != nil {
1256
return x.Limit
1257
}
1258
return 0
1259
}
1260
1261
type WriteIDMappingRequest_Mapping struct {
1262
state protoimpl.MessageState
1263
sizeCache protoimpl.SizeCache
1264
unknownFields protoimpl.UnknownFields
1265
1266
ContainerId uint32 `protobuf:"varint,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
1267
HostId uint32 `protobuf:"varint,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
1268
Size uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
1269
}
1270
1271
func (x *WriteIDMappingRequest_Mapping) Reset() {
1272
*x = WriteIDMappingRequest_Mapping{}
1273
if protoimpl.UnsafeEnabled {
1274
mi := &file_workspace_daemon_proto_msgTypes[25]
1275
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1276
ms.StoreMessageInfo(mi)
1277
}
1278
}
1279
1280
func (x *WriteIDMappingRequest_Mapping) String() string {
1281
return protoimpl.X.MessageStringOf(x)
1282
}
1283
1284
func (*WriteIDMappingRequest_Mapping) ProtoMessage() {}
1285
1286
func (x *WriteIDMappingRequest_Mapping) ProtoReflect() protoreflect.Message {
1287
mi := &file_workspace_daemon_proto_msgTypes[25]
1288
if protoimpl.UnsafeEnabled && x != nil {
1289
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1290
if ms.LoadMessageInfo() == nil {
1291
ms.StoreMessageInfo(mi)
1292
}
1293
return ms
1294
}
1295
return mi.MessageOf(x)
1296
}
1297
1298
// Deprecated: Use WriteIDMappingRequest_Mapping.ProtoReflect.Descriptor instead.
1299
func (*WriteIDMappingRequest_Mapping) Descriptor() ([]byte, []int) {
1300
return file_workspace_daemon_proto_rawDescGZIP(), []int{3, 0}
1301
}
1302
1303
func (x *WriteIDMappingRequest_Mapping) GetContainerId() uint32 {
1304
if x != nil {
1305
return x.ContainerId
1306
}
1307
return 0
1308
}
1309
1310
func (x *WriteIDMappingRequest_Mapping) GetHostId() uint32 {
1311
if x != nil {
1312
return x.HostId
1313
}
1314
return 0
1315
}
1316
1317
func (x *WriteIDMappingRequest_Mapping) GetSize() uint32 {
1318
if x != nil {
1319
return x.Size
1320
}
1321
return 0
1322
}
1323
1324
var File_workspace_daemon_proto protoreflect.FileDescriptor
1325
1326
var file_workspace_daemon_proto_rawDesc = []byte{
1327
0x0a, 0x16, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x65, 0x6d,
1328
0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x69, 0x77, 0x73, 0x22, 0x19, 0x0a,
1329
0x17, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x4e,
1330
0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x87, 0x01, 0x0a, 0x18, 0x50, 0x72, 0x65,
1331
0x70, 0x61, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x53, 0x52, 0x65, 0x73,
1332
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x66, 0x73, 0x5f, 0x73, 0x68, 0x69, 0x66,
1333
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x46, 0x53,
1334
0x53, 0x68, 0x69, 0x66, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x07, 0x66, 0x73, 0x53,
1335
0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65,
1336
0x6e, 0x74, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18,
1337
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e,
1338
0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4a, 0x04, 0x08, 0x02,
1339
0x10, 0x03, 0x22, 0x51, 0x0a, 0x16, 0x57, 0x72, 0x69, 0x74, 0x65, 0x49, 0x44, 0x4d, 0x61, 0x70,
1340
0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07,
1341
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
1342
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
1343
0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f,
1344
0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x15, 0x57, 0x72, 0x69, 0x74, 0x65, 0x49,
1345
0x44, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
1346
0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69,
1347
0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03,
1348
0x67, 0x69, 0x64, 0x12, 0x3c, 0x0a, 0x07, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03,
1349
0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65,
1350
0x49, 0x44, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1351
0x2e, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e,
1352
0x67, 0x1a, 0x59, 0x0a, 0x07, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0c,
1353
0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
1354
0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12,
1355
0x17, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
1356
0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
1357
0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x17, 0x0a, 0x15,
1358
0x45, 0x76, 0x61, 0x63, 0x75, 0x61, 0x74, 0x65, 0x43, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65,
1359
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x18, 0x0a, 0x16, 0x45, 0x76, 0x61, 0x63, 0x75, 0x61, 0x74,
1360
0x65, 0x43, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
1361
0x3c, 0x0a, 0x10, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x52, 0x65, 0x71, 0x75,
1362
0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20,
1363
0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70,
1364
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x13, 0x0a,
1365
0x11, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1366
0x73, 0x65, 0x22, 0x3d, 0x0a, 0x11, 0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63,
1367
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65,
1368
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12,
1369
0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69,
1370
0x64, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x52,
1371
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x0f, 0x4d, 0x6f, 0x75, 0x6e, 0x74,
1372
0x4e, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f,
1373
0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72,
1374
0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01,
1375
0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72,
1376
0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10,
1377
0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64,
1378
0x22, 0x12, 0x0a, 0x10, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70,
1379
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x0a, 0x10, 0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x66,
1380
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67,
1381
0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1382
0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70,
1383
0x69, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x66, 0x73, 0x52,
1384
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x54, 0x65, 0x61, 0x72, 0x64,
1385
0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2c, 0x0a, 0x10, 0x54, 0x65,
1386
0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
1387
0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
1388
0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x30, 0x0a, 0x15, 0x57, 0x69, 0x70, 0x69,
1389
0x6e, 0x67, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1390
0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x6f, 0x5f, 0x77, 0x69, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
1391
0x28, 0x08, 0x52, 0x06, 0x64, 0x6f, 0x57, 0x69, 0x70, 0x65, 0x22, 0x32, 0x0a, 0x16, 0x57, 0x69,
1392
0x70, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70,
1393
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18,
1394
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x29,
1395
0x0a, 0x15, 0x53, 0x65, 0x74, 0x75, 0x70, 0x50, 0x61, 0x69, 0x72, 0x56, 0x65, 0x74, 0x68, 0x73,
1396
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01,
1397
0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x65, 0x74,
1398
0x75, 0x70, 0x50, 0x61, 0x69, 0x72, 0x56, 0x65, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
1399
0x6e, 0x73, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
1400
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x45, 0x0a, 0x15, 0x57,
1401
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,
1402
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1403
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x52, 0x65,
1404
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1405
0x65, 0x73, 0x22, 0x4c, 0x0a, 0x09, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12,
1406
0x1a, 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x69,
1407
0x77, 0x73, 0x2e, 0x43, 0x70, 0x75, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x23, 0x0a, 0x06, 0x6d,
1408
0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x69, 0x77,
1409
0x73, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79,
1410
0x22, 0x2f, 0x0a, 0x03, 0x43, 0x70, 0x75, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18,
1411
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c,
1412
0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
1413
0x74, 0x22, 0x32, 0x0a, 0x06, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x75,
1414
0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x12,
1415
0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
1416
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2a, 0x22, 0x0a, 0x0d, 0x46, 0x53, 0x53, 0x68, 0x69, 0x66, 0x74,
1417
0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x48, 0x49, 0x46, 0x54, 0x46,
1418
0x53, 0x10, 0x00, 0x22, 0x04, 0x08, 0x01, 0x10, 0x01, 0x32, 0x99, 0x07, 0x0a, 0x12, 0x49, 0x6e,
1419
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1420
0x12, 0x51, 0x0a, 0x10, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x73,
1421
0x65, 0x72, 0x4e, 0x53, 0x12, 0x1c, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61,
1422
0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65,
1423
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65,
1424
0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1425
0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x49, 0x44, 0x4d, 0x61,
1426
0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x57, 0x72, 0x69, 0x74,
1427
0x65, 0x49, 0x44, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1428
0x74, 0x1a, 0x1b, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x49, 0x44, 0x4d,
1429
0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
1430
0x12, 0x4b, 0x0a, 0x0e, 0x45, 0x76, 0x61, 0x63, 0x75, 0x61, 0x74, 0x65, 0x43, 0x47, 0x72, 0x6f,
1431
0x75, 0x70, 0x12, 0x1a, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x45, 0x76, 0x61, 0x63, 0x75, 0x61, 0x74,
1432
0x65, 0x43, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b,
1433
0x2e, 0x69, 0x77, 0x73, 0x2e, 0x45, 0x76, 0x61, 0x63, 0x75, 0x61, 0x74, 0x65, 0x43, 0x47, 0x72,
1434
0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a,
1435
0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x12, 0x15, 0x2e, 0x69, 0x77, 0x73,
1436
0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1437
0x74, 0x1a, 0x16, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f,
1438
0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x55,
1439
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x12, 0x16, 0x2e, 0x69, 0x77, 0x73, 0x2e,
1440
0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1441
0x74, 0x1a, 0x17, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72,
1442
0x6f, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0a,
1443
0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x66, 0x73, 0x12, 0x15, 0x2e, 0x69, 0x77, 0x73,
1444
0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1445
0x74, 0x1a, 0x16, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f,
1446
0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x55,
1447
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x79, 0x73, 0x66, 0x73, 0x12, 0x16, 0x2e, 0x69, 0x77, 0x73,
1448
0x2e, 0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65,
1449
0x73, 0x74, 0x1a, 0x17, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50,
1450
0x72, 0x6f, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a,
1451
0x08, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x66, 0x73, 0x12, 0x14, 0x2e, 0x69, 0x77, 0x73, 0x2e,
1452
0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
1453
0x15, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x66, 0x73, 0x52, 0x65,
1454
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x09, 0x55, 0x6d, 0x6f, 0x75,
1455
0x6e, 0x74, 0x4e, 0x66, 0x73, 0x12, 0x15, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x55, 0x6d, 0x6f, 0x75,
1456
0x6e, 0x74, 0x4e, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x69,
1457
0x77, 0x73, 0x2e, 0x55, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70,
1458
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x08, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f,
1459
0x77, 0x6e, 0x12, 0x14, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77,
1460
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x54,
1461
0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
1462
0x00, 0x12, 0x4b, 0x0a, 0x0e, 0x57, 0x69, 0x70, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x61, 0x72, 0x64,
1463
0x6f, 0x77, 0x6e, 0x12, 0x1a, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x57, 0x69, 0x70, 0x69, 0x6e, 0x67,
1464
0x54, 0x65, 0x61, 0x72, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
1465
0x1b, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x57, 0x69, 0x70, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x61, 0x72,
1466
0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b,
1467
0x0a, 0x0e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x50, 0x61, 0x69, 0x72, 0x56, 0x65, 0x74, 0x68, 0x73,
1468
0x12, 0x1a, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x50, 0x61, 0x69, 0x72,
1469
0x56, 0x65, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x69,
1470
0x77, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x50, 0x61, 0x69, 0x72, 0x56, 0x65, 0x74, 0x68,
1471
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x0d, 0x57,
1472
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x69,
1473
0x77, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
1474
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x69, 0x77, 0x73, 0x2e, 0x57, 0x6f,
1475
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
1476
0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0x60, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
1477
0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a,
1478
0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19,
1479
0x2e, 0x69, 0x77, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e,
1480
0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x69, 0x77, 0x73, 0x2e,
1481
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
1482
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75,
1483
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f,
1484
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x77, 0x73, 0x2d, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e,
1485
0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1486
}
1487
1488
var (
1489
file_workspace_daemon_proto_rawDescOnce sync.Once
1490
file_workspace_daemon_proto_rawDescData = file_workspace_daemon_proto_rawDesc
1491
)
1492
1493
func file_workspace_daemon_proto_rawDescGZIP() []byte {
1494
file_workspace_daemon_proto_rawDescOnce.Do(func() {
1495
file_workspace_daemon_proto_rawDescData = protoimpl.X.CompressGZIP(file_workspace_daemon_proto_rawDescData)
1496
})
1497
return file_workspace_daemon_proto_rawDescData
1498
}
1499
1500
var file_workspace_daemon_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1501
var file_workspace_daemon_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
1502
var file_workspace_daemon_proto_goTypes = []interface{}{
1503
(FSShiftMethod)(0), // 0: iws.FSShiftMethod
1504
(*PrepareForUserNSRequest)(nil), // 1: iws.PrepareForUserNSRequest
1505
(*PrepareForUserNSResponse)(nil), // 2: iws.PrepareForUserNSResponse
1506
(*WriteIDMappingResponse)(nil), // 3: iws.WriteIDMappingResponse
1507
(*WriteIDMappingRequest)(nil), // 4: iws.WriteIDMappingRequest
1508
(*EvacuateCGroupRequest)(nil), // 5: iws.EvacuateCGroupRequest
1509
(*EvacuateCGroupResponse)(nil), // 6: iws.EvacuateCGroupResponse
1510
(*MountProcRequest)(nil), // 7: iws.MountProcRequest
1511
(*MountProcResponse)(nil), // 8: iws.MountProcResponse
1512
(*UmountProcRequest)(nil), // 9: iws.UmountProcRequest
1513
(*UmountProcResponse)(nil), // 10: iws.UmountProcResponse
1514
(*MountNfsRequest)(nil), // 11: iws.MountNfsRequest
1515
(*MountNfsResponse)(nil), // 12: iws.MountNfsResponse
1516
(*UmountNfsRequest)(nil), // 13: iws.UmountNfsRequest
1517
(*UmountNfsResponse)(nil), // 14: iws.UmountNfsResponse
1518
(*TeardownRequest)(nil), // 15: iws.TeardownRequest
1519
(*TeardownResponse)(nil), // 16: iws.TeardownResponse
1520
(*WipingTeardownRequest)(nil), // 17: iws.WipingTeardownRequest
1521
(*WipingTeardownResponse)(nil), // 18: iws.WipingTeardownResponse
1522
(*SetupPairVethsRequest)(nil), // 19: iws.SetupPairVethsRequest
1523
(*SetupPairVethsResponse)(nil), // 20: iws.SetupPairVethsResponse
1524
(*WorkspaceInfoRequest)(nil), // 21: iws.WorkspaceInfoRequest
1525
(*WorkspaceInfoResponse)(nil), // 22: iws.WorkspaceInfoResponse
1526
(*Resources)(nil), // 23: iws.Resources
1527
(*Cpu)(nil), // 24: iws.Cpu
1528
(*Memory)(nil), // 25: iws.Memory
1529
(*WriteIDMappingRequest_Mapping)(nil), // 26: iws.WriteIDMappingRequest.Mapping
1530
}
1531
var file_workspace_daemon_proto_depIdxs = []int32{
1532
0, // 0: iws.PrepareForUserNSResponse.fs_shift:type_name -> iws.FSShiftMethod
1533
26, // 1: iws.WriteIDMappingRequest.mapping:type_name -> iws.WriteIDMappingRequest.Mapping
1534
23, // 2: iws.WorkspaceInfoResponse.resources:type_name -> iws.Resources
1535
24, // 3: iws.Resources.cpu:type_name -> iws.Cpu
1536
25, // 4: iws.Resources.memory:type_name -> iws.Memory
1537
1, // 5: iws.InWorkspaceService.PrepareForUserNS:input_type -> iws.PrepareForUserNSRequest
1538
4, // 6: iws.InWorkspaceService.WriteIDMapping:input_type -> iws.WriteIDMappingRequest
1539
5, // 7: iws.InWorkspaceService.EvacuateCGroup:input_type -> iws.EvacuateCGroupRequest
1540
7, // 8: iws.InWorkspaceService.MountProc:input_type -> iws.MountProcRequest
1541
9, // 9: iws.InWorkspaceService.UmountProc:input_type -> iws.UmountProcRequest
1542
7, // 10: iws.InWorkspaceService.MountSysfs:input_type -> iws.MountProcRequest
1543
9, // 11: iws.InWorkspaceService.UmountSysfs:input_type -> iws.UmountProcRequest
1544
11, // 12: iws.InWorkspaceService.MountNfs:input_type -> iws.MountNfsRequest
1545
13, // 13: iws.InWorkspaceService.UmountNfs:input_type -> iws.UmountNfsRequest
1546
15, // 14: iws.InWorkspaceService.Teardown:input_type -> iws.TeardownRequest
1547
17, // 15: iws.InWorkspaceService.WipingTeardown:input_type -> iws.WipingTeardownRequest
1548
19, // 16: iws.InWorkspaceService.SetupPairVeths:input_type -> iws.SetupPairVethsRequest
1549
21, // 17: iws.InWorkspaceService.WorkspaceInfo:input_type -> iws.WorkspaceInfoRequest
1550
21, // 18: iws.WorkspaceInfoService.WorkspaceInfo:input_type -> iws.WorkspaceInfoRequest
1551
2, // 19: iws.InWorkspaceService.PrepareForUserNS:output_type -> iws.PrepareForUserNSResponse
1552
3, // 20: iws.InWorkspaceService.WriteIDMapping:output_type -> iws.WriteIDMappingResponse
1553
6, // 21: iws.InWorkspaceService.EvacuateCGroup:output_type -> iws.EvacuateCGroupResponse
1554
8, // 22: iws.InWorkspaceService.MountProc:output_type -> iws.MountProcResponse
1555
10, // 23: iws.InWorkspaceService.UmountProc:output_type -> iws.UmountProcResponse
1556
8, // 24: iws.InWorkspaceService.MountSysfs:output_type -> iws.MountProcResponse
1557
10, // 25: iws.InWorkspaceService.UmountSysfs:output_type -> iws.UmountProcResponse
1558
12, // 26: iws.InWorkspaceService.MountNfs:output_type -> iws.MountNfsResponse
1559
14, // 27: iws.InWorkspaceService.UmountNfs:output_type -> iws.UmountNfsResponse
1560
16, // 28: iws.InWorkspaceService.Teardown:output_type -> iws.TeardownResponse
1561
18, // 29: iws.InWorkspaceService.WipingTeardown:output_type -> iws.WipingTeardownResponse
1562
20, // 30: iws.InWorkspaceService.SetupPairVeths:output_type -> iws.SetupPairVethsResponse
1563
22, // 31: iws.InWorkspaceService.WorkspaceInfo:output_type -> iws.WorkspaceInfoResponse
1564
22, // 32: iws.WorkspaceInfoService.WorkspaceInfo:output_type -> iws.WorkspaceInfoResponse
1565
19, // [19:33] is the sub-list for method output_type
1566
5, // [5:19] is the sub-list for method input_type
1567
5, // [5:5] is the sub-list for extension type_name
1568
5, // [5:5] is the sub-list for extension extendee
1569
0, // [0:5] is the sub-list for field type_name
1570
}
1571
1572
func init() { file_workspace_daemon_proto_init() }
1573
func file_workspace_daemon_proto_init() {
1574
if File_workspace_daemon_proto != nil {
1575
return
1576
}
1577
if !protoimpl.UnsafeEnabled {
1578
file_workspace_daemon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1579
switch v := v.(*PrepareForUserNSRequest); i {
1580
case 0:
1581
return &v.state
1582
case 1:
1583
return &v.sizeCache
1584
case 2:
1585
return &v.unknownFields
1586
default:
1587
return nil
1588
}
1589
}
1590
file_workspace_daemon_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1591
switch v := v.(*PrepareForUserNSResponse); i {
1592
case 0:
1593
return &v.state
1594
case 1:
1595
return &v.sizeCache
1596
case 2:
1597
return &v.unknownFields
1598
default:
1599
return nil
1600
}
1601
}
1602
file_workspace_daemon_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1603
switch v := v.(*WriteIDMappingResponse); i {
1604
case 0:
1605
return &v.state
1606
case 1:
1607
return &v.sizeCache
1608
case 2:
1609
return &v.unknownFields
1610
default:
1611
return nil
1612
}
1613
}
1614
file_workspace_daemon_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1615
switch v := v.(*WriteIDMappingRequest); i {
1616
case 0:
1617
return &v.state
1618
case 1:
1619
return &v.sizeCache
1620
case 2:
1621
return &v.unknownFields
1622
default:
1623
return nil
1624
}
1625
}
1626
file_workspace_daemon_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1627
switch v := v.(*EvacuateCGroupRequest); i {
1628
case 0:
1629
return &v.state
1630
case 1:
1631
return &v.sizeCache
1632
case 2:
1633
return &v.unknownFields
1634
default:
1635
return nil
1636
}
1637
}
1638
file_workspace_daemon_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1639
switch v := v.(*EvacuateCGroupResponse); i {
1640
case 0:
1641
return &v.state
1642
case 1:
1643
return &v.sizeCache
1644
case 2:
1645
return &v.unknownFields
1646
default:
1647
return nil
1648
}
1649
}
1650
file_workspace_daemon_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1651
switch v := v.(*MountProcRequest); i {
1652
case 0:
1653
return &v.state
1654
case 1:
1655
return &v.sizeCache
1656
case 2:
1657
return &v.unknownFields
1658
default:
1659
return nil
1660
}
1661
}
1662
file_workspace_daemon_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1663
switch v := v.(*MountProcResponse); i {
1664
case 0:
1665
return &v.state
1666
case 1:
1667
return &v.sizeCache
1668
case 2:
1669
return &v.unknownFields
1670
default:
1671
return nil
1672
}
1673
}
1674
file_workspace_daemon_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1675
switch v := v.(*UmountProcRequest); i {
1676
case 0:
1677
return &v.state
1678
case 1:
1679
return &v.sizeCache
1680
case 2:
1681
return &v.unknownFields
1682
default:
1683
return nil
1684
}
1685
}
1686
file_workspace_daemon_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1687
switch v := v.(*UmountProcResponse); i {
1688
case 0:
1689
return &v.state
1690
case 1:
1691
return &v.sizeCache
1692
case 2:
1693
return &v.unknownFields
1694
default:
1695
return nil
1696
}
1697
}
1698
file_workspace_daemon_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1699
switch v := v.(*MountNfsRequest); i {
1700
case 0:
1701
return &v.state
1702
case 1:
1703
return &v.sizeCache
1704
case 2:
1705
return &v.unknownFields
1706
default:
1707
return nil
1708
}
1709
}
1710
file_workspace_daemon_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1711
switch v := v.(*MountNfsResponse); i {
1712
case 0:
1713
return &v.state
1714
case 1:
1715
return &v.sizeCache
1716
case 2:
1717
return &v.unknownFields
1718
default:
1719
return nil
1720
}
1721
}
1722
file_workspace_daemon_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1723
switch v := v.(*UmountNfsRequest); i {
1724
case 0:
1725
return &v.state
1726
case 1:
1727
return &v.sizeCache
1728
case 2:
1729
return &v.unknownFields
1730
default:
1731
return nil
1732
}
1733
}
1734
file_workspace_daemon_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1735
switch v := v.(*UmountNfsResponse); i {
1736
case 0:
1737
return &v.state
1738
case 1:
1739
return &v.sizeCache
1740
case 2:
1741
return &v.unknownFields
1742
default:
1743
return nil
1744
}
1745
}
1746
file_workspace_daemon_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1747
switch v := v.(*TeardownRequest); i {
1748
case 0:
1749
return &v.state
1750
case 1:
1751
return &v.sizeCache
1752
case 2:
1753
return &v.unknownFields
1754
default:
1755
return nil
1756
}
1757
}
1758
file_workspace_daemon_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1759
switch v := v.(*TeardownResponse); i {
1760
case 0:
1761
return &v.state
1762
case 1:
1763
return &v.sizeCache
1764
case 2:
1765
return &v.unknownFields
1766
default:
1767
return nil
1768
}
1769
}
1770
file_workspace_daemon_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
1771
switch v := v.(*WipingTeardownRequest); i {
1772
case 0:
1773
return &v.state
1774
case 1:
1775
return &v.sizeCache
1776
case 2:
1777
return &v.unknownFields
1778
default:
1779
return nil
1780
}
1781
}
1782
file_workspace_daemon_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
1783
switch v := v.(*WipingTeardownResponse); i {
1784
case 0:
1785
return &v.state
1786
case 1:
1787
return &v.sizeCache
1788
case 2:
1789
return &v.unknownFields
1790
default:
1791
return nil
1792
}
1793
}
1794
file_workspace_daemon_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
1795
switch v := v.(*SetupPairVethsRequest); i {
1796
case 0:
1797
return &v.state
1798
case 1:
1799
return &v.sizeCache
1800
case 2:
1801
return &v.unknownFields
1802
default:
1803
return nil
1804
}
1805
}
1806
file_workspace_daemon_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
1807
switch v := v.(*SetupPairVethsResponse); i {
1808
case 0:
1809
return &v.state
1810
case 1:
1811
return &v.sizeCache
1812
case 2:
1813
return &v.unknownFields
1814
default:
1815
return nil
1816
}
1817
}
1818
file_workspace_daemon_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
1819
switch v := v.(*WorkspaceInfoRequest); i {
1820
case 0:
1821
return &v.state
1822
case 1:
1823
return &v.sizeCache
1824
case 2:
1825
return &v.unknownFields
1826
default:
1827
return nil
1828
}
1829
}
1830
file_workspace_daemon_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
1831
switch v := v.(*WorkspaceInfoResponse); i {
1832
case 0:
1833
return &v.state
1834
case 1:
1835
return &v.sizeCache
1836
case 2:
1837
return &v.unknownFields
1838
default:
1839
return nil
1840
}
1841
}
1842
file_workspace_daemon_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
1843
switch v := v.(*Resources); i {
1844
case 0:
1845
return &v.state
1846
case 1:
1847
return &v.sizeCache
1848
case 2:
1849
return &v.unknownFields
1850
default:
1851
return nil
1852
}
1853
}
1854
file_workspace_daemon_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
1855
switch v := v.(*Cpu); i {
1856
case 0:
1857
return &v.state
1858
case 1:
1859
return &v.sizeCache
1860
case 2:
1861
return &v.unknownFields
1862
default:
1863
return nil
1864
}
1865
}
1866
file_workspace_daemon_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
1867
switch v := v.(*Memory); i {
1868
case 0:
1869
return &v.state
1870
case 1:
1871
return &v.sizeCache
1872
case 2:
1873
return &v.unknownFields
1874
default:
1875
return nil
1876
}
1877
}
1878
file_workspace_daemon_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
1879
switch v := v.(*WriteIDMappingRequest_Mapping); i {
1880
case 0:
1881
return &v.state
1882
case 1:
1883
return &v.sizeCache
1884
case 2:
1885
return &v.unknownFields
1886
default:
1887
return nil
1888
}
1889
}
1890
}
1891
type x struct{}
1892
out := protoimpl.TypeBuilder{
1893
File: protoimpl.DescBuilder{
1894
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1895
RawDescriptor: file_workspace_daemon_proto_rawDesc,
1896
NumEnums: 1,
1897
NumMessages: 26,
1898
NumExtensions: 0,
1899
NumServices: 2,
1900
},
1901
GoTypes: file_workspace_daemon_proto_goTypes,
1902
DependencyIndexes: file_workspace_daemon_proto_depIdxs,
1903
EnumInfos: file_workspace_daemon_proto_enumTypes,
1904
MessageInfos: file_workspace_daemon_proto_msgTypes,
1905
}.Build()
1906
File_workspace_daemon_proto = out.File
1907
file_workspace_daemon_proto_rawDesc = nil
1908
file_workspace_daemon_proto_goTypes = nil
1909
file_workspace_daemon_proto_depIdxs = nil
1910
}
1911
1912