Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/local-app-api/go/localapp.pb.go
2498 views
1
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc v3.20.1
9
// source: localapp.proto
10
11
package api
12
13
import (
14
api "github.com/gitpod-io/gitpod/supervisor/api"
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 TunnelStatusRequest struct {
29
state protoimpl.MessageState
30
sizeCache protoimpl.SizeCache
31
unknownFields protoimpl.UnknownFields
32
33
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
34
// if observe is true, we'll return a stream of changes rather than just the
35
// current state of affairs.
36
Observe bool `protobuf:"varint,2,opt,name=observe,proto3" json:"observe,omitempty"`
37
}
38
39
func (x *TunnelStatusRequest) Reset() {
40
*x = TunnelStatusRequest{}
41
if protoimpl.UnsafeEnabled {
42
mi := &file_localapp_proto_msgTypes[0]
43
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44
ms.StoreMessageInfo(mi)
45
}
46
}
47
48
func (x *TunnelStatusRequest) String() string {
49
return protoimpl.X.MessageStringOf(x)
50
}
51
52
func (*TunnelStatusRequest) ProtoMessage() {}
53
54
func (x *TunnelStatusRequest) ProtoReflect() protoreflect.Message {
55
mi := &file_localapp_proto_msgTypes[0]
56
if protoimpl.UnsafeEnabled && x != nil {
57
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58
if ms.LoadMessageInfo() == nil {
59
ms.StoreMessageInfo(mi)
60
}
61
return ms
62
}
63
return mi.MessageOf(x)
64
}
65
66
// Deprecated: Use TunnelStatusRequest.ProtoReflect.Descriptor instead.
67
func (*TunnelStatusRequest) Descriptor() ([]byte, []int) {
68
return file_localapp_proto_rawDescGZIP(), []int{0}
69
}
70
71
func (x *TunnelStatusRequest) GetInstanceId() string {
72
if x != nil {
73
return x.InstanceId
74
}
75
return ""
76
}
77
78
func (x *TunnelStatusRequest) GetObserve() bool {
79
if x != nil {
80
return x.Observe
81
}
82
return false
83
}
84
85
type TunnelStatusResponse struct {
86
state protoimpl.MessageState
87
sizeCache protoimpl.SizeCache
88
unknownFields protoimpl.UnknownFields
89
90
Tunnels []*TunnelStatus `protobuf:"bytes,1,rep,name=tunnels,proto3" json:"tunnels,omitempty"`
91
}
92
93
func (x *TunnelStatusResponse) Reset() {
94
*x = TunnelStatusResponse{}
95
if protoimpl.UnsafeEnabled {
96
mi := &file_localapp_proto_msgTypes[1]
97
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
98
ms.StoreMessageInfo(mi)
99
}
100
}
101
102
func (x *TunnelStatusResponse) String() string {
103
return protoimpl.X.MessageStringOf(x)
104
}
105
106
func (*TunnelStatusResponse) ProtoMessage() {}
107
108
func (x *TunnelStatusResponse) ProtoReflect() protoreflect.Message {
109
mi := &file_localapp_proto_msgTypes[1]
110
if protoimpl.UnsafeEnabled && x != nil {
111
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
112
if ms.LoadMessageInfo() == nil {
113
ms.StoreMessageInfo(mi)
114
}
115
return ms
116
}
117
return mi.MessageOf(x)
118
}
119
120
// Deprecated: Use TunnelStatusResponse.ProtoReflect.Descriptor instead.
121
func (*TunnelStatusResponse) Descriptor() ([]byte, []int) {
122
return file_localapp_proto_rawDescGZIP(), []int{1}
123
}
124
125
func (x *TunnelStatusResponse) GetTunnels() []*TunnelStatus {
126
if x != nil {
127
return x.Tunnels
128
}
129
return nil
130
}
131
132
type TunnelStatus struct {
133
state protoimpl.MessageState
134
sizeCache protoimpl.SizeCache
135
unknownFields protoimpl.UnknownFields
136
137
RemotePort uint32 `protobuf:"varint,1,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"`
138
LocalPort uint32 `protobuf:"varint,2,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
139
Visibility api.TunnelVisiblity `protobuf:"varint,3,opt,name=visibility,proto3,enum=supervisor.TunnelVisiblity" json:"visibility,omitempty"`
140
}
141
142
func (x *TunnelStatus) Reset() {
143
*x = TunnelStatus{}
144
if protoimpl.UnsafeEnabled {
145
mi := &file_localapp_proto_msgTypes[2]
146
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
147
ms.StoreMessageInfo(mi)
148
}
149
}
150
151
func (x *TunnelStatus) String() string {
152
return protoimpl.X.MessageStringOf(x)
153
}
154
155
func (*TunnelStatus) ProtoMessage() {}
156
157
func (x *TunnelStatus) ProtoReflect() protoreflect.Message {
158
mi := &file_localapp_proto_msgTypes[2]
159
if protoimpl.UnsafeEnabled && x != nil {
160
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
161
if ms.LoadMessageInfo() == nil {
162
ms.StoreMessageInfo(mi)
163
}
164
return ms
165
}
166
return mi.MessageOf(x)
167
}
168
169
// Deprecated: Use TunnelStatus.ProtoReflect.Descriptor instead.
170
func (*TunnelStatus) Descriptor() ([]byte, []int) {
171
return file_localapp_proto_rawDescGZIP(), []int{2}
172
}
173
174
func (x *TunnelStatus) GetRemotePort() uint32 {
175
if x != nil {
176
return x.RemotePort
177
}
178
return 0
179
}
180
181
func (x *TunnelStatus) GetLocalPort() uint32 {
182
if x != nil {
183
return x.LocalPort
184
}
185
return 0
186
}
187
188
func (x *TunnelStatus) GetVisibility() api.TunnelVisiblity {
189
if x != nil {
190
return x.Visibility
191
}
192
return api.TunnelVisiblity(0)
193
}
194
195
type AutoTunnelRequest struct {
196
state protoimpl.MessageState
197
sizeCache protoimpl.SizeCache
198
unknownFields protoimpl.UnknownFields
199
200
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
201
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
202
}
203
204
func (x *AutoTunnelRequest) Reset() {
205
*x = AutoTunnelRequest{}
206
if protoimpl.UnsafeEnabled {
207
mi := &file_localapp_proto_msgTypes[3]
208
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
209
ms.StoreMessageInfo(mi)
210
}
211
}
212
213
func (x *AutoTunnelRequest) String() string {
214
return protoimpl.X.MessageStringOf(x)
215
}
216
217
func (*AutoTunnelRequest) ProtoMessage() {}
218
219
func (x *AutoTunnelRequest) ProtoReflect() protoreflect.Message {
220
mi := &file_localapp_proto_msgTypes[3]
221
if protoimpl.UnsafeEnabled && x != nil {
222
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
223
if ms.LoadMessageInfo() == nil {
224
ms.StoreMessageInfo(mi)
225
}
226
return ms
227
}
228
return mi.MessageOf(x)
229
}
230
231
// Deprecated: Use AutoTunnelRequest.ProtoReflect.Descriptor instead.
232
func (*AutoTunnelRequest) Descriptor() ([]byte, []int) {
233
return file_localapp_proto_rawDescGZIP(), []int{3}
234
}
235
236
func (x *AutoTunnelRequest) GetInstanceId() string {
237
if x != nil {
238
return x.InstanceId
239
}
240
return ""
241
}
242
243
func (x *AutoTunnelRequest) GetEnabled() bool {
244
if x != nil {
245
return x.Enabled
246
}
247
return false
248
}
249
250
type AutoTunnelResponse struct {
251
state protoimpl.MessageState
252
sizeCache protoimpl.SizeCache
253
unknownFields protoimpl.UnknownFields
254
}
255
256
func (x *AutoTunnelResponse) Reset() {
257
*x = AutoTunnelResponse{}
258
if protoimpl.UnsafeEnabled {
259
mi := &file_localapp_proto_msgTypes[4]
260
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
261
ms.StoreMessageInfo(mi)
262
}
263
}
264
265
func (x *AutoTunnelResponse) String() string {
266
return protoimpl.X.MessageStringOf(x)
267
}
268
269
func (*AutoTunnelResponse) ProtoMessage() {}
270
271
func (x *AutoTunnelResponse) ProtoReflect() protoreflect.Message {
272
mi := &file_localapp_proto_msgTypes[4]
273
if protoimpl.UnsafeEnabled && x != nil {
274
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
275
if ms.LoadMessageInfo() == nil {
276
ms.StoreMessageInfo(mi)
277
}
278
return ms
279
}
280
return mi.MessageOf(x)
281
}
282
283
// Deprecated: Use AutoTunnelResponse.ProtoReflect.Descriptor instead.
284
func (*AutoTunnelResponse) Descriptor() ([]byte, []int) {
285
return file_localapp_proto_rawDescGZIP(), []int{4}
286
}
287
288
type ResolveSSHConnectionRequest struct {
289
state protoimpl.MessageState
290
sizeCache protoimpl.SizeCache
291
unknownFields protoimpl.UnknownFields
292
293
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
294
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
295
}
296
297
func (x *ResolveSSHConnectionRequest) Reset() {
298
*x = ResolveSSHConnectionRequest{}
299
if protoimpl.UnsafeEnabled {
300
mi := &file_localapp_proto_msgTypes[5]
301
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
302
ms.StoreMessageInfo(mi)
303
}
304
}
305
306
func (x *ResolveSSHConnectionRequest) String() string {
307
return protoimpl.X.MessageStringOf(x)
308
}
309
310
func (*ResolveSSHConnectionRequest) ProtoMessage() {}
311
312
func (x *ResolveSSHConnectionRequest) ProtoReflect() protoreflect.Message {
313
mi := &file_localapp_proto_msgTypes[5]
314
if protoimpl.UnsafeEnabled && x != nil {
315
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
316
if ms.LoadMessageInfo() == nil {
317
ms.StoreMessageInfo(mi)
318
}
319
return ms
320
}
321
return mi.MessageOf(x)
322
}
323
324
// Deprecated: Use ResolveSSHConnectionRequest.ProtoReflect.Descriptor instead.
325
func (*ResolveSSHConnectionRequest) Descriptor() ([]byte, []int) {
326
return file_localapp_proto_rawDescGZIP(), []int{5}
327
}
328
329
func (x *ResolveSSHConnectionRequest) GetInstanceId() string {
330
if x != nil {
331
return x.InstanceId
332
}
333
return ""
334
}
335
336
func (x *ResolveSSHConnectionRequest) GetWorkspaceId() string {
337
if x != nil {
338
return x.WorkspaceId
339
}
340
return ""
341
}
342
343
type ResolveSSHConnectionResponse struct {
344
state protoimpl.MessageState
345
sizeCache protoimpl.SizeCache
346
unknownFields protoimpl.UnknownFields
347
348
ConfigFile string `protobuf:"bytes,1,opt,name=config_file,json=configFile,proto3" json:"config_file,omitempty"`
349
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
350
}
351
352
func (x *ResolveSSHConnectionResponse) Reset() {
353
*x = ResolveSSHConnectionResponse{}
354
if protoimpl.UnsafeEnabled {
355
mi := &file_localapp_proto_msgTypes[6]
356
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357
ms.StoreMessageInfo(mi)
358
}
359
}
360
361
func (x *ResolveSSHConnectionResponse) String() string {
362
return protoimpl.X.MessageStringOf(x)
363
}
364
365
func (*ResolveSSHConnectionResponse) ProtoMessage() {}
366
367
func (x *ResolveSSHConnectionResponse) ProtoReflect() protoreflect.Message {
368
mi := &file_localapp_proto_msgTypes[6]
369
if protoimpl.UnsafeEnabled && x != nil {
370
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371
if ms.LoadMessageInfo() == nil {
372
ms.StoreMessageInfo(mi)
373
}
374
return ms
375
}
376
return mi.MessageOf(x)
377
}
378
379
// Deprecated: Use ResolveSSHConnectionResponse.ProtoReflect.Descriptor instead.
380
func (*ResolveSSHConnectionResponse) Descriptor() ([]byte, []int) {
381
return file_localapp_proto_rawDescGZIP(), []int{6}
382
}
383
384
func (x *ResolveSSHConnectionResponse) GetConfigFile() string {
385
if x != nil {
386
return x.ConfigFile
387
}
388
return ""
389
}
390
391
func (x *ResolveSSHConnectionResponse) GetHost() string {
392
if x != nil {
393
return x.Host
394
}
395
return ""
396
}
397
398
var File_localapp_proto protoreflect.FileDescriptor
399
400
var file_localapp_proto_rawDesc = []byte{
401
0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
402
0x12, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x1a, 0x19, 0x73, 0x75, 0x70, 0x65,
403
0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e,
404
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53,
405
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
406
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
407
0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a,
408
0x07, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
409
0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x48, 0x0a, 0x14, 0x54, 0x75, 0x6e, 0x6e, 0x65,
410
0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
411
0x30, 0x0a, 0x07, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
412
0x32, 0x16, 0x2e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x54, 0x75, 0x6e, 0x6e,
413
0x65, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x07, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c,
414
0x73, 0x22, 0x8b, 0x01, 0x0a, 0x0c, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74,
415
0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x72,
416
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50,
417
0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x72,
418
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x6f,
419
0x72, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
420
0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69,
421
0x73, 0x6f, 0x72, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c,
422
0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22,
423
0x4e, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71,
424
0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
425
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61,
426
0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
427
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22,
428
0x14, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73,
429
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65,
430
0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
431
0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
432
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61,
433
0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
434
0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72,
435
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1c, 0x52, 0x65, 0x73, 0x6f,
436
0x6c, 0x76, 0x65, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
437
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66,
438
0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
439
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73,
440
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x32, 0x91, 0x02,
441
0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x12, 0x51, 0x0a, 0x0c, 0x54, 0x75,
442
0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x2e, 0x6c, 0x6f, 0x63,
443
0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74,
444
0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6c, 0x6f, 0x63, 0x61,
445
0x6c, 0x61, 0x70, 0x70, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75,
446
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x49, 0x0a,
447
0x0a, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1b, 0x2e, 0x6c, 0x6f,
448
0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65,
449
0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
450
0x61, 0x70, 0x70, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65,
451
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f,
452
0x6c, 0x76, 0x65, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
453
0x12, 0x25, 0x2e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x6f,
454
0x6c, 0x76, 0x65, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
455
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61,
456
0x70, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e,
457
0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
458
0x00, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
459
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
460
0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2d, 0x61, 0x70, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06,
461
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
462
}
463
464
var (
465
file_localapp_proto_rawDescOnce sync.Once
466
file_localapp_proto_rawDescData = file_localapp_proto_rawDesc
467
)
468
469
func file_localapp_proto_rawDescGZIP() []byte {
470
file_localapp_proto_rawDescOnce.Do(func() {
471
file_localapp_proto_rawDescData = protoimpl.X.CompressGZIP(file_localapp_proto_rawDescData)
472
})
473
return file_localapp_proto_rawDescData
474
}
475
476
var file_localapp_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
477
var file_localapp_proto_goTypes = []interface{}{
478
(*TunnelStatusRequest)(nil), // 0: localapp.TunnelStatusRequest
479
(*TunnelStatusResponse)(nil), // 1: localapp.TunnelStatusResponse
480
(*TunnelStatus)(nil), // 2: localapp.TunnelStatus
481
(*AutoTunnelRequest)(nil), // 3: localapp.AutoTunnelRequest
482
(*AutoTunnelResponse)(nil), // 4: localapp.AutoTunnelResponse
483
(*ResolveSSHConnectionRequest)(nil), // 5: localapp.ResolveSSHConnectionRequest
484
(*ResolveSSHConnectionResponse)(nil), // 6: localapp.ResolveSSHConnectionResponse
485
(api.TunnelVisiblity)(0), // 7: supervisor.TunnelVisiblity
486
}
487
var file_localapp_proto_depIdxs = []int32{
488
2, // 0: localapp.TunnelStatusResponse.tunnels:type_name -> localapp.TunnelStatus
489
7, // 1: localapp.TunnelStatus.visibility:type_name -> supervisor.TunnelVisiblity
490
0, // 2: localapp.LocalApp.TunnelStatus:input_type -> localapp.TunnelStatusRequest
491
3, // 3: localapp.LocalApp.AutoTunnel:input_type -> localapp.AutoTunnelRequest
492
5, // 4: localapp.LocalApp.ResolveSSHConnection:input_type -> localapp.ResolveSSHConnectionRequest
493
1, // 5: localapp.LocalApp.TunnelStatus:output_type -> localapp.TunnelStatusResponse
494
4, // 6: localapp.LocalApp.AutoTunnel:output_type -> localapp.AutoTunnelResponse
495
6, // 7: localapp.LocalApp.ResolveSSHConnection:output_type -> localapp.ResolveSSHConnectionResponse
496
5, // [5:8] is the sub-list for method output_type
497
2, // [2:5] is the sub-list for method input_type
498
2, // [2:2] is the sub-list for extension type_name
499
2, // [2:2] is the sub-list for extension extendee
500
0, // [0:2] is the sub-list for field type_name
501
}
502
503
func init() { file_localapp_proto_init() }
504
func file_localapp_proto_init() {
505
if File_localapp_proto != nil {
506
return
507
}
508
if !protoimpl.UnsafeEnabled {
509
file_localapp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
510
switch v := v.(*TunnelStatusRequest); i {
511
case 0:
512
return &v.state
513
case 1:
514
return &v.sizeCache
515
case 2:
516
return &v.unknownFields
517
default:
518
return nil
519
}
520
}
521
file_localapp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
522
switch v := v.(*TunnelStatusResponse); i {
523
case 0:
524
return &v.state
525
case 1:
526
return &v.sizeCache
527
case 2:
528
return &v.unknownFields
529
default:
530
return nil
531
}
532
}
533
file_localapp_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
534
switch v := v.(*TunnelStatus); i {
535
case 0:
536
return &v.state
537
case 1:
538
return &v.sizeCache
539
case 2:
540
return &v.unknownFields
541
default:
542
return nil
543
}
544
}
545
file_localapp_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
546
switch v := v.(*AutoTunnelRequest); i {
547
case 0:
548
return &v.state
549
case 1:
550
return &v.sizeCache
551
case 2:
552
return &v.unknownFields
553
default:
554
return nil
555
}
556
}
557
file_localapp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
558
switch v := v.(*AutoTunnelResponse); i {
559
case 0:
560
return &v.state
561
case 1:
562
return &v.sizeCache
563
case 2:
564
return &v.unknownFields
565
default:
566
return nil
567
}
568
}
569
file_localapp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
570
switch v := v.(*ResolveSSHConnectionRequest); i {
571
case 0:
572
return &v.state
573
case 1:
574
return &v.sizeCache
575
case 2:
576
return &v.unknownFields
577
default:
578
return nil
579
}
580
}
581
file_localapp_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
582
switch v := v.(*ResolveSSHConnectionResponse); i {
583
case 0:
584
return &v.state
585
case 1:
586
return &v.sizeCache
587
case 2:
588
return &v.unknownFields
589
default:
590
return nil
591
}
592
}
593
}
594
type x struct{}
595
out := protoimpl.TypeBuilder{
596
File: protoimpl.DescBuilder{
597
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
598
RawDescriptor: file_localapp_proto_rawDesc,
599
NumEnums: 0,
600
NumMessages: 7,
601
NumExtensions: 0,
602
NumServices: 1,
603
},
604
GoTypes: file_localapp_proto_goTypes,
605
DependencyIndexes: file_localapp_proto_depIdxs,
606
MessageInfos: file_localapp_proto_msgTypes,
607
}.Build()
608
File_localapp_proto = out.File
609
file_localapp_proto_rawDesc = nil
610
file_localapp_proto_goTypes = nil
611
file_localapp_proto_depIdxs = nil
612
}
613
614