Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/supervisor-api/go/control.pb.go
2498 views
1
// Copyright (c) 2020 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: control.proto
10
11
package api
12
13
import (
14
_ "google.golang.org/genproto/googleapis/api/annotations"
15
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17
reflect "reflect"
18
sync "sync"
19
)
20
21
const (
22
// Verify that this generated code is sufficiently up-to-date.
23
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
// Verify that runtime/protoimpl is sufficiently up-to-date.
25
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26
)
27
28
type ExposePortRequest struct {
29
state protoimpl.MessageState
30
sizeCache protoimpl.SizeCache
31
unknownFields protoimpl.UnknownFields
32
33
// local port
34
Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
35
}
36
37
func (x *ExposePortRequest) Reset() {
38
*x = ExposePortRequest{}
39
if protoimpl.UnsafeEnabled {
40
mi := &file_control_proto_msgTypes[0]
41
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42
ms.StoreMessageInfo(mi)
43
}
44
}
45
46
func (x *ExposePortRequest) String() string {
47
return protoimpl.X.MessageStringOf(x)
48
}
49
50
func (*ExposePortRequest) ProtoMessage() {}
51
52
func (x *ExposePortRequest) ProtoReflect() protoreflect.Message {
53
mi := &file_control_proto_msgTypes[0]
54
if protoimpl.UnsafeEnabled && x != nil {
55
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56
if ms.LoadMessageInfo() == nil {
57
ms.StoreMessageInfo(mi)
58
}
59
return ms
60
}
61
return mi.MessageOf(x)
62
}
63
64
// Deprecated: Use ExposePortRequest.ProtoReflect.Descriptor instead.
65
func (*ExposePortRequest) Descriptor() ([]byte, []int) {
66
return file_control_proto_rawDescGZIP(), []int{0}
67
}
68
69
func (x *ExposePortRequest) GetPort() uint32 {
70
if x != nil {
71
return x.Port
72
}
73
return 0
74
}
75
76
type ExposePortResponse struct {
77
state protoimpl.MessageState
78
sizeCache protoimpl.SizeCache
79
unknownFields protoimpl.UnknownFields
80
}
81
82
func (x *ExposePortResponse) Reset() {
83
*x = ExposePortResponse{}
84
if protoimpl.UnsafeEnabled {
85
mi := &file_control_proto_msgTypes[1]
86
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87
ms.StoreMessageInfo(mi)
88
}
89
}
90
91
func (x *ExposePortResponse) String() string {
92
return protoimpl.X.MessageStringOf(x)
93
}
94
95
func (*ExposePortResponse) ProtoMessage() {}
96
97
func (x *ExposePortResponse) ProtoReflect() protoreflect.Message {
98
mi := &file_control_proto_msgTypes[1]
99
if protoimpl.UnsafeEnabled && x != nil {
100
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
101
if ms.LoadMessageInfo() == nil {
102
ms.StoreMessageInfo(mi)
103
}
104
return ms
105
}
106
return mi.MessageOf(x)
107
}
108
109
// Deprecated: Use ExposePortResponse.ProtoReflect.Descriptor instead.
110
func (*ExposePortResponse) Descriptor() ([]byte, []int) {
111
return file_control_proto_rawDescGZIP(), []int{1}
112
}
113
114
type CreateSSHKeyPairRequest struct {
115
state protoimpl.MessageState
116
sizeCache protoimpl.SizeCache
117
unknownFields protoimpl.UnknownFields
118
}
119
120
func (x *CreateSSHKeyPairRequest) Reset() {
121
*x = CreateSSHKeyPairRequest{}
122
if protoimpl.UnsafeEnabled {
123
mi := &file_control_proto_msgTypes[2]
124
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
125
ms.StoreMessageInfo(mi)
126
}
127
}
128
129
func (x *CreateSSHKeyPairRequest) String() string {
130
return protoimpl.X.MessageStringOf(x)
131
}
132
133
func (*CreateSSHKeyPairRequest) ProtoMessage() {}
134
135
func (x *CreateSSHKeyPairRequest) ProtoReflect() protoreflect.Message {
136
mi := &file_control_proto_msgTypes[2]
137
if protoimpl.UnsafeEnabled && x != nil {
138
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
139
if ms.LoadMessageInfo() == nil {
140
ms.StoreMessageInfo(mi)
141
}
142
return ms
143
}
144
return mi.MessageOf(x)
145
}
146
147
// Deprecated: Use CreateSSHKeyPairRequest.ProtoReflect.Descriptor instead.
148
func (*CreateSSHKeyPairRequest) Descriptor() ([]byte, []int) {
149
return file_control_proto_rawDescGZIP(), []int{2}
150
}
151
152
type CreateSSHKeyPairResponse struct {
153
state protoimpl.MessageState
154
sizeCache protoimpl.SizeCache
155
unknownFields protoimpl.UnknownFields
156
157
// Return privateKey for ws-proxy or web socket tunnels
158
PrivateKey string `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
159
// Return hostKey used by client to verify fingerprint
160
HostKey *SSHPublicKey `protobuf:"bytes,2,opt,name=host_key,json=hostKey,proto3" json:"host_key,omitempty"`
161
// Return userName used by client to authenticate
162
UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
163
}
164
165
func (x *CreateSSHKeyPairResponse) Reset() {
166
*x = CreateSSHKeyPairResponse{}
167
if protoimpl.UnsafeEnabled {
168
mi := &file_control_proto_msgTypes[3]
169
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170
ms.StoreMessageInfo(mi)
171
}
172
}
173
174
func (x *CreateSSHKeyPairResponse) String() string {
175
return protoimpl.X.MessageStringOf(x)
176
}
177
178
func (*CreateSSHKeyPairResponse) ProtoMessage() {}
179
180
func (x *CreateSSHKeyPairResponse) ProtoReflect() protoreflect.Message {
181
mi := &file_control_proto_msgTypes[3]
182
if protoimpl.UnsafeEnabled && x != nil {
183
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
184
if ms.LoadMessageInfo() == nil {
185
ms.StoreMessageInfo(mi)
186
}
187
return ms
188
}
189
return mi.MessageOf(x)
190
}
191
192
// Deprecated: Use CreateSSHKeyPairResponse.ProtoReflect.Descriptor instead.
193
func (*CreateSSHKeyPairResponse) Descriptor() ([]byte, []int) {
194
return file_control_proto_rawDescGZIP(), []int{3}
195
}
196
197
func (x *CreateSSHKeyPairResponse) GetPrivateKey() string {
198
if x != nil {
199
return x.PrivateKey
200
}
201
return ""
202
}
203
204
func (x *CreateSSHKeyPairResponse) GetHostKey() *SSHPublicKey {
205
if x != nil {
206
return x.HostKey
207
}
208
return nil
209
}
210
211
func (x *CreateSSHKeyPairResponse) GetUserName() string {
212
if x != nil {
213
return x.UserName
214
}
215
return ""
216
}
217
218
type SSHPublicKey struct {
219
state protoimpl.MessageState
220
sizeCache protoimpl.SizeCache
221
unknownFields protoimpl.UnknownFields
222
223
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
224
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
225
}
226
227
func (x *SSHPublicKey) Reset() {
228
*x = SSHPublicKey{}
229
if protoimpl.UnsafeEnabled {
230
mi := &file_control_proto_msgTypes[4]
231
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
232
ms.StoreMessageInfo(mi)
233
}
234
}
235
236
func (x *SSHPublicKey) String() string {
237
return protoimpl.X.MessageStringOf(x)
238
}
239
240
func (*SSHPublicKey) ProtoMessage() {}
241
242
func (x *SSHPublicKey) ProtoReflect() protoreflect.Message {
243
mi := &file_control_proto_msgTypes[4]
244
if protoimpl.UnsafeEnabled && x != nil {
245
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246
if ms.LoadMessageInfo() == nil {
247
ms.StoreMessageInfo(mi)
248
}
249
return ms
250
}
251
return mi.MessageOf(x)
252
}
253
254
// Deprecated: Use SSHPublicKey.ProtoReflect.Descriptor instead.
255
func (*SSHPublicKey) Descriptor() ([]byte, []int) {
256
return file_control_proto_rawDescGZIP(), []int{4}
257
}
258
259
func (x *SSHPublicKey) GetType() string {
260
if x != nil {
261
return x.Type
262
}
263
return ""
264
}
265
266
func (x *SSHPublicKey) GetValue() string {
267
if x != nil {
268
return x.Value
269
}
270
return ""
271
}
272
273
type CreateDebugEnvRequest struct {
274
state protoimpl.MessageState
275
sizeCache protoimpl.SizeCache
276
unknownFields protoimpl.UnknownFields
277
278
// workspace_type indicates whether it is a regular or prebuild workspace
279
WorkspaceType DebugWorkspaceType `protobuf:"varint,1,opt,name=workspace_type,json=workspaceType,proto3,enum=supervisor.DebugWorkspaceType" json:"workspace_type,omitempty"`
280
// content_source indicates where the workspace content came from
281
ContentSource ContentSource `protobuf:"varint,2,opt,name=content_source,json=contentSource,proto3,enum=supervisor.ContentSource" json:"content_source,omitempty"`
282
// workspace_url is an URL for which the workspace is accessed.
283
WorkspaceUrl string `protobuf:"bytes,3,opt,name=workspace_url,json=workspaceUrl,proto3" json:"workspace_url,omitempty"`
284
// JSON serialized tasks to run
285
Tasks string `protobuf:"bytes,4,opt,name=tasks,proto3" json:"tasks,omitempty"`
286
// checkout_location is the path where we initialized the workspace content
287
CheckoutLocation string `protobuf:"bytes,5,opt,name=checkout_location,json=checkoutLocation,proto3" json:"checkout_location,omitempty"`
288
// workspace_location is the location of the IDE workspace
289
WorkspaceLocation string `protobuf:"bytes,6,opt,name=workspace_location,json=workspaceLocation,proto3" json:"workspace_location,omitempty"`
290
// logLevel to use in a debug workspace.
291
LogLevel string `protobuf:"bytes,7,opt,name=logLevel,proto3" json:"logLevel,omitempty"`
292
}
293
294
func (x *CreateDebugEnvRequest) Reset() {
295
*x = CreateDebugEnvRequest{}
296
if protoimpl.UnsafeEnabled {
297
mi := &file_control_proto_msgTypes[5]
298
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
299
ms.StoreMessageInfo(mi)
300
}
301
}
302
303
func (x *CreateDebugEnvRequest) String() string {
304
return protoimpl.X.MessageStringOf(x)
305
}
306
307
func (*CreateDebugEnvRequest) ProtoMessage() {}
308
309
func (x *CreateDebugEnvRequest) ProtoReflect() protoreflect.Message {
310
mi := &file_control_proto_msgTypes[5]
311
if protoimpl.UnsafeEnabled && x != nil {
312
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
313
if ms.LoadMessageInfo() == nil {
314
ms.StoreMessageInfo(mi)
315
}
316
return ms
317
}
318
return mi.MessageOf(x)
319
}
320
321
// Deprecated: Use CreateDebugEnvRequest.ProtoReflect.Descriptor instead.
322
func (*CreateDebugEnvRequest) Descriptor() ([]byte, []int) {
323
return file_control_proto_rawDescGZIP(), []int{5}
324
}
325
326
func (x *CreateDebugEnvRequest) GetWorkspaceType() DebugWorkspaceType {
327
if x != nil {
328
return x.WorkspaceType
329
}
330
return DebugWorkspaceType_noDebug
331
}
332
333
func (x *CreateDebugEnvRequest) GetContentSource() ContentSource {
334
if x != nil {
335
return x.ContentSource
336
}
337
return ContentSource_from_other
338
}
339
340
func (x *CreateDebugEnvRequest) GetWorkspaceUrl() string {
341
if x != nil {
342
return x.WorkspaceUrl
343
}
344
return ""
345
}
346
347
func (x *CreateDebugEnvRequest) GetTasks() string {
348
if x != nil {
349
return x.Tasks
350
}
351
return ""
352
}
353
354
func (x *CreateDebugEnvRequest) GetCheckoutLocation() string {
355
if x != nil {
356
return x.CheckoutLocation
357
}
358
return ""
359
}
360
361
func (x *CreateDebugEnvRequest) GetWorkspaceLocation() string {
362
if x != nil {
363
return x.WorkspaceLocation
364
}
365
return ""
366
}
367
368
func (x *CreateDebugEnvRequest) GetLogLevel() string {
369
if x != nil {
370
return x.LogLevel
371
}
372
return ""
373
}
374
375
type CreateDebugEnvResponse struct {
376
state protoimpl.MessageState
377
sizeCache protoimpl.SizeCache
378
unknownFields protoimpl.UnknownFields
379
380
Envs []string `protobuf:"bytes,1,rep,name=envs,proto3" json:"envs,omitempty"`
381
}
382
383
func (x *CreateDebugEnvResponse) Reset() {
384
*x = CreateDebugEnvResponse{}
385
if protoimpl.UnsafeEnabled {
386
mi := &file_control_proto_msgTypes[6]
387
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
388
ms.StoreMessageInfo(mi)
389
}
390
}
391
392
func (x *CreateDebugEnvResponse) String() string {
393
return protoimpl.X.MessageStringOf(x)
394
}
395
396
func (*CreateDebugEnvResponse) ProtoMessage() {}
397
398
func (x *CreateDebugEnvResponse) ProtoReflect() protoreflect.Message {
399
mi := &file_control_proto_msgTypes[6]
400
if protoimpl.UnsafeEnabled && x != nil {
401
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
402
if ms.LoadMessageInfo() == nil {
403
ms.StoreMessageInfo(mi)
404
}
405
return ms
406
}
407
return mi.MessageOf(x)
408
}
409
410
// Deprecated: Use CreateDebugEnvResponse.ProtoReflect.Descriptor instead.
411
func (*CreateDebugEnvResponse) Descriptor() ([]byte, []int) {
412
return file_control_proto_rawDescGZIP(), []int{6}
413
}
414
415
func (x *CreateDebugEnvResponse) GetEnvs() []string {
416
if x != nil {
417
return x.Envs
418
}
419
return nil
420
}
421
422
type SendHeartBeatRequest struct {
423
state protoimpl.MessageState
424
sizeCache protoimpl.SizeCache
425
unknownFields protoimpl.UnknownFields
426
}
427
428
func (x *SendHeartBeatRequest) Reset() {
429
*x = SendHeartBeatRequest{}
430
if protoimpl.UnsafeEnabled {
431
mi := &file_control_proto_msgTypes[7]
432
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
433
ms.StoreMessageInfo(mi)
434
}
435
}
436
437
func (x *SendHeartBeatRequest) String() string {
438
return protoimpl.X.MessageStringOf(x)
439
}
440
441
func (*SendHeartBeatRequest) ProtoMessage() {}
442
443
func (x *SendHeartBeatRequest) ProtoReflect() protoreflect.Message {
444
mi := &file_control_proto_msgTypes[7]
445
if protoimpl.UnsafeEnabled && x != nil {
446
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
447
if ms.LoadMessageInfo() == nil {
448
ms.StoreMessageInfo(mi)
449
}
450
return ms
451
}
452
return mi.MessageOf(x)
453
}
454
455
// Deprecated: Use SendHeartBeatRequest.ProtoReflect.Descriptor instead.
456
func (*SendHeartBeatRequest) Descriptor() ([]byte, []int) {
457
return file_control_proto_rawDescGZIP(), []int{7}
458
}
459
460
type SendHeartBeatResponse struct {
461
state protoimpl.MessageState
462
sizeCache protoimpl.SizeCache
463
unknownFields protoimpl.UnknownFields
464
}
465
466
func (x *SendHeartBeatResponse) Reset() {
467
*x = SendHeartBeatResponse{}
468
if protoimpl.UnsafeEnabled {
469
mi := &file_control_proto_msgTypes[8]
470
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
471
ms.StoreMessageInfo(mi)
472
}
473
}
474
475
func (x *SendHeartBeatResponse) String() string {
476
return protoimpl.X.MessageStringOf(x)
477
}
478
479
func (*SendHeartBeatResponse) ProtoMessage() {}
480
481
func (x *SendHeartBeatResponse) ProtoReflect() protoreflect.Message {
482
mi := &file_control_proto_msgTypes[8]
483
if protoimpl.UnsafeEnabled && x != nil {
484
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
485
if ms.LoadMessageInfo() == nil {
486
ms.StoreMessageInfo(mi)
487
}
488
return ms
489
}
490
return mi.MessageOf(x)
491
}
492
493
// Deprecated: Use SendHeartBeatResponse.ProtoReflect.Descriptor instead.
494
func (*SendHeartBeatResponse) Descriptor() ([]byte, []int) {
495
return file_control_proto_rawDescGZIP(), []int{8}
496
}
497
498
var File_control_proto protoreflect.FileDescriptor
499
500
var file_control_proto_rawDesc = []byte{
501
0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
502
0x0a, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
503
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
504
0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75,
505
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72,
506
0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x11, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x50, 0x6f, 0x72,
507
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74,
508
0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x04, 0x08, 0x02,
509
0x10, 0x03, 0x22, 0x14, 0x0a, 0x12, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x50, 0x6f, 0x72, 0x74,
510
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61,
511
0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75,
512
0x65, 0x73, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53,
513
0x48, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
514
0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18,
515
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65,
516
0x79, 0x12, 0x33, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20,
517
0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
518
0x2e, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x68,
519
0x6f, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e,
520
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e,
521
0x61, 0x6d, 0x65, 0x22, 0x38, 0x0a, 0x0c, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
522
0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
523
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
524
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd3, 0x02,
525
0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x62, 0x75, 0x67, 0x45, 0x6e, 0x76,
526
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x73,
527
0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
528
0x1e, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x44, 0x65, 0x62,
529
0x75, 0x67, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
530
0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x40,
531
0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
532
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69,
533
0x73, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63,
534
0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
535
0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x75, 0x72,
536
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
537
0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x04,
538
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63,
539
0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
540
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74,
541
0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6b,
542
0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06,
543
0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4c,
544
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 0x65,
545
0x76, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 0x65,
546
0x76, 0x65, 0x6c, 0x22, 0x2c, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x62,
547
0x75, 0x67, 0x45, 0x6e, 0x76, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
548
0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x65, 0x6e, 0x76,
549
0x73, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x65, 0x6e, 0x64, 0x48, 0x65, 0x61, 0x72, 0x74, 0x42, 0x65,
550
0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x65, 0x6e,
551
0x64, 0x48, 0x65, 0x61, 0x72, 0x74, 0x42, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
552
0x73, 0x65, 0x32, 0xa8, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x65,
553
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x50,
554
0x6f, 0x72, 0x74, 0x12, 0x1d, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,
555
0x2e, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
556
0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
557
0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
558
0x73, 0x65, 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53,
559
0x48, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x23, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72,
560
0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b,
561
0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e,
562
0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
563
0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
564
0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31,
565
0x2f, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
566
0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x62, 0x75, 0x67, 0x45,
567
0x6e, 0x76, 0x12, 0x21, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e,
568
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x62, 0x75, 0x67, 0x45, 0x6e, 0x76, 0x52, 0x65,
569
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,
570
0x6f, 0x72, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x65, 0x62, 0x75, 0x67, 0x45, 0x6e,
571
0x76, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0d, 0x53,
572
0x65, 0x6e, 0x64, 0x48, 0x65, 0x61, 0x72, 0x74, 0x42, 0x65, 0x61, 0x74, 0x12, 0x20, 0x2e, 0x73,
573
0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x48, 0x65,
574
0x61, 0x72, 0x74, 0x42, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
575
0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64,
576
0x48, 0x65, 0x61, 0x72, 0x74, 0x42, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
577
0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x73,
578
0x65, 0x6e, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x42, 0x46, 0x0a,
579
0x18, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72,
580
0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75,
581
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f,
582
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f,
583
0x72, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
584
}
585
586
var (
587
file_control_proto_rawDescOnce sync.Once
588
file_control_proto_rawDescData = file_control_proto_rawDesc
589
)
590
591
func file_control_proto_rawDescGZIP() []byte {
592
file_control_proto_rawDescOnce.Do(func() {
593
file_control_proto_rawDescData = protoimpl.X.CompressGZIP(file_control_proto_rawDescData)
594
})
595
return file_control_proto_rawDescData
596
}
597
598
var file_control_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
599
var file_control_proto_goTypes = []interface{}{
600
(*ExposePortRequest)(nil), // 0: supervisor.ExposePortRequest
601
(*ExposePortResponse)(nil), // 1: supervisor.ExposePortResponse
602
(*CreateSSHKeyPairRequest)(nil), // 2: supervisor.CreateSSHKeyPairRequest
603
(*CreateSSHKeyPairResponse)(nil), // 3: supervisor.CreateSSHKeyPairResponse
604
(*SSHPublicKey)(nil), // 4: supervisor.SSHPublicKey
605
(*CreateDebugEnvRequest)(nil), // 5: supervisor.CreateDebugEnvRequest
606
(*CreateDebugEnvResponse)(nil), // 6: supervisor.CreateDebugEnvResponse
607
(*SendHeartBeatRequest)(nil), // 7: supervisor.SendHeartBeatRequest
608
(*SendHeartBeatResponse)(nil), // 8: supervisor.SendHeartBeatResponse
609
(DebugWorkspaceType)(0), // 9: supervisor.DebugWorkspaceType
610
(ContentSource)(0), // 10: supervisor.ContentSource
611
}
612
var file_control_proto_depIdxs = []int32{
613
4, // 0: supervisor.CreateSSHKeyPairResponse.host_key:type_name -> supervisor.SSHPublicKey
614
9, // 1: supervisor.CreateDebugEnvRequest.workspace_type:type_name -> supervisor.DebugWorkspaceType
615
10, // 2: supervisor.CreateDebugEnvRequest.content_source:type_name -> supervisor.ContentSource
616
0, // 3: supervisor.ControlService.ExposePort:input_type -> supervisor.ExposePortRequest
617
2, // 4: supervisor.ControlService.CreateSSHKeyPair:input_type -> supervisor.CreateSSHKeyPairRequest
618
5, // 5: supervisor.ControlService.CreateDebugEnv:input_type -> supervisor.CreateDebugEnvRequest
619
7, // 6: supervisor.ControlService.SendHeartBeat:input_type -> supervisor.SendHeartBeatRequest
620
1, // 7: supervisor.ControlService.ExposePort:output_type -> supervisor.ExposePortResponse
621
3, // 8: supervisor.ControlService.CreateSSHKeyPair:output_type -> supervisor.CreateSSHKeyPairResponse
622
6, // 9: supervisor.ControlService.CreateDebugEnv:output_type -> supervisor.CreateDebugEnvResponse
623
8, // 10: supervisor.ControlService.SendHeartBeat:output_type -> supervisor.SendHeartBeatResponse
624
7, // [7:11] is the sub-list for method output_type
625
3, // [3:7] is the sub-list for method input_type
626
3, // [3:3] is the sub-list for extension type_name
627
3, // [3:3] is the sub-list for extension extendee
628
0, // [0:3] is the sub-list for field type_name
629
}
630
631
func init() { file_control_proto_init() }
632
func file_control_proto_init() {
633
if File_control_proto != nil {
634
return
635
}
636
file_status_proto_init()
637
file_info_proto_init()
638
if !protoimpl.UnsafeEnabled {
639
file_control_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
640
switch v := v.(*ExposePortRequest); i {
641
case 0:
642
return &v.state
643
case 1:
644
return &v.sizeCache
645
case 2:
646
return &v.unknownFields
647
default:
648
return nil
649
}
650
}
651
file_control_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
652
switch v := v.(*ExposePortResponse); i {
653
case 0:
654
return &v.state
655
case 1:
656
return &v.sizeCache
657
case 2:
658
return &v.unknownFields
659
default:
660
return nil
661
}
662
}
663
file_control_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
664
switch v := v.(*CreateSSHKeyPairRequest); i {
665
case 0:
666
return &v.state
667
case 1:
668
return &v.sizeCache
669
case 2:
670
return &v.unknownFields
671
default:
672
return nil
673
}
674
}
675
file_control_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
676
switch v := v.(*CreateSSHKeyPairResponse); i {
677
case 0:
678
return &v.state
679
case 1:
680
return &v.sizeCache
681
case 2:
682
return &v.unknownFields
683
default:
684
return nil
685
}
686
}
687
file_control_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
688
switch v := v.(*SSHPublicKey); i {
689
case 0:
690
return &v.state
691
case 1:
692
return &v.sizeCache
693
case 2:
694
return &v.unknownFields
695
default:
696
return nil
697
}
698
}
699
file_control_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
700
switch v := v.(*CreateDebugEnvRequest); i {
701
case 0:
702
return &v.state
703
case 1:
704
return &v.sizeCache
705
case 2:
706
return &v.unknownFields
707
default:
708
return nil
709
}
710
}
711
file_control_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
712
switch v := v.(*CreateDebugEnvResponse); i {
713
case 0:
714
return &v.state
715
case 1:
716
return &v.sizeCache
717
case 2:
718
return &v.unknownFields
719
default:
720
return nil
721
}
722
}
723
file_control_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
724
switch v := v.(*SendHeartBeatRequest); i {
725
case 0:
726
return &v.state
727
case 1:
728
return &v.sizeCache
729
case 2:
730
return &v.unknownFields
731
default:
732
return nil
733
}
734
}
735
file_control_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
736
switch v := v.(*SendHeartBeatResponse); i {
737
case 0:
738
return &v.state
739
case 1:
740
return &v.sizeCache
741
case 2:
742
return &v.unknownFields
743
default:
744
return nil
745
}
746
}
747
}
748
type x struct{}
749
out := protoimpl.TypeBuilder{
750
File: protoimpl.DescBuilder{
751
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
752
RawDescriptor: file_control_proto_rawDesc,
753
NumEnums: 0,
754
NumMessages: 9,
755
NumExtensions: 0,
756
NumServices: 1,
757
},
758
GoTypes: file_control_proto_goTypes,
759
DependencyIndexes: file_control_proto_depIdxs,
760
MessageInfos: file_control_proto_msgTypes,
761
}.Build()
762
File_control_proto = out.File
763
file_control_proto_rawDesc = nil
764
file_control_proto_goTypes = nil
765
file_control_proto_depIdxs = nil
766
}
767
768