2022-12-08 13:05:19 -03:00

613 lines
21 KiB
Go

// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License.AGPL.txt in the project root for license information.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.20.1
// source: localapp.proto
package api
import (
api "github.com/gitpod-io/gitpod/supervisor/api"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type TunnelStatusRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// if observe is true, we'll return a stream of changes rather than just the
// current state of affairs.
Observe bool `protobuf:"varint,2,opt,name=observe,proto3" json:"observe,omitempty"`
}
func (x *TunnelStatusRequest) Reset() {
*x = TunnelStatusRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_localapp_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TunnelStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TunnelStatusRequest) ProtoMessage() {}
func (x *TunnelStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_localapp_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TunnelStatusRequest.ProtoReflect.Descriptor instead.
func (*TunnelStatusRequest) Descriptor() ([]byte, []int) {
return file_localapp_proto_rawDescGZIP(), []int{0}
}
func (x *TunnelStatusRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *TunnelStatusRequest) GetObserve() bool {
if x != nil {
return x.Observe
}
return false
}
type TunnelStatusResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Tunnels []*TunnelStatus `protobuf:"bytes,1,rep,name=tunnels,proto3" json:"tunnels,omitempty"`
}
func (x *TunnelStatusResponse) Reset() {
*x = TunnelStatusResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_localapp_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TunnelStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TunnelStatusResponse) ProtoMessage() {}
func (x *TunnelStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_localapp_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TunnelStatusResponse.ProtoReflect.Descriptor instead.
func (*TunnelStatusResponse) Descriptor() ([]byte, []int) {
return file_localapp_proto_rawDescGZIP(), []int{1}
}
func (x *TunnelStatusResponse) GetTunnels() []*TunnelStatus {
if x != nil {
return x.Tunnels
}
return nil
}
type TunnelStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RemotePort uint32 `protobuf:"varint,1,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"`
LocalPort uint32 `protobuf:"varint,2,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
Visibility api.TunnelVisiblity `protobuf:"varint,3,opt,name=visibility,proto3,enum=supervisor.TunnelVisiblity" json:"visibility,omitempty"`
}
func (x *TunnelStatus) Reset() {
*x = TunnelStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_localapp_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TunnelStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TunnelStatus) ProtoMessage() {}
func (x *TunnelStatus) ProtoReflect() protoreflect.Message {
mi := &file_localapp_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TunnelStatus.ProtoReflect.Descriptor instead.
func (*TunnelStatus) Descriptor() ([]byte, []int) {
return file_localapp_proto_rawDescGZIP(), []int{2}
}
func (x *TunnelStatus) GetRemotePort() uint32 {
if x != nil {
return x.RemotePort
}
return 0
}
func (x *TunnelStatus) GetLocalPort() uint32 {
if x != nil {
return x.LocalPort
}
return 0
}
func (x *TunnelStatus) GetVisibility() api.TunnelVisiblity {
if x != nil {
return x.Visibility
}
return api.TunnelVisiblity(0)
}
type AutoTunnelRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
}
func (x *AutoTunnelRequest) Reset() {
*x = AutoTunnelRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_localapp_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AutoTunnelRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AutoTunnelRequest) ProtoMessage() {}
func (x *AutoTunnelRequest) ProtoReflect() protoreflect.Message {
mi := &file_localapp_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AutoTunnelRequest.ProtoReflect.Descriptor instead.
func (*AutoTunnelRequest) Descriptor() ([]byte, []int) {
return file_localapp_proto_rawDescGZIP(), []int{3}
}
func (x *AutoTunnelRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *AutoTunnelRequest) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
type AutoTunnelResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *AutoTunnelResponse) Reset() {
*x = AutoTunnelResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_localapp_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AutoTunnelResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AutoTunnelResponse) ProtoMessage() {}
func (x *AutoTunnelResponse) ProtoReflect() protoreflect.Message {
mi := &file_localapp_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AutoTunnelResponse.ProtoReflect.Descriptor instead.
func (*AutoTunnelResponse) Descriptor() ([]byte, []int) {
return file_localapp_proto_rawDescGZIP(), []int{4}
}
type ResolveSSHConnectionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
}
func (x *ResolveSSHConnectionRequest) Reset() {
*x = ResolveSSHConnectionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_localapp_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResolveSSHConnectionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResolveSSHConnectionRequest) ProtoMessage() {}
func (x *ResolveSSHConnectionRequest) ProtoReflect() protoreflect.Message {
mi := &file_localapp_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ResolveSSHConnectionRequest.ProtoReflect.Descriptor instead.
func (*ResolveSSHConnectionRequest) Descriptor() ([]byte, []int) {
return file_localapp_proto_rawDescGZIP(), []int{5}
}
func (x *ResolveSSHConnectionRequest) GetInstanceId() string {
if x != nil {
return x.InstanceId
}
return ""
}
func (x *ResolveSSHConnectionRequest) GetWorkspaceId() string {
if x != nil {
return x.WorkspaceId
}
return ""
}
type ResolveSSHConnectionResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConfigFile string `protobuf:"bytes,1,opt,name=config_file,json=configFile,proto3" json:"config_file,omitempty"`
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
}
func (x *ResolveSSHConnectionResponse) Reset() {
*x = ResolveSSHConnectionResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_localapp_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResolveSSHConnectionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResolveSSHConnectionResponse) ProtoMessage() {}
func (x *ResolveSSHConnectionResponse) ProtoReflect() protoreflect.Message {
mi := &file_localapp_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ResolveSSHConnectionResponse.ProtoReflect.Descriptor instead.
func (*ResolveSSHConnectionResponse) Descriptor() ([]byte, []int) {
return file_localapp_proto_rawDescGZIP(), []int{6}
}
func (x *ResolveSSHConnectionResponse) GetConfigFile() string {
if x != nil {
return x.ConfigFile
}
return ""
}
func (x *ResolveSSHConnectionResponse) GetHost() string {
if x != nil {
return x.Host
}
return ""
}
var File_localapp_proto protoreflect.FileDescriptor
var file_localapp_proto_rawDesc = []byte{
0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x1a, 0x19, 0x73, 0x75, 0x70, 0x65,
0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x13, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53,
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a,
0x07, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x48, 0x0a, 0x14, 0x54, 0x75, 0x6e, 0x6e, 0x65,
0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x30, 0x0a, 0x07, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x16, 0x2e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x54, 0x75, 0x6e, 0x6e,
0x65, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x07, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c,
0x73, 0x22, 0x8b, 0x01, 0x0a, 0x0c, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74,
0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x72,
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50,
0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x72,
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x6f,
0x72, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69,
0x73, 0x6f, 0x72, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c,
0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22,
0x4e, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61,
0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22,
0x14, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65,
0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61,
0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72,
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1c, 0x52, 0x65, 0x73, 0x6f,
0x6c, 0x76, 0x65, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73,
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x32, 0x91, 0x02,
0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x12, 0x51, 0x0a, 0x0c, 0x54, 0x75,
0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x2e, 0x6c, 0x6f, 0x63,
0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74,
0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6c, 0x6f, 0x63, 0x61,
0x6c, 0x61, 0x70, 0x70, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x49, 0x0a,
0x0a, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1b, 0x2e, 0x6c, 0x6f,
0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65,
0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
0x61, 0x70, 0x70, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f,
0x6c, 0x76, 0x65, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x25, 0x2e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61, 0x70, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x6f,
0x6c, 0x76, 0x65, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x61,
0x70, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e,
0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2d, 0x61, 0x70, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_localapp_proto_rawDescOnce sync.Once
file_localapp_proto_rawDescData = file_localapp_proto_rawDesc
)
func file_localapp_proto_rawDescGZIP() []byte {
file_localapp_proto_rawDescOnce.Do(func() {
file_localapp_proto_rawDescData = protoimpl.X.CompressGZIP(file_localapp_proto_rawDescData)
})
return file_localapp_proto_rawDescData
}
var file_localapp_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_localapp_proto_goTypes = []interface{}{
(*TunnelStatusRequest)(nil), // 0: localapp.TunnelStatusRequest
(*TunnelStatusResponse)(nil), // 1: localapp.TunnelStatusResponse
(*TunnelStatus)(nil), // 2: localapp.TunnelStatus
(*AutoTunnelRequest)(nil), // 3: localapp.AutoTunnelRequest
(*AutoTunnelResponse)(nil), // 4: localapp.AutoTunnelResponse
(*ResolveSSHConnectionRequest)(nil), // 5: localapp.ResolveSSHConnectionRequest
(*ResolveSSHConnectionResponse)(nil), // 6: localapp.ResolveSSHConnectionResponse
(api.TunnelVisiblity)(0), // 7: supervisor.TunnelVisiblity
}
var file_localapp_proto_depIdxs = []int32{
2, // 0: localapp.TunnelStatusResponse.tunnels:type_name -> localapp.TunnelStatus
7, // 1: localapp.TunnelStatus.visibility:type_name -> supervisor.TunnelVisiblity
0, // 2: localapp.LocalApp.TunnelStatus:input_type -> localapp.TunnelStatusRequest
3, // 3: localapp.LocalApp.AutoTunnel:input_type -> localapp.AutoTunnelRequest
5, // 4: localapp.LocalApp.ResolveSSHConnection:input_type -> localapp.ResolveSSHConnectionRequest
1, // 5: localapp.LocalApp.TunnelStatus:output_type -> localapp.TunnelStatusResponse
4, // 6: localapp.LocalApp.AutoTunnel:output_type -> localapp.AutoTunnelResponse
6, // 7: localapp.LocalApp.ResolveSSHConnection:output_type -> localapp.ResolveSSHConnectionResponse
5, // [5:8] is the sub-list for method output_type
2, // [2:5] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_localapp_proto_init() }
func file_localapp_proto_init() {
if File_localapp_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_localapp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TunnelStatusRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_localapp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TunnelStatusResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_localapp_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TunnelStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_localapp_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AutoTunnelRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_localapp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AutoTunnelResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_localapp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResolveSSHConnectionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_localapp_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResolveSSHConnectionResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_localapp_proto_rawDesc,
NumEnums: 0,
NumMessages: 7,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_localapp_proto_goTypes,
DependencyIndexes: file_localapp_proto_depIdxs,
MessageInfos: file_localapp_proto_msgTypes,
}.Build()
File_localapp_proto = out.File
file_localapp_proto_rawDesc = nil
file_localapp_proto_goTypes = nil
file_localapp_proto_depIdxs = nil
}