From 851cb6598ee9da31adf735204d1ead64082b3e1e Mon Sep 17 00:00:00 2001 From: Edoardo Spadolini Date: Fri, 7 Apr 2023 00:53:31 +0200 Subject: [PATCH] Fix package names for v1 protos, misc proto changes (#24183) * Delete teleterm's ptyHost/v1, added by mistake * Add package name to protos conforming to PACKAGE_VERSION_SUFFIX * use go run in buf-connect-go.gen.yaml directly * Run protogen in place * Run the buf-go generation off of go run This also adds protoc-gen-go-grpc to go.mod --- .gitignore | 4 +- .../proto/go/attestation/v1/attestation.pb.go | 12 +- .../go/teleport/devicetrust/v1/device.pb.go | 7 +- .../v1/device_collected_data.pb.go | 8 +- .../devicetrust/v1/device_enroll_token.pb.go | 7 +- .../devicetrust/v1/device_profile.pb.go | 9 +- .../devicetrust/v1/device_source.pb.go | 9 +- .../devicetrust/v1/devicetrust_service.pb.go | 7 +- .../v1/devicetrust_service_grpc.pb.go | 2 +- .../go/teleport/devicetrust/v1/os_type.pb.go | 11 +- .../devicetrust/v1/user_certificates.pb.go | 7 +- .../integration/v1/integration_service.pb.go | 8 +- .../v1/integration_service_grpc.pb.go | 2 +- .../go/teleport/kube/v1/kube_service.pb.go | 7 +- .../teleport/kube/v1/kube_service_grpc.pb.go | 2 +- .../go/teleport/loginrule/v1/loginrule.pb.go | 7 +- .../loginrule/v1/loginrule_service.pb.go | 7 +- .../loginrule/v1/loginrule_service_grpc.pb.go | 2 +- .../go/teleport/okta/v1/okta_service.pb.go | 8 +- .../teleport/okta/v1/okta_service_grpc.pb.go | 2 +- .../teleport/plugins/v1/plugin_service.pb.go | 7 +- .../plugins/v1/plugin_service_grpc.pb.go | 2 +- .../go/teleport/samlidp/v1/samlidp.pb.go | 9 +- .../go/teleport/samlidp/v1/samlidp_grpc.pb.go | 2 +- .../transport/v1/transport_service.pb.go | 7 +- .../transport/v1/transport_service_grpc.pb.go | 2 +- .../go/teleport/trust/v1/trust_service.pb.go | 7 +- .../trust/v1/trust_service_grpc.pb.go | 2 +- .../proto/go/usageevents/v1/usageevents.pb.go | 280 +-- .../teleport/attestation/v1/attestation.proto | 2 +- .../teleport/devicetrust/v1/device.proto | 2 +- .../v1/device_collected_data.proto | 2 +- .../devicetrust/v1/device_enroll_token.proto | 2 +- .../devicetrust/v1/device_profile.proto | 2 +- .../devicetrust/v1/device_source.proto | 2 +- .../devicetrust/v1/devicetrust_service.proto | 2 +- .../teleport/devicetrust/v1/os_type.proto | 2 +- .../devicetrust/v1/user_certificates.proto | 2 +- .../integration/v1/integration_service.proto | 2 +- api/proto/teleport/kube/v1/kube_service.proto | 2 +- .../teleport/loginrule/v1/loginrule.proto | 2 +- .../loginrule/v1/loginrule_service.proto | 2 +- api/proto/teleport/okta/v1/okta_service.proto | 2 +- .../teleport/plugins/v1/plugin_service.proto | 2 +- api/proto/teleport/samlidp/v1/samlidp.proto | 2 +- .../transport/v1/transport_service.proto | 2 +- .../teleport/trust/v1/trust_service.proto | 2 +- .../teleport/usageevents/v1/usageevents.proto | 2 +- buf-connect-go.gen.yaml | 12 +- buf-go.gen.yaml | 10 + buf-gogo.gen.yaml | 2 +- build.assets/Dockerfile | 9 +- build.assets/genproto.sh | 27 +- e_imports.go | 2 +- .../lib/teleterm/v1/access_request.pb.go | 7 +- .../lib/teleterm/v1/auth_settings.pb.go | 9 +- .../go/teleport/lib/teleterm/v1/cluster.pb.go | 7 +- .../teleport/lib/teleterm/v1/database.pb.go | 7 +- .../go/teleport/lib/teleterm/v1/gateway.pb.go | 7 +- .../go/teleport/lib/teleterm/v1/kube.pb.go | 7 +- .../go/teleport/lib/teleterm/v1/label.pb.go | 9 +- .../go/teleport/lib/teleterm/v1/server.pb.go | 7 +- .../go/teleport/lib/teleterm/v1/service.pb.go | 8 +- .../lib/teleterm/v1/service_grpc.pb.go | 2 +- .../lib/teleterm/v1/tshd_events_service.pb.go | 7 +- .../v1/tshd_events_service_grpc.pb.go | 2 +- .../lib/teleterm/v1/usage_events.pb.go | 9 +- go.mod | 1 + go.sum | 2 + lib/prehog/bin/protoc-gen-connect-go | 4 - lib/prehog/bin/protoc-gen-go | 4 - .../lib/teleterm/v1/access_request.proto | 2 +- .../lib/teleterm/v1/auth_settings.proto | 2 +- proto/teleport/lib/teleterm/v1/cluster.proto | 2 +- proto/teleport/lib/teleterm/v1/database.proto | 2 +- proto/teleport/lib/teleterm/v1/gateway.proto | 2 +- proto/teleport/lib/teleterm/v1/kube.proto | 2 +- proto/teleport/lib/teleterm/v1/label.proto | 2 +- proto/teleport/lib/teleterm/v1/server.proto | 2 +- proto/teleport/lib/teleterm/v1/service.proto | 2 +- .../lib/teleterm/v1/tshd_events_service.proto | 2 +- .../lib/teleterm/v1/usage_events.proto | 2 +- protogen.go | 28 + .../ptyHost/v1/ptyHostService_grpc_pb.d.ts | 91 - .../ptyHost/v1/ptyHostService_grpc_pb.js | 103 - .../ptyHost/v1/ptyHostService_pb.d.ts | 360 --- .../ptyHost/v1/ptyHostService_pb.js | 2157 ----------------- 87 files changed, 379 insertions(+), 3027 deletions(-) delete mode 100755 lib/prehog/bin/protoc-gen-connect-go delete mode 100755 lib/prehog/bin/protoc-gen-go create mode 100644 protogen.go delete mode 100644 web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_grpc_pb.d.ts delete mode 100644 web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_grpc_pb.js delete mode 100644 web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_pb.d.ts delete mode 100644 web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_pb.js diff --git a/.gitignore b/.gitignore index 0cced82599cc7..e3b69017d6c48 100644 --- a/.gitignore +++ b/.gitignore @@ -81,8 +81,8 @@ ssh.config go.work go.work.sum -# Buf side-effects -/github.com +# gogoproto side-effects +/gogogen node_modules .air.toml diff --git a/api/gen/proto/go/attestation/v1/attestation.pb.go b/api/gen/proto/go/attestation/v1/attestation.pb.go index a148fa6afde89..01507143f9463 100644 --- a/api/gen/proto/go/attestation/v1/attestation.pb.go +++ b/api/gen/proto/go/attestation/v1/attestation.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: teleport/attestation/v1/attestation.proto -package v1 +package attestationv1 import ( fmt "fmt" @@ -169,7 +169,7 @@ func init() { } var fileDescriptor_99516272d9ee5937 = []byte{ - // 243 bytes of a gzipped FileDescriptorProto + // 248 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2c, 0x49, 0xcd, 0x49, 0x2d, 0xc8, 0x2f, 0x2a, 0xd1, 0x4f, 0x2c, 0x29, 0x49, 0x2d, 0x2e, 0x49, 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x2f, 0x33, 0x44, 0xe6, 0xea, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x89, 0xc3, 0x94, 0xea, @@ -180,12 +180,12 @@ var fileDescriptor_99516272d9ee5937 = []byte{ 0xa4, 0xa1, 0x86, 0x63, 0x93, 0x76, 0x12, 0xe7, 0x12, 0xc5, 0x6a, 0xa7, 0x52, 0x2a, 0x97, 0x34, 0x1e, 0x63, 0x85, 0xa4, 0xb9, 0x38, 0x8b, 0x73, 0xf2, 0x4b, 0xe2, 0x93, 0x53, 0x8b, 0x20, 0xee, 0xe3, 0x09, 0xe2, 0x00, 0x09, 0x38, 0xa7, 0x16, 0x95, 0x08, 0x69, 0x72, 0x09, 0x20, 0x1b, 0x0a, - 0x56, 0xc3, 0x04, 0x56, 0xc3, 0x8f, 0x24, 0x0e, 0x52, 0xea, 0xe4, 0x7f, 0xe2, 0x91, 0x1c, 0xe3, - 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x46, 0x39, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, + 0x56, 0xc3, 0x04, 0x56, 0xc3, 0x8f, 0x24, 0x0e, 0x52, 0xea, 0x14, 0x7b, 0xe2, 0x91, 0x1c, 0xe3, + 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x46, 0xf9, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0x17, 0x25, 0x96, 0x65, 0x42, 0x54, 0x26, 0xe6, 0xe8, 0x23, 0xc2, 0xbf, 0x20, 0x53, 0x3f, 0x3d, 0x35, 0x4f, 0x1f, 0x1c, 0xd8, 0xfa, 0xe9, 0xf9, 0x68, 0x11, - 0x92, 0xc4, 0x06, 0x96, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x5e, 0x52, 0x76, 0xb2, - 0x01, 0x00, 0x00, + 0x62, 0x8d, 0xc4, 0x2d, 0x33, 0x4c, 0x62, 0x03, 0x2b, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, + 0x30, 0x65, 0x2f, 0xe2, 0xc0, 0x01, 0x00, 0x00, } func (m *AttestationStatement) Marshal() (dAtA []byte, err error) { diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go index 36fef2d25f046..237f07a50a928 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/devicetrust/v1/device.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -398,12 +398,13 @@ var file_teleport_devicetrust_v1_device_proto_rawDesc = []byte{ 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x45, 0x4e, 0x52, 0x4f, 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, - 0x45, 0x4e, 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, + 0x45, 0x4e, 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x42, 0x5a, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, - 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, + 0x72, 0x75, 0x73, 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go index 348b67c844781..a5e0a580450d4 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/devicetrust/v1/device_collected_data.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -219,13 +219,13 @@ var file_teleport_devicetrust_v1_device_collected_data_proto_rawDesc = []byte{ 0x3a, 0x0a, 0x19, 0x6d, 0x61, 0x63, 0x6f, 0x73, 0x5f, 0x65, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6d, 0x61, 0x63, 0x6f, 0x73, 0x45, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x6d, - 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x4c, 0x5a, 0x4a, 0x67, + 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x5a, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, - 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x74, 0x72, 0x75, 0x73, 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go index 784c27448f598..ddc7eafabe7e9 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/devicetrust/v1/device_enroll_token.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -95,12 +95,13 @@ var file_teleport_devicetrust_v1_device_enroll_token_proto_rawDesc = []byte{ 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x22, 0x29, 0x0a, 0x11, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x72, 0x6f, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x5a, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, - 0x73, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, + 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device_profile.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_profile.pb.go index af1de8d989368..36a2553e4a583 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/device_profile.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/device_profile.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/devicetrust/v1/device_profile.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -162,12 +162,13 @@ var file_teleport_devicetrust_v1_device_profile_proto_rawDesc = []byte{ 0x2e, 0x0a, 0x13, 0x6a, 0x61, 0x6d, 0x66, 0x5f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6a, 0x61, 0x6d, 0x66, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, - 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, + 0x5a, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x64, - 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/devicetrust/v1/device_source.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_source.pb.go index 518fb77c6cb8c..fd7e0e4abb1b1 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/device_source.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/device_source.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/devicetrust/v1/device_source.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -174,12 +174,13 @@ var file_teleport_devicetrust_v1_device_source_proto_rawDesc = []byte{ 0x16, 0x0a, 0x12, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x5f, 0x4a, 0x41, 0x4d, 0x46, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x5f, 0x49, 0x4e, 0x54, 0x55, 0x4e, 0x45, 0x10, - 0x03, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x03, 0x42, 0x5a, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, - 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, + 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go index 176836f634bc2..07ffbad5f58ce 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/devicetrust/v1/devicetrust_service.proto -package v1 +package devicetrustv1 import ( status "google.golang.org/genproto/googleapis/rpc/status" @@ -2619,12 +2619,13 @@ var file_teleport_devicetrust_v1_devicetrust_service_proto_rawDesc = []byte{ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x5a, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, - 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, + 0x75, 0x73, 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go index c3ceceac5de19..70d213c80d7d6 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/devicetrust/v1/devicetrust_service.proto -package v1 +package devicetrustv1 import ( context "context" diff --git a/api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go index 00bbde881d9a1..e3168e0729084 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/os_type.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/devicetrust/v1/os_type.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -102,13 +102,14 @@ var file_teleport_devicetrust_v1_os_type_proto_rawDesc = []byte{ 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x43, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4f, 0x53, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x53, 0x10, 0x03, 0x42, 0x4c, - 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x53, 0x10, 0x03, 0x42, 0x5a, + 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x64, 0x65, - 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go index e03a5d74b7081..e893ee7cc5900 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/user_certificates.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/devicetrust/v1/user_certificates.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -107,12 +107,13 @@ var file_teleport_devicetrust_v1_user_certificates_proto_rawDesc = []byte{ 0x52, 0x07, 0x78, 0x35, 0x30, 0x39, 0x44, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x73, 0x68, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x73, 0x73, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x69, 0x7a, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x42, 0x5a, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, - 0x73, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x74, 0x72, 0x75, 0x73, + 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/integration/v1/integration_service.pb.go b/api/gen/proto/go/teleport/integration/v1/integration_service.pb.go index c2f634328b8d7..b19f7de5ff71b 100644 --- a/api/gen/proto/go/teleport/integration/v1/integration_service.pb.go +++ b/api/gen/proto/go/teleport/integration/v1/integration_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/integration/v1/integration_service.proto -package v1 +package integrationv1 import ( types "github.com/gravitational/teleport/api/types" @@ -478,13 +478,13 @@ var file_teleport_integration_v1_integration_service_proto_rawDesc = []byte{ 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x4c, 0x5a, 0x4a, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x5a, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/integration/v1/integration_service_grpc.pb.go b/api/gen/proto/go/teleport/integration/v1/integration_service_grpc.pb.go index ec23efa6326fd..afcdf351e4227 100644 --- a/api/gen/proto/go/teleport/integration/v1/integration_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/integration/v1/integration_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/integration/v1/integration_service.proto -package v1 +package integrationv1 import ( context "context" diff --git a/api/gen/proto/go/teleport/kube/v1/kube_service.pb.go b/api/gen/proto/go/teleport/kube/v1/kube_service.pb.go index 8156d1debb3fc..4d008e9ac446a 100644 --- a/api/gen/proto/go/teleport/kube/v1/kube_service.pb.go +++ b/api/gen/proto/go/teleport/kube/v1/kube_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/kube/v1/kube_service.proto -package v1 +package kubev1 import ( types "github.com/gravitational/teleport/api/types" @@ -337,12 +337,13 @@ var file_teleport_kube_v1_kube_service_proto_rawDesc = []byte{ 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x45, 0x5a, 0x43, + 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6b, 0x75, 0x62, 0x65, - 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x76, 0x31, 0x3b, 0x6b, 0x75, 0x62, 0x65, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/kube/v1/kube_service_grpc.pb.go b/api/gen/proto/go/teleport/kube/v1/kube_service_grpc.pb.go index 2f1b203810dcd..2280ba473cac0 100644 --- a/api/gen/proto/go/teleport/kube/v1/kube_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/kube/v1/kube_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/kube/v1/kube_service.proto -package v1 +package kubev1 import ( context "context" diff --git a/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go b/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go index 19a10af875f60..64b6f7371d8cd 100644 --- a/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go +++ b/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/loginrule/v1/loginrule.proto -package v1 +package loginrulev1 import ( types "github.com/gravitational/teleport/api/types" @@ -158,12 +158,13 @@ var file_teleport_loginrule_v1_loginrule_proto_rawDesc = []byte{ 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x42, 0x4a, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x56, 0x5a, 0x54, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x72, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x3b, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x72, 0x75, 0x6c, 0x65, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/loginrule/v1/loginrule_service.pb.go b/api/gen/proto/go/teleport/loginrule/v1/loginrule_service.pb.go index ffdd236a7e4cd..77be0f9c60fda 100644 --- a/api/gen/proto/go/teleport/loginrule/v1/loginrule_service.pb.go +++ b/api/gen/proto/go/teleport/loginrule/v1/loginrule_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/loginrule/v1/loginrule_service.proto -package v1 +package loginrulev1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -424,12 +424,13 @@ var file_teleport_loginrule_v1_loginrule_service_proto_rawDesc = []byte{ 0x69, 0x6e, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x4a, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x56, 0x5a, 0x54, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x72, 0x75, 0x6c, - 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x72, 0x75, 0x6c, 0x65, 0x76, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/loginrule/v1/loginrule_service_grpc.pb.go b/api/gen/proto/go/teleport/loginrule/v1/loginrule_service_grpc.pb.go index 5d882681eebed..b922627418500 100644 --- a/api/gen/proto/go/teleport/loginrule/v1/loginrule_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/loginrule/v1/loginrule_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/loginrule/v1/loginrule_service.proto -package v1 +package loginrulev1 import ( context "context" diff --git a/api/gen/proto/go/teleport/okta/v1/okta_service.pb.go b/api/gen/proto/go/teleport/okta/v1/okta_service.pb.go index 8e62e77be5e92..623310209be48 100644 --- a/api/gen/proto/go/teleport/okta/v1/okta_service.pb.go +++ b/api/gen/proto/go/teleport/okta/v1/okta_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/okta/v1/okta_service.proto -package v1 +package oktav1 import ( types "github.com/gravitational/teleport/api/types" @@ -966,12 +966,12 @@ var file_teleport_okta_v1_okta_service_proto_rawDesc = []byte{ 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x4f, 0x6b, 0x74, 0x61, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, - 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6f, 0x6b, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6f, 0x6b, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x3b, + 0x6f, 0x6b, 0x74, 0x61, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/okta/v1/okta_service_grpc.pb.go b/api/gen/proto/go/teleport/okta/v1/okta_service_grpc.pb.go index 00a00736e96da..2c749c4232cba 100644 --- a/api/gen/proto/go/teleport/okta/v1/okta_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/okta/v1/okta_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/okta/v1/okta_service.proto -package v1 +package oktav1 import ( context "context" diff --git a/api/gen/proto/go/teleport/plugins/v1/plugin_service.pb.go b/api/gen/proto/go/teleport/plugins/v1/plugin_service.pb.go index 4608d99e65116..8fab5eb352d33 100644 --- a/api/gen/proto/go/teleport/plugins/v1/plugin_service.pb.go +++ b/api/gen/proto/go/teleport/plugins/v1/plugin_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/plugins/v1/plugin_service.proto -package v1 +package pluginsv1 import ( types "github.com/gravitational/teleport/api/types" @@ -685,12 +685,13 @@ var file_teleport_plugins_v1_plugin_service_proto_rawDesc = []byte{ 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x52, 0x5a, 0x50, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, - 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x76, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/plugins/v1/plugin_service_grpc.pb.go b/api/gen/proto/go/teleport/plugins/v1/plugin_service_grpc.pb.go index 17808cf464d02..2b4b3ac2bb928 100644 --- a/api/gen/proto/go/teleport/plugins/v1/plugin_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/plugins/v1/plugin_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/plugins/v1/plugin_service.proto -package v1 +package pluginsv1 import ( context "context" diff --git a/api/gen/proto/go/teleport/samlidp/v1/samlidp.pb.go b/api/gen/proto/go/teleport/samlidp/v1/samlidp.pb.go index 1d039fb68930b..d08cf48592bd0 100644 --- a/api/gen/proto/go/teleport/samlidp/v1/samlidp.pb.go +++ b/api/gen/proto/go/teleport/samlidp/v1/samlidp.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/samlidp/v1/samlidp.proto -package v1 +package samlidpv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -230,12 +230,13 @@ var file_teleport_samlidp_v1_samlidp_proto_rawDesc = []byte{ 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x73, 0x61, 0x6d, 0x6c, 0x69, 0x64, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x41, 0x4d, 0x4c, 0x49, 0x64, 0x50, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x48, 0x5a, - 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x52, 0x5a, + 0x50, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x73, 0x61, 0x6d, - 0x6c, 0x69, 0x64, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x69, 0x64, 0x70, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x61, 0x6d, 0x6c, 0x69, 0x64, 0x70, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/samlidp/v1/samlidp_grpc.pb.go b/api/gen/proto/go/teleport/samlidp/v1/samlidp_grpc.pb.go index 5778138d70108..056993a686a47 100644 --- a/api/gen/proto/go/teleport/samlidp/v1/samlidp_grpc.pb.go +++ b/api/gen/proto/go/teleport/samlidp/v1/samlidp_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/samlidp/v1/samlidp.proto -package v1 +package samlidpv1 import ( context "context" diff --git a/api/gen/proto/go/teleport/transport/v1/transport_service.pb.go b/api/gen/proto/go/teleport/transport/v1/transport_service.pb.go index c4b7636228656..d7fe55e9a9f37 100644 --- a/api/gen/proto/go/teleport/transport/v1/transport_service.pb.go +++ b/api/gen/proto/go/teleport/transport/v1/transport_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/transport/v1/transport_service.proto -package v1 +package transportv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -675,12 +675,13 @@ var file_teleport_transport_v1_transport_service_proto_rawDesc = []byte{ 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x4a, 0x5a, 0x48, 0x67, 0x69, 0x74, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x56, 0x5a, 0x54, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, - 0x72, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/transport/v1/transport_service_grpc.pb.go b/api/gen/proto/go/teleport/transport/v1/transport_service_grpc.pb.go index 028067e2a787e..3112cd8d28657 100644 --- a/api/gen/proto/go/teleport/transport/v1/transport_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/transport/v1/transport_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/transport/v1/transport_service.proto -package v1 +package transportv1 import ( context "context" diff --git a/api/gen/proto/go/teleport/trust/v1/trust_service.pb.go b/api/gen/proto/go/teleport/trust/v1/trust_service.pb.go index e0f9abe4a27d2..77df25f1fa5fe 100644 --- a/api/gen/proto/go/teleport/trust/v1/trust_service.pb.go +++ b/api/gen/proto/go/teleport/trust/v1/trust_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/trust/v1/trust_service.proto -package v1 +package trustv1 import ( types "github.com/gravitational/teleport/api/types" @@ -381,12 +381,13 @@ var file_teleport_trust_v1_trust_service_proto_rawDesc = []byte{ 0x75, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x43, 0x65, 0x72, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x56, 0x32, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x56, 0x32, 0x42, 0x4e, 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2f, 0x76, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x31, 0x3b, 0x74, 0x72, 0x75, 0x73, 0x74, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/api/gen/proto/go/teleport/trust/v1/trust_service_grpc.pb.go b/api/gen/proto/go/teleport/trust/v1/trust_service_grpc.pb.go index 023da6b5bc55f..cf7195598c598 100644 --- a/api/gen/proto/go/teleport/trust/v1/trust_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/trust/v1/trust_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/trust/v1/trust_service.proto -package v1 +package trustv1 import ( context "context" diff --git a/api/gen/proto/go/usageevents/v1/usageevents.pb.go b/api/gen/proto/go/usageevents/v1/usageevents.pb.go index 57e663baa9f46..f59c739cf2dab 100644 --- a/api/gen/proto/go/usageevents/v1/usageevents.pb.go +++ b/api/gen/proto/go/usageevents/v1/usageevents.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: teleport/usageevents/v1/usageevents.proto -package v1 +package usageeventsv1 import ( fmt "fmt" @@ -2192,145 +2192,145 @@ func init() { } var fileDescriptor_94cf2ca1c69fd564 = []byte{ - // 2201 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0xcb, 0x6f, 0xdb, 0xc8, - 0xfd, 0x17, 0xe5, 0x3c, 0x9c, 0xc9, 0xc6, 0xe1, 0xce, 0xe6, 0x21, 0xc7, 0x6f, 0xe5, 0x69, 0x27, - 0x3f, 0x7b, 0xf3, 0xf8, 0x6d, 0xd2, 0x66, 0xdb, 0x80, 0x22, 0x69, 0x93, 0x6b, 0xd9, 0xd4, 0x0e, - 0xa9, 0xa4, 0xde, 0xcb, 0x80, 0x96, 0xc6, 0x0a, 0x11, 0x8a, 0x14, 0xc8, 0x91, 0x5c, 0xa3, 0x28, - 0x16, 0x2d, 0x8a, 0xa2, 0x40, 0x80, 0xa2, 0xbd, 0x15, 0x28, 0x50, 0xa0, 0x68, 0x0f, 0x3d, 0xf4, - 0xde, 0x73, 0x6f, 0x3d, 0xf6, 0x4f, 0x28, 0x72, 0xef, 0x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x58, 0x40, 0xaf, - 0x8b, 0x62, 0xff, 0xb3, 0xe6, 0xc6, 0x2e, 0xee, 0xaa, 0xb5, 0x9a, 0x2c, 0xf1, 0x45, 0x38, 0x0f, - 0xae, 0x0e, 0x2f, 0xca, 0x08, 0x69, 0x88, 0x9f, 0x19, 0xa7, 0x27, 0x54, 0x34, 0xc4, 0x8e, 0xad, - 0x8a, 0xf6, 0x97, 0x77, 0xcb, 0xdc, 0x5f, 0xdf, 0x2d, 0x73, 0x7f, 0x7b, 0xb7, 0xcc, 0x7d, 0x21, - 0xb4, 0x2c, 0xfa, 0xba, 0x7b, 0xb8, 0xd9, 0x70, 0xdb, 0x5b, 0x2d, 0xcf, 0xec, 0x59, 0xc1, 0x69, - 0x6f, 0xda, 0x5b, 0xf1, 0x8f, 0xb7, 0xcc, 0x8e, 0xb5, 0xd5, 0x22, 0xce, 0x16, 0xfb, 0xa5, 0xd6, - 0x56, 0xcb, 0x1d, 0xfa, 0x35, 0xd7, 0xe1, 0x39, 0xb6, 0xf0, 0xf8, 0xbf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x8a, 0x26, 0xe3, 0x99, 0xef, 0x25, 0x00, 0x00, + // 2208 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0xdb, 0x6f, 0xdc, 0x58, + 0x19, 0x1f, 0x4f, 0x7a, 0x49, 0xcf, 0x6e, 0x53, 0xef, 0xd9, 0x6e, 0x3b, 0x69, 0xee, 0xd3, 0x6b, + 0xb2, 0x25, 0xd9, 0xb4, 0x65, 0x5b, 0xe8, 0x42, 0xe5, 0xb1, 0x9d, 0xd8, 0x9b, 0x49, 0x3c, 0x7b, + 0xec, 0x69, 0xc9, 0x4a, 0xe8, 0xc8, 0x99, 0x39, 0x99, 0x5a, 0xf5, 0xd8, 0x23, 0xfb, 0xcc, 0x84, + 0x08, 0xa1, 0x15, 0x08, 0x21, 0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 0xb8, 0x52, + 0xef, 0x93, 0x67, 0x97, 0x9a, 0x43, 0xb4, 0x63, 0x58, 0x07, 0x57, 0xba, 0x16, 0x3e, 0x62, 0x72, + 0x1e, 0x37, 0xfa, 0xd8, 0xb0, 0x08, 0x93, 0x03, 0x1e, 0x55, 0xff, 0x4a, 0x01, 0x5d, 0xee, 0x5a, + 0xa9, 0xbb, 0xf0, 0x37, 0x1c, 0x58, 0xef, 0x5a, 0xd8, 0x0d, 0xe4, 0x31, 0x6e, 0x84, 0x25, 0xc7, + 0x2d, 0x17, 0x53, 0x17, 0x37, 0x23, 0xf9, 0x1f, 0x7a, 0x0c, 0x52, 0x2c, 0x4c, 0xf1, 0x98, 0x6f, + 0x86, 0xa0, 0x14, 0xd0, 0xcd, 0xae, 0x95, 0x89, 0x85, 0xaf, 0x39, 0x70, 0x33, 0xc5, 0xce, 0x6c, + 0x36, 0xf1, 0xb1, 0xe5, 0xf9, 0x14, 0x47, 0xe5, 0x0f, 0x79, 0x9d, 0x63, 0xbc, 0x3e, 0xc9, 0xe6, + 0x35, 0x79, 0x26, 0xa1, 0x14, 0xd0, 0x72, 0x4c, 0x69, 0x2c, 0x6c, 0x38, 0x57, 0x63, 0xd8, 0xd8, + 0x26, 0x8d, 0xab, 0x73, 0x3e, 0x6f, 0xae, 0x32, 0x06, 0x20, 0x03, 0xb9, 0x9a, 0x8c, 0x85, 0x3f, + 0xe5, 0xc0, 0x6a, 0x8a, 0x9d, 0x4f, 0x28, 0x6e, 0xc4, 0xb3, 0x12, 0xec, 0xb3, 0x39, 0x47, 0xe9, + 0x02, 0x23, 0xf5, 0xed, 0x6c, 0x52, 0x93, 0x26, 0x2d, 0x4a, 0x01, 0x2d, 0xc6, 0x6c, 0xc6, 0x80, + 0xe0, 0x2f, 0x39, 0x70, 0x2b, 0x45, 0xc3, 0x0b, 0x45, 0x09, 0x6e, 0x44, 0x13, 0x97, 0x88, 0xca, + 0x45, 0x46, 0xe5, 0xbb, 0xd9, 0x54, 0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x0a, + 0x58, 0x88, 0xd7, 0xd2, 0x0d, 0xc1, 0xa8, 0xeb, 0x43, 0xdf, 0xba, 0x05, 0x70, 0x7d, 0x18, 0xa0, + 0xd7, 0x45, 0xb1, 0xff, 0x5a, 0x73, 0x63, 0x1f, 0xee, 0xa9, 0xb5, 0x9a, 0x2c, 0xf1, 0x45, 0x38, + 0x0f, 0x3e, 0x18, 0x7e, 0x28, 0x23, 0xa4, 0x21, 0x7e, 0x66, 0x9c, 0x9d, 0x50, 0xd1, 0x10, 0xfb, + 0x6c, 0x55, 0xbe, 0xff, 0xd7, 0x37, 0xcb, 0xdc, 0xdf, 0xde, 0x2c, 0x73, 0x7f, 0x7f, 0xb3, 0xcc, + 0x7d, 0xae, 0xb5, 0x2c, 0xfa, 0xb2, 0x7b, 0xb4, 0xd9, 0x70, 0xdb, 0x5b, 0x2d, 0xcf, 0xec, 0x59, + 0xc1, 0xd7, 0xde, 0xb4, 0xb7, 0xe2, 0x1f, 0x6f, 0x99, 0x1d, 0x6b, 0xab, 0x45, 0x9c, 0x2d, 0xf6, + 0x4b, 0xad, 0xad, 0x96, 0x3b, 0xf4, 0x6b, 0xae, 0xa7, 0xa9, 0xcb, 0xde, 0xf6, 0xd1, 0x05, 0x06, + 0x7b, 0xf8, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xce, 0x90, 0x9a, 0x94, 0xfd, 0x25, 0x00, 0x00, } func (m *UIBannerClickEvent) Marshal() (dAtA []byte, err error) { diff --git a/api/proto/teleport/attestation/v1/attestation.proto b/api/proto/teleport/attestation/v1/attestation.proto index 2b91ed1aa1828..e2c3575f90674 100644 --- a/api/proto/teleport/attestation/v1/attestation.proto +++ b/api/proto/teleport/attestation/v1/attestation.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.attestation.v1; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/attestation/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/attestation/v1;attestationv1"; // AttestationStatement is an attestation statement for a hardware private key. message AttestationStatement { diff --git a/api/proto/teleport/devicetrust/v1/device.proto b/api/proto/teleport/devicetrust/v1/device.proto index 5a8164834fc34..b72a90c2e1c08 100644 --- a/api/proto/teleport/devicetrust/v1/device.proto +++ b/api/proto/teleport/devicetrust/v1/device.proto @@ -23,7 +23,7 @@ import "teleport/devicetrust/v1/device_profile.proto"; import "teleport/devicetrust/v1/device_source.proto"; import "teleport/devicetrust/v1/os_type.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1;devicetrustv1"; // Device represents a registered device. // Registered devices may be enrolled. Enrolled devices are allowed to perform diff --git a/api/proto/teleport/devicetrust/v1/device_collected_data.proto b/api/proto/teleport/devicetrust/v1/device_collected_data.proto index cd56570010b6e..8ff983c9f9b23 100644 --- a/api/proto/teleport/devicetrust/v1/device_collected_data.proto +++ b/api/proto/teleport/devicetrust/v1/device_collected_data.proto @@ -19,7 +19,7 @@ package teleport.devicetrust.v1; import "google/protobuf/timestamp.proto"; import "teleport/devicetrust/v1/os_type.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1;devicetrustv1"; // DeviceCollectedData contains information gathered from the device during // various ceremonies. diff --git a/api/proto/teleport/devicetrust/v1/device_enroll_token.proto b/api/proto/teleport/devicetrust/v1/device_enroll_token.proto index 3adbed3ee24e1..06e092eeb8292 100644 --- a/api/proto/teleport/devicetrust/v1/device_enroll_token.proto +++ b/api/proto/teleport/devicetrust/v1/device_enroll_token.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.devicetrust.v1; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1;devicetrustv1"; // DeviceEnrollToken encapsulates the permission, granted by a device // administrator to an user, to enroll a device. diff --git a/api/proto/teleport/devicetrust/v1/device_profile.proto b/api/proto/teleport/devicetrust/v1/device_profile.proto index c49b8eaa64c7d..0c474dc525418 100644 --- a/api/proto/teleport/devicetrust/v1/device_profile.proto +++ b/api/proto/teleport/devicetrust/v1/device_profile.proto @@ -18,7 +18,7 @@ package teleport.devicetrust.v1; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1;devicetrustv1"; // Device profile information acquired from an external source. // If present, it's used to further validate collected data. diff --git a/api/proto/teleport/devicetrust/v1/device_source.proto b/api/proto/teleport/devicetrust/v1/device_source.proto index 75bf9dea9c1c9..1af88e47244a6 100644 --- a/api/proto/teleport/devicetrust/v1/device_source.proto +++ b/api/proto/teleport/devicetrust/v1/device_source.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.devicetrust.v1; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1;devicetrustv1"; // Source of device, for devices that are managed by external systems // (for example, MDMs). diff --git a/api/proto/teleport/devicetrust/v1/devicetrust_service.proto b/api/proto/teleport/devicetrust/v1/devicetrust_service.proto index 1decaf3d8f958..b8aff9b5f8549 100644 --- a/api/proto/teleport/devicetrust/v1/devicetrust_service.proto +++ b/api/proto/teleport/devicetrust/v1/devicetrust_service.proto @@ -25,7 +25,7 @@ import "teleport/devicetrust/v1/device_enroll_token.proto"; import "teleport/devicetrust/v1/device_source.proto"; import "teleport/devicetrust/v1/user_certificates.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1;devicetrustv1"; // DeviceTrustService provides methods to manage, enroll and authenticate // trusted devices. diff --git a/api/proto/teleport/devicetrust/v1/os_type.proto b/api/proto/teleport/devicetrust/v1/os_type.proto index 62ea976ef2f50..b5ababaadad06 100644 --- a/api/proto/teleport/devicetrust/v1/os_type.proto +++ b/api/proto/teleport/devicetrust/v1/os_type.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.devicetrust.v1; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1;devicetrustv1"; // OSType represents the operating system of a device. enum OSType { diff --git a/api/proto/teleport/devicetrust/v1/user_certificates.proto b/api/proto/teleport/devicetrust/v1/user_certificates.proto index 471bafdf625bc..a08a4f527ef2b 100644 --- a/api/proto/teleport/devicetrust/v1/user_certificates.proto +++ b/api/proto/teleport/devicetrust/v1/user_certificates.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.devicetrust.v1; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/devicetrust/v1;devicetrustv1"; // UserCertificates is used to transport X.509 and SSH certificates during // device authentication. diff --git a/api/proto/teleport/integration/v1/integration_service.proto b/api/proto/teleport/integration/v1/integration_service.proto index cf5ad106b80f8..f74809529640a 100644 --- a/api/proto/teleport/integration/v1/integration_service.proto +++ b/api/proto/teleport/integration/v1/integration_service.proto @@ -19,7 +19,7 @@ package teleport.integration.v1; import "google/protobuf/empty.proto"; import "teleport/legacy/types/types.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/integration/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/integration/v1;integrationv1"; // IntegrationService provides methods to manage Integrations with 3rd party APIs. service IntegrationService { diff --git a/api/proto/teleport/kube/v1/kube_service.proto b/api/proto/teleport/kube/v1/kube_service.proto index 5de5339156006..86654a82b3e4f 100644 --- a/api/proto/teleport/kube/v1/kube_service.proto +++ b/api/proto/teleport/kube/v1/kube_service.proto @@ -18,7 +18,7 @@ package teleport.kube.v1; import "teleport/legacy/types/types.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/kube/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/kube/v1;kubev1"; // KubeService provides methods to list Kubernetes resources when users are not allowed // to access the underlying cluster or resources but their `search_as_roles` allow. diff --git a/api/proto/teleport/loginrule/v1/loginrule.proto b/api/proto/teleport/loginrule/v1/loginrule.proto index ac7ebad737e9f..72c0e2fb8c0fa 100644 --- a/api/proto/teleport/loginrule/v1/loginrule.proto +++ b/api/proto/teleport/loginrule/v1/loginrule.proto @@ -19,7 +19,7 @@ package teleport.loginrule.v1; import "teleport/legacy/types/types.proto"; import "teleport/legacy/types/wrappers/wrappers.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/loginrule/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/loginrule/v1;loginrulev1"; // LoginRule is a resource to configure rules and logic which should run during // Teleport user login. diff --git a/api/proto/teleport/loginrule/v1/loginrule_service.proto b/api/proto/teleport/loginrule/v1/loginrule_service.proto index ac2fd63b9fb14..be21666327c90 100644 --- a/api/proto/teleport/loginrule/v1/loginrule_service.proto +++ b/api/proto/teleport/loginrule/v1/loginrule_service.proto @@ -19,7 +19,7 @@ package teleport.loginrule.v1; import "google/protobuf/empty.proto"; import "teleport/loginrule/v1/loginrule.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/loginrule/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/loginrule/v1;loginrulev1"; // LoginRuleService provides CRUD methods for the LoginRule resource. service LoginRuleService { diff --git a/api/proto/teleport/okta/v1/okta_service.proto b/api/proto/teleport/okta/v1/okta_service.proto index c02f8572c6f3a..d47cd0d428575 100644 --- a/api/proto/teleport/okta/v1/okta_service.proto +++ b/api/proto/teleport/okta/v1/okta_service.proto @@ -19,7 +19,7 @@ package teleport.okta.v1; import "google/protobuf/empty.proto"; import "teleport/legacy/types/types.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/okta/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/okta/v1;oktav1"; // OktaService provides CRUD methods for Okta resources. service OktaService { diff --git a/api/proto/teleport/plugins/v1/plugin_service.proto b/api/proto/teleport/plugins/v1/plugin_service.proto index 344b365e84899..e94cbec37ebb7 100644 --- a/api/proto/teleport/plugins/v1/plugin_service.proto +++ b/api/proto/teleport/plugins/v1/plugin_service.proto @@ -19,7 +19,7 @@ package teleport.plugins.v1; import "google/protobuf/empty.proto"; import "teleport/legacy/types/types.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/plugins/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/plugins/v1;pluginsv1"; // PluginType represents a single type of hosted plugin // that can be onboarded. diff --git a/api/proto/teleport/samlidp/v1/samlidp.proto b/api/proto/teleport/samlidp/v1/samlidp.proto index 550ae5df34ca7..4db209017f9b9 100644 --- a/api/proto/teleport/samlidp/v1/samlidp.proto +++ b/api/proto/teleport/samlidp/v1/samlidp.proto @@ -18,7 +18,7 @@ package teleport.samlidp.v1; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/samlidp/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/samlidp/v1;samlidpv1"; // ProcessSAMLIdPRequestRequest is a request to create and sign the SAML IdP response // to a SAML IdP auth request. diff --git a/api/proto/teleport/transport/v1/transport_service.proto b/api/proto/teleport/transport/v1/transport_service.proto index 39b2b90d1f87f..850f7e01647c1 100644 --- a/api/proto/teleport/transport/v1/transport_service.proto +++ b/api/proto/teleport/transport/v1/transport_service.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.transport.v1; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/transport/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/transport/v1;transportv1"; // TransportService provides methods to proxy connections to various Teleport instances. // diff --git a/api/proto/teleport/trust/v1/trust_service.proto b/api/proto/teleport/trust/v1/trust_service.proto index 961610686a8f1..9aaf1ae403edf 100644 --- a/api/proto/teleport/trust/v1/trust_service.proto +++ b/api/proto/teleport/trust/v1/trust_service.proto @@ -19,7 +19,7 @@ package teleport.trust.v1; import "google/protobuf/empty.proto"; import "teleport/legacy/types/types.proto"; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/trust/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/trust/v1;trustv1"; // TrustService provides methods to manage certificate authorities. service TrustService { diff --git a/api/proto/teleport/usageevents/v1/usageevents.proto b/api/proto/teleport/usageevents/v1/usageevents.proto index a5bfb1727052c..b93940f09db2c 100644 --- a/api/proto/teleport/usageevents/v1/usageevents.proto +++ b/api/proto/teleport/usageevents/v1/usageevents.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.usageevents.v1; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/usageevents/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/usageevents/v1;usageeventsv1"; // UIBannerClickEvent is a usage event sent by the UI when the upgrade // banner is clicked. diff --git a/buf-connect-go.gen.yaml b/buf-connect-go.gen.yaml index e642b049138e7..115009d95967e 100644 --- a/buf-connect-go.gen.yaml +++ b/buf-connect-go.gen.yaml @@ -1,8 +1,16 @@ version: v1 plugins: - name: go - path: lib/prehog/bin/protoc-gen-go + path: + - go + - run + - google.golang.org/protobuf/cmd/protoc-gen-go out: . + opt: module=github.com/gravitational/teleport - name: connect-go - path: lib/prehog/bin/protoc-gen-connect-go + path: + - go + - run + - github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go out: . + opt: module=github.com/gravitational/teleport diff --git a/buf-go.gen.yaml b/buf-go.gen.yaml index e7c593f04460d..88237840d1b8e 100644 --- a/buf-go.gen.yaml +++ b/buf-go.gen.yaml @@ -1,6 +1,16 @@ version: v1 plugins: - name: go + path: + - go + - run + - google.golang.org/protobuf/cmd/protoc-gen-go out: . + opt: module=github.com/gravitational/teleport - name: go-grpc + path: + - go + - run + - google.golang.org/grpc/cmd/protoc-gen-go-grpc out: . + opt: module=github.com/gravitational/teleport diff --git a/buf-gogo.gen.yaml b/buf-gogo.gen.yaml index 0f1a13f064c74..be4708733309e 100644 --- a/buf-gogo.gen.yaml +++ b/buf-gogo.gen.yaml @@ -1,5 +1,5 @@ version: v1 plugins: - name: gogofast - out: . + out: ./gogogen opt: plugins=grpc diff --git a/build.assets/Dockerfile b/build.assets/Dockerfile index 4e99516ba0412..e379afa9cbc32 100644 --- a/build.assets/Dockerfile +++ b/build.assets/Dockerfile @@ -268,7 +268,6 @@ RUN (npm install --global grpc_tools_node_protoc_ts@5.0.1 grpc-tools@1.12.4) # Install protobuf and grpc build tools. ARG PROTOC_VER ARG GOGO_PROTO_TAG -ENV GOGOPROTO_ROOT ${GOPATH}/src/github.com/gogo/protobuf RUN (export PROTOC_TARBALL=protoc-${PROTOC_VER}-linux-$(if [ "$BUILDARCH" = "amd64" ]; then echo "x86_64"; else echo "aarch_64"; fi).zip && \ curl -fsSL -o /tmp/${PROTOC_TARBALL} https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/${PROTOC_TARBALL} && \ @@ -276,13 +275,7 @@ RUN (export PROTOC_TARBALL=protoc-${PROTOC_VER}-linux-$(if [ "$BUILDARCH" = "amd chmod -R a+r /usr/local/include/google/protobuf && \ chmod -R a+xr /usr/local/bin/protoc && \ rm /tmp/${PROTOC_TARBALL}) -RUN (git clone https://github.com/gogo/protobuf.git --branch ${GOGO_PROTO_TAG} --depth 1 ${GOPATH}/src/github.com/gogo/protobuf && \ - cd ${GOPATH}/src/github.com/gogo/protobuf && \ - make install && \ - make clean) -RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.30.0 && \ - go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 -ENV PROTO_INCLUDE "/usr/local/include":"/go/src":"/go/src/github.com/gogo/protobuf/protobuf":"${GOGOPROTO_ROOT}":"${GOGOPROTO_ROOT}/protobuf" +RUN go install github.com/gogo/protobuf/protoc-gen-gogofast@${GOGO_PROTO_TAG} # Install addlicense. RUN go install github.com/google/addlicense@v1.0.0 diff --git a/build.assets/genproto.sh b/build.assets/genproto.sh index 9c9cbc5fdd72f..a4f2482fce633 100755 --- a/build.assets/genproto.sh +++ b/build.assets/genproto.sh @@ -7,15 +7,22 @@ main() { cd "$(dirname "$0")" # ./build-assets/ cd ../ # teleport root - # Generated protos are written to - # /github.com/gravitational/teleport/..., so we copy them to - # the correct relative path. - trap 'rm -fr github.com' EXIT # don't leave github.com/ behind - rm -fr api/gen/proto gen/proto # cleanup gen/proto folders - - # Generate Gogo protos. - buf generate --template=buf-gogo.gen.yaml api/proto - buf generate --template=buf-gogo.gen.yaml proto + # Clean gen/proto directories before regenerating them. Legacy protos are + # generated all over the directory tree, so they won't get cleaned up + # automatically if the proto is deleted. + rm -fr api/gen/proto gen/proto + + # Generate Gogo protos. Generated protos are written to + # gogogen/github.com/gravitational/teleport/..., so we copy them to the + # correct relative path. This is in lieu of the module= option, which would do + # this for us (and which is what we use for the non-gogo protogen). + rm -fr gogogen + trap 'rm -fr gogogen' EXIT # don't leave files behind + buf generate --template=buf-gogo.gen.yaml + cp -r gogogen/github.com/gravitational/teleport/. . + # error out if there's anything outside of github.com/gravitational/teleport + rm -fr gogogen/github.com/gravitational/teleport + rmdir gogogen/github.com/gravitational gogogen/github.com gogogen # Generate protoc-gen-go protos (preferred). # Add your protos to the list if you can. @@ -40,8 +47,6 @@ main() { buf generate --template=buf-js.gen.yaml \ --path=proto/prehog/ \ --path=proto/teleport/lib/teleterm/ - - cp -r github.com/gravitational/teleport/* . } main "$@" diff --git a/e_imports.go b/e_imports.go index 42c4ce5401023..13a77b490478d 100644 --- a/e_imports.go +++ b/e_imports.go @@ -1,4 +1,4 @@ -//go:build eimports +//go:build e_imports && !e_imports // Copyright 2022 Gravitational, Inc // diff --git a/gen/proto/go/teleport/lib/teleterm/v1/access_request.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/access_request.pb.go index 31b9ccc7a7227..7a7a5be0c592b 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/access_request.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/access_request.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/access_request.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -516,12 +516,13 @@ var file_teleport_lib_teleterm_v1_access_request_proto_rawDesc = []byte{ 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x6c, 0x69, 0x62, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x49, 0x5a, 0x47, 0x67, + 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/auth_settings.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/auth_settings.pb.go index f16958c3814a7..40361aed62a43 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/auth_settings.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/auth_settings.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/auth_settings.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -253,12 +253,13 @@ var file_teleport_lib_teleterm_v1_auth_settings_proto_rawDesc = []byte{ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x49, 0x5a, - 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, + 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x54, 0x5a, + 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, + 0x6d, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/cluster.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/cluster.pb.go index e9fcedf447ae4..2e7b5ee9bdef6 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/cluster.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/cluster.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/cluster.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -646,12 +646,13 @@ var file_teleport_lib_teleterm_v1_cluster_proto_rawDesc = []byte{ 0x0a, 0x19, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, + 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/database.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/database.pb.go index b38283c9b2f2d..0d3db9504e5c2 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/database.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/database.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/database.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -169,12 +169,13 @@ var file_teleport_lib_teleterm_v1_database_proto_rawDesc = []byte{ 0x12, 0x37, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x6c, 0x69, 0x62, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, + 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, - 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/gateway.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/gateway.pb.go index 42380576a2175..b7d3e2bb326b3 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/gateway.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/gateway.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/gateway.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -194,12 +194,13 @@ var file_teleport_lib_teleterm_v1_gateway_proto_rawDesc = []byte{ 0x6e, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x75, 0x62, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/kube.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/kube.pb.go index a9d663d044d22..27b7499dde282 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/kube.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/kube.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/kube.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -116,12 +116,13 @@ var file_teleport_lib_teleterm_v1_kube_proto_rawDesc = []byte{ 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x6c, 0x69, 0x62, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x42, 0x49, 0x5a, 0x47, + 0x61, 0x62, 0x65, 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, + 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/label.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/label.pb.go index e6b589cf3882b..f6a683bdfa060 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/label.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/label.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/label.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -102,12 +102,13 @@ var file_teleport_lib_teleterm_v1_label_proto_rawDesc = []byte{ 0x22, 0x31, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6c, 0x75, 0x65, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, - 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/server.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/server.pb.go index 4eccef30192a0..2b4947a29cbbe 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/server.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/server.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/server.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -148,12 +148,13 @@ var file_teleport_lib_teleterm_v1_server_proto_rawDesc = []byte{ 0x12, 0x37, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x6c, 0x69, 0x62, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, + 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, - 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/service.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/service.pb.go index b76df806e650e..331f93c29b317 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/service.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/service.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -3466,12 +3466,12 @@ var file_teleport_lib_teleterm_v1_service_proto_rawDesc = []byte{ 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x6c, 0x69, 0x62, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x73, 0x65, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, - 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/service_grpc.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/service_grpc.pb.go index 813d452894fd1..03bc6cc0f4be0 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/service_grpc.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/lib/teleterm/v1/service.proto -package v1 +package teletermv1 import ( context "context" diff --git a/gen/proto/go/teleport/lib/teleterm/v1/tshd_events_service.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/tshd_events_service.pb.go index 1cc337a060620..ec8caf0a11692 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/tshd_events_service.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/tshd_events_service.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/tshd_events_service.proto -package v1 +package teletermv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -439,12 +439,13 @@ var file_teleport_lib_teleterm_v1_tshd_events_service_proto_rawDesc = []byte{ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x6c, 0x69, 0x62, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x49, 0x5a, 0x47, 0x67, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/proto/go/teleport/lib/teleterm/v1/tshd_events_service_grpc.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/tshd_events_service_grpc.pb.go index d7fdb0ae4adcf..3a191a0ae0ecd 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/tshd_events_service_grpc.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/tshd_events_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/lib/teleterm/v1/tshd_events_service.proto -package v1 +package teletermv1 import ( context "context" diff --git a/gen/proto/go/teleport/lib/teleterm/v1/usage_events.pb.go b/gen/proto/go/teleport/lib/teleterm/v1/usage_events.pb.go index e696f517d86cf..92b6aad8d860d 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/usage_events.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/usage_events.pb.go @@ -18,7 +18,7 @@ // protoc (unknown) // source: teleport/lib/teleterm/v1/usage_events.proto -package v1 +package teletermv1 import ( v1alpha "github.com/gravitational/teleport/gen/proto/go/prehog/v1alpha" @@ -108,12 +108,13 @@ var file_teleport_lib_teleterm_v1_usage_events_proto_rawDesc = []byte{ 0x70, 0x72, 0x65, 0x68, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x09, 0x70, 0x72, 0x65, 0x68, 0x6f, 0x67, - 0x52, 0x65, 0x71, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x52, 0x65, 0x71, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x6c, - 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x62, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x74, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/go.mod b/go.mod index 2a25727060c41..52a5d220d360d 100644 --- a/go.mod +++ b/go.mod @@ -142,6 +142,7 @@ require ( google.golang.org/api v0.114.0 google.golang.org/genproto v0.0.0-20230327152035-dc694ad2151e google.golang.org/grpc v1.54.0 + google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 google.golang.org/grpc/examples v0.0.0-20221010194801-c67245195065 google.golang.org/protobuf v1.30.0 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c diff --git a/go.sum b/go.sum index e7a80fa5d5ee1..d5fc9855f36db 100644 --- a/go.sum +++ b/go.sum @@ -1703,6 +1703,8 @@ google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ5 google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag= google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 h1:rNBFJjBCOgVr9pWD7rs/knKL4FRTKgpZmsRfV214zcA= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0/go.mod h1:Dk1tviKTvMCz5tvh7t+fh94dhmQVHuCt2OzJB3CTW9Y= google.golang.org/grpc/examples v0.0.0-20200723182653-9106c3fff523/go.mod h1:5j1uub0jRGhRiSghIlrThmBUgcgLXOVJQ/l1getT4uo= google.golang.org/grpc/examples v0.0.0-20210424002626-9572fd6faeae/go.mod h1:Ly7ZA/ARzg8fnPU9TyZIxoz33sEUuWX7txiqs8lPTgE= google.golang.org/grpc/examples v0.0.0-20221010194801-c67245195065 h1:dhjE21clLrAa6Yeigaw0Kxy0r02+IuNnyqTa+3TE0qg= diff --git a/lib/prehog/bin/protoc-gen-connect-go b/lib/prehog/bin/protoc-gen-connect-go deleted file mode 100755 index e9da1bd9b59b7..0000000000000 --- a/lib/prehog/bin/protoc-gen-connect-go +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -# uses the version from go.mod -exec go run github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go "$@" diff --git a/lib/prehog/bin/protoc-gen-go b/lib/prehog/bin/protoc-gen-go deleted file mode 100755 index 7dd2a7909d712..0000000000000 --- a/lib/prehog/bin/protoc-gen-go +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -# uses the version from go.mod -exec go run google.golang.org/protobuf/cmd/protoc-gen-go "$@" diff --git a/proto/teleport/lib/teleterm/v1/access_request.proto b/proto/teleport/lib/teleterm/v1/access_request.proto index ad185a20f36b5..974a6cc4957f1 100644 --- a/proto/teleport/lib/teleterm/v1/access_request.proto +++ b/proto/teleport/lib/teleterm/v1/access_request.proto @@ -18,7 +18,7 @@ package teleport.lib.teleterm.v1; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; message AccessRequest { string id = 1; diff --git a/proto/teleport/lib/teleterm/v1/auth_settings.proto b/proto/teleport/lib/teleterm/v1/auth_settings.proto index 3cd826b2bce18..7be6e36a2d220 100644 --- a/proto/teleport/lib/teleterm/v1/auth_settings.proto +++ b/proto/teleport/lib/teleterm/v1/auth_settings.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.lib.teleterm.v1; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // AuthSettings contains the form of authentication the auth server supports. message AuthSettings { diff --git a/proto/teleport/lib/teleterm/v1/cluster.proto b/proto/teleport/lib/teleterm/v1/cluster.proto index a9dbf120cef15..fb0197c3ab60b 100644 --- a/proto/teleport/lib/teleterm/v1/cluster.proto +++ b/proto/teleport/lib/teleterm/v1/cluster.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.lib.teleterm.v1; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // Cluster describes cluster fields message Cluster { diff --git a/proto/teleport/lib/teleterm/v1/database.proto b/proto/teleport/lib/teleterm/v1/database.proto index 88956b0c447aa..6c8ce59ddb6ea 100644 --- a/proto/teleport/lib/teleterm/v1/database.proto +++ b/proto/teleport/lib/teleterm/v1/database.proto @@ -18,7 +18,7 @@ package teleport.lib.teleterm.v1; import "teleport/lib/teleterm/v1/label.proto"; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // Database describes a database message Database { diff --git a/proto/teleport/lib/teleterm/v1/gateway.proto b/proto/teleport/lib/teleterm/v1/gateway.proto index 4d0f53d2003ec..9ff4757366c13 100644 --- a/proto/teleport/lib/teleterm/v1/gateway.proto +++ b/proto/teleport/lib/teleterm/v1/gateway.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.lib.teleterm.v1; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // Gateway is Teleterm's name for a connection to a resource like a database or a web app // established through our ALPN proxy. diff --git a/proto/teleport/lib/teleterm/v1/kube.proto b/proto/teleport/lib/teleterm/v1/kube.proto index df4f668788f56..270361bce69ed 100644 --- a/proto/teleport/lib/teleterm/v1/kube.proto +++ b/proto/teleport/lib/teleterm/v1/kube.proto @@ -18,7 +18,7 @@ package teleport.lib.teleterm.v1; import "teleport/lib/teleterm/v1/label.proto"; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // Kube describes connected Kubernetes cluster message Kube { diff --git a/proto/teleport/lib/teleterm/v1/label.proto b/proto/teleport/lib/teleterm/v1/label.proto index 365fd8ba64e26..d377140b6dab8 100644 --- a/proto/teleport/lib/teleterm/v1/label.proto +++ b/proto/teleport/lib/teleterm/v1/label.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.lib.teleterm.v1; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // Label describes a label message Label { diff --git a/proto/teleport/lib/teleterm/v1/server.proto b/proto/teleport/lib/teleterm/v1/server.proto index 176f32f4ee903..703654da32c0e 100644 --- a/proto/teleport/lib/teleterm/v1/server.proto +++ b/proto/teleport/lib/teleterm/v1/server.proto @@ -18,7 +18,7 @@ package teleport.lib.teleterm.v1; import "teleport/lib/teleterm/v1/label.proto"; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // Server describes connected Server message Server { diff --git a/proto/teleport/lib/teleterm/v1/service.proto b/proto/teleport/lib/teleterm/v1/service.proto index 7e93b6b3ae07f..7d0715a102826 100644 --- a/proto/teleport/lib/teleterm/v1/service.proto +++ b/proto/teleport/lib/teleterm/v1/service.proto @@ -25,7 +25,7 @@ import "teleport/lib/teleterm/v1/kube.proto"; import "teleport/lib/teleterm/v1/server.proto"; import "teleport/lib/teleterm/v1/usage_events.proto"; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // TerminalService describes Teleterm service service TerminalService { diff --git a/proto/teleport/lib/teleterm/v1/tshd_events_service.proto b/proto/teleport/lib/teleterm/v1/tshd_events_service.proto index 7769e16214869..86732b2a041e0 100644 --- a/proto/teleport/lib/teleterm/v1/tshd_events_service.proto +++ b/proto/teleport/lib/teleterm/v1/tshd_events_service.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.lib.teleterm.v1; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; // TshdEventsService is served by the Electron app. The tsh daemon calls this service to notify the // app about actions that happen outside of the app itself. diff --git a/proto/teleport/lib/teleterm/v1/usage_events.proto b/proto/teleport/lib/teleterm/v1/usage_events.proto index 177660af3cc1d..253b0aa1ac1f3 100644 --- a/proto/teleport/lib/teleterm/v1/usage_events.proto +++ b/proto/teleport/lib/teleterm/v1/usage_events.proto @@ -18,7 +18,7 @@ package teleport.lib.teleterm.v1; import "prehog/v1alpha/connect.proto"; -option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1"; +option go_package = "github.com/gravitational/teleport/gen/proto/go/teleport/lib/teleterm/v1;teletermv1"; message ReportUsageEventRequest { string auth_cluster_id = 1; diff --git a/protogen.go b/protogen.go new file mode 100644 index 0000000000000..9748545851737 --- /dev/null +++ b/protogen.go @@ -0,0 +1,28 @@ +//go:build protogen && !protogen + +// Copyright 2023 Gravitational, Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package teleport + +// This file is needed to keep a dependency on the go protogen tools we `go run` +// during our code generation - especially protoc-gen-go-grpc, as that's a +// separate go module than google.golang.org/grpc (on which we depend +// "naturally") + +import ( + _ "github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go" + _ "google.golang.org/grpc/cmd/protoc-gen-go-grpc" + _ "google.golang.org/protobuf/cmd/protoc-gen-go" +) diff --git a/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_grpc_pb.d.ts b/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_grpc_pb.d.ts deleted file mode 100644 index de0f49eac3008..0000000000000 --- a/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_grpc_pb.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -/** - * Copyright 2023 Gravitational, Inc - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// package: -// file: v1/ptyHostService.proto - -/* tslint:disable */ -/* eslint-disable */ - -import * as grpc from "grpc"; -import * as v1_ptyHostService_pb from "../v1/ptyHostService_pb"; -import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; - -interface IPtyHostService extends grpc.ServiceDefinition { - createPtyProcess: IPtyHostService_ICreatePtyProcess; - exchangeEvents: IPtyHostService_IExchangeEvents; - getCwd: IPtyHostService_IGetCwd; -} - -interface IPtyHostService_ICreatePtyProcess extends grpc.MethodDefinition { - path: "/PtyHost/CreatePtyProcess"; - requestStream: false; - responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; - responseSerialize: grpc.serialize; - responseDeserialize: grpc.deserialize; -} -interface IPtyHostService_IExchangeEvents extends grpc.MethodDefinition { - path: "/PtyHost/ExchangeEvents"; - requestStream: true; - responseStream: true; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; - responseSerialize: grpc.serialize; - responseDeserialize: grpc.deserialize; -} -interface IPtyHostService_IGetCwd extends grpc.MethodDefinition { - path: "/PtyHost/GetCwd"; - requestStream: false; - responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; - responseSerialize: grpc.serialize; - responseDeserialize: grpc.deserialize; -} - -export const PtyHostService: IPtyHostService; - -export interface IPtyHostServer { - createPtyProcess: grpc.handleUnaryCall; - exchangeEvents: grpc.handleBidiStreamingCall; - getCwd: grpc.handleUnaryCall; -} - -export interface IPtyHostClient { - createPtyProcess(request: v1_ptyHostService_pb.PtyCreate, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyId) => void): grpc.ClientUnaryCall; - createPtyProcess(request: v1_ptyHostService_pb.PtyCreate, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyId) => void): grpc.ClientUnaryCall; - createPtyProcess(request: v1_ptyHostService_pb.PtyCreate, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyId) => void): grpc.ClientUnaryCall; - exchangeEvents(): grpc.ClientDuplexStream; - exchangeEvents(options: Partial): grpc.ClientDuplexStream; - exchangeEvents(metadata: grpc.Metadata, options?: Partial): grpc.ClientDuplexStream; - getCwd(request: v1_ptyHostService_pb.PtyId, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyCwd) => void): grpc.ClientUnaryCall; - getCwd(request: v1_ptyHostService_pb.PtyId, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyCwd) => void): grpc.ClientUnaryCall; - getCwd(request: v1_ptyHostService_pb.PtyId, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyCwd) => void): grpc.ClientUnaryCall; -} - -export class PtyHostClient extends grpc.Client implements IPtyHostClient { - constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); - public createPtyProcess(request: v1_ptyHostService_pb.PtyCreate, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyId) => void): grpc.ClientUnaryCall; - public createPtyProcess(request: v1_ptyHostService_pb.PtyCreate, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyId) => void): grpc.ClientUnaryCall; - public createPtyProcess(request: v1_ptyHostService_pb.PtyCreate, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyId) => void): grpc.ClientUnaryCall; - public exchangeEvents(options?: Partial): grpc.ClientDuplexStream; - public exchangeEvents(metadata?: grpc.Metadata, options?: Partial): grpc.ClientDuplexStream; - public getCwd(request: v1_ptyHostService_pb.PtyId, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyCwd) => void): grpc.ClientUnaryCall; - public getCwd(request: v1_ptyHostService_pb.PtyId, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyCwd) => void): grpc.ClientUnaryCall; - public getCwd(request: v1_ptyHostService_pb.PtyId, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: v1_ptyHostService_pb.PtyCwd) => void): grpc.ClientUnaryCall; -} diff --git a/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_grpc_pb.js b/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_grpc_pb.js deleted file mode 100644 index 9a618a443665e..0000000000000 --- a/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_grpc_pb.js +++ /dev/null @@ -1,103 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -'use strict'; - -/* eslint-disable */ - -var grpc = require('@grpc/grpc-js'); -var v1_ptyHostService_pb = require('../v1/ptyHostService_pb.js'); -var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); - -function serialize_PtyClientEvent(arg) { - if (!(arg instanceof v1_ptyHostService_pb.PtyClientEvent)) { - throw new Error('Expected argument of type PtyClientEvent'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_PtyClientEvent(buffer_arg) { - return v1_ptyHostService_pb.PtyClientEvent.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_PtyCreate(arg) { - if (!(arg instanceof v1_ptyHostService_pb.PtyCreate)) { - throw new Error('Expected argument of type PtyCreate'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_PtyCreate(buffer_arg) { - return v1_ptyHostService_pb.PtyCreate.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_PtyCwd(arg) { - if (!(arg instanceof v1_ptyHostService_pb.PtyCwd)) { - throw new Error('Expected argument of type PtyCwd'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_PtyCwd(buffer_arg) { - return v1_ptyHostService_pb.PtyCwd.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_PtyId(arg) { - if (!(arg instanceof v1_ptyHostService_pb.PtyId)) { - throw new Error('Expected argument of type PtyId'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_PtyId(buffer_arg) { - return v1_ptyHostService_pb.PtyId.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_PtyServerEvent(arg) { - if (!(arg instanceof v1_ptyHostService_pb.PtyServerEvent)) { - throw new Error('Expected argument of type PtyServerEvent'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_PtyServerEvent(buffer_arg) { - return v1_ptyHostService_pb.PtyServerEvent.deserializeBinary(new Uint8Array(buffer_arg)); -} - - -var PtyHostService = exports.PtyHostService = { - createPtyProcess: { - path: '/PtyHost/CreatePtyProcess', - requestStream: false, - responseStream: false, - requestType: v1_ptyHostService_pb.PtyCreate, - responseType: v1_ptyHostService_pb.PtyId, - requestSerialize: serialize_PtyCreate, - requestDeserialize: deserialize_PtyCreate, - responseSerialize: serialize_PtyId, - responseDeserialize: deserialize_PtyId, - }, - exchangeEvents: { - path: '/PtyHost/ExchangeEvents', - requestStream: true, - responseStream: true, - requestType: v1_ptyHostService_pb.PtyClientEvent, - responseType: v1_ptyHostService_pb.PtyServerEvent, - requestSerialize: serialize_PtyClientEvent, - requestDeserialize: deserialize_PtyClientEvent, - responseSerialize: serialize_PtyServerEvent, - responseDeserialize: deserialize_PtyServerEvent, - }, - getCwd: { - path: '/PtyHost/GetCwd', - requestStream: false, - responseStream: false, - requestType: v1_ptyHostService_pb.PtyId, - responseType: v1_ptyHostService_pb.PtyCwd, - requestSerialize: serialize_PtyId, - requestDeserialize: deserialize_PtyId, - responseSerialize: serialize_PtyCwd, - responseDeserialize: deserialize_PtyCwd, - }, -}; - -exports.PtyHostClient = grpc.makeGenericClientConstructor(PtyHostService); diff --git a/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_pb.d.ts b/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_pb.d.ts deleted file mode 100644 index 8aea5482c92b8..0000000000000 --- a/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_pb.d.ts +++ /dev/null @@ -1,360 +0,0 @@ -/** - * Copyright 2023 Gravitational, Inc - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// package: -// file: v1/ptyHostService.proto - -/* tslint:disable */ -/* eslint-disable */ - -import * as jspb from "google-protobuf"; -import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; - -export class PtyId extends jspb.Message { - getId(): string; - setId(value: string): PtyId; - - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyId.AsObject; - static toObject(includeInstance: boolean, msg: PtyId): PtyId.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyId, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyId; - static deserializeBinaryFromReader(message: PtyId, reader: jspb.BinaryReader): PtyId; -} - -export namespace PtyId { - export type AsObject = { - id: string, - } -} - -export class PtyCreate extends jspb.Message { - getPath(): string; - setPath(value: string): PtyCreate; - - clearArgsList(): void; - getArgsList(): Array; - setArgsList(value: Array): PtyCreate; - addArgs(value: string, index?: number): string; - - getCwd(): string; - setCwd(value: string): PtyCreate; - - - hasInitCommand(): boolean; - clearInitCommand(): void; - getInitCommand(): string; - setInitCommand(value: string): PtyCreate; - - - hasEnv(): boolean; - clearEnv(): void; - getEnv(): google_protobuf_struct_pb.Struct | undefined; - setEnv(value?: google_protobuf_struct_pb.Struct): PtyCreate; - - - getInitCommandCase(): PtyCreate.InitCommandCase; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyCreate.AsObject; - static toObject(includeInstance: boolean, msg: PtyCreate): PtyCreate.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyCreate, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyCreate; - static deserializeBinaryFromReader(message: PtyCreate, reader: jspb.BinaryReader): PtyCreate; -} - -export namespace PtyCreate { - export type AsObject = { - path: string, - argsList: Array, - cwd: string, - initCommand: string, - env?: google_protobuf_struct_pb.Struct.AsObject, - } - - export enum InitCommandCase { - _INIT_COMMAND_NOT_SET = 0, - - INIT_COMMAND = 6, - - } - -} - -export class PtyClientEvent extends jspb.Message { - - hasStart(): boolean; - clearStart(): void; - getStart(): PtyEventStart | undefined; - setStart(value?: PtyEventStart): PtyClientEvent; - - - hasResize(): boolean; - clearResize(): void; - getResize(): PtyEventResize | undefined; - setResize(value?: PtyEventResize): PtyClientEvent; - - - hasData(): boolean; - clearData(): void; - getData(): PtyEventData | undefined; - setData(value?: PtyEventData): PtyClientEvent; - - - getEventCase(): PtyClientEvent.EventCase; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyClientEvent.AsObject; - static toObject(includeInstance: boolean, msg: PtyClientEvent): PtyClientEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyClientEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyClientEvent; - static deserializeBinaryFromReader(message: PtyClientEvent, reader: jspb.BinaryReader): PtyClientEvent; -} - -export namespace PtyClientEvent { - export type AsObject = { - start?: PtyEventStart.AsObject, - resize?: PtyEventResize.AsObject, - data?: PtyEventData.AsObject, - } - - export enum EventCase { - EVENT_NOT_SET = 0, - - START = 2, - - RESIZE = 3, - - DATA = 4, - - } - -} - -export class PtyServerEvent extends jspb.Message { - - hasResize(): boolean; - clearResize(): void; - getResize(): PtyEventResize | undefined; - setResize(value?: PtyEventResize): PtyServerEvent; - - - hasData(): boolean; - clearData(): void; - getData(): PtyEventData | undefined; - setData(value?: PtyEventData): PtyServerEvent; - - - hasOpen(): boolean; - clearOpen(): void; - getOpen(): PtyEventOpen | undefined; - setOpen(value?: PtyEventOpen): PtyServerEvent; - - - hasExit(): boolean; - clearExit(): void; - getExit(): PtyEventExit | undefined; - setExit(value?: PtyEventExit): PtyServerEvent; - - - getEventCase(): PtyServerEvent.EventCase; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyServerEvent.AsObject; - static toObject(includeInstance: boolean, msg: PtyServerEvent): PtyServerEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyServerEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyServerEvent; - static deserializeBinaryFromReader(message: PtyServerEvent, reader: jspb.BinaryReader): PtyServerEvent; -} - -export namespace PtyServerEvent { - export type AsObject = { - resize?: PtyEventResize.AsObject, - data?: PtyEventData.AsObject, - open?: PtyEventOpen.AsObject, - exit?: PtyEventExit.AsObject, - } - - export enum EventCase { - EVENT_NOT_SET = 0, - - RESIZE = 1, - - DATA = 2, - - OPEN = 3, - - EXIT = 4, - - } - -} - -export class PtyEventStart extends jspb.Message { - getColumns(): number; - setColumns(value: number): PtyEventStart; - - getRows(): number; - setRows(value: number): PtyEventStart; - - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyEventStart.AsObject; - static toObject(includeInstance: boolean, msg: PtyEventStart): PtyEventStart.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyEventStart, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyEventStart; - static deserializeBinaryFromReader(message: PtyEventStart, reader: jspb.BinaryReader): PtyEventStart; -} - -export namespace PtyEventStart { - export type AsObject = { - columns: number, - rows: number, - } -} - -export class PtyEventData extends jspb.Message { - getMessage(): string; - setMessage(value: string): PtyEventData; - - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyEventData.AsObject; - static toObject(includeInstance: boolean, msg: PtyEventData): PtyEventData.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyEventData, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyEventData; - static deserializeBinaryFromReader(message: PtyEventData, reader: jspb.BinaryReader): PtyEventData; -} - -export namespace PtyEventData { - export type AsObject = { - message: string, - } -} - -export class PtyEventResize extends jspb.Message { - getColumns(): number; - setColumns(value: number): PtyEventResize; - - getRows(): number; - setRows(value: number): PtyEventResize; - - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyEventResize.AsObject; - static toObject(includeInstance: boolean, msg: PtyEventResize): PtyEventResize.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyEventResize, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyEventResize; - static deserializeBinaryFromReader(message: PtyEventResize, reader: jspb.BinaryReader): PtyEventResize; -} - -export namespace PtyEventResize { - export type AsObject = { - columns: number, - rows: number, - } -} - -export class PtyEventOpen extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyEventOpen.AsObject; - static toObject(includeInstance: boolean, msg: PtyEventOpen): PtyEventOpen.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyEventOpen, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyEventOpen; - static deserializeBinaryFromReader(message: PtyEventOpen, reader: jspb.BinaryReader): PtyEventOpen; -} - -export namespace PtyEventOpen { - export type AsObject = { - } -} - -export class PtyEventExit extends jspb.Message { - getExitCode(): number; - setExitCode(value: number): PtyEventExit; - - - hasSignal(): boolean; - clearSignal(): void; - getSignal(): number; - setSignal(value: number): PtyEventExit; - - - getSignalCase(): PtyEventExit.SignalCase; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyEventExit.AsObject; - static toObject(includeInstance: boolean, msg: PtyEventExit): PtyEventExit.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyEventExit, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyEventExit; - static deserializeBinaryFromReader(message: PtyEventExit, reader: jspb.BinaryReader): PtyEventExit; -} - -export namespace PtyEventExit { - export type AsObject = { - exitCode: number, - signal: number, - } - - export enum SignalCase { - _SIGNAL_NOT_SET = 0, - - SIGNAL = 2, - - } - -} - -export class PtyCwd extends jspb.Message { - getCwd(): string; - setCwd(value: string): PtyCwd; - - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PtyCwd.AsObject; - static toObject(includeInstance: boolean, msg: PtyCwd): PtyCwd.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PtyCwd, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PtyCwd; - static deserializeBinaryFromReader(message: PtyCwd, reader: jspb.BinaryReader): PtyCwd; -} - -export namespace PtyCwd { - export type AsObject = { - cwd: string, - } -} diff --git a/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_pb.js b/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_pb.js deleted file mode 100644 index 7173095091774..0000000000000 --- a/web/packages/teleterm/src/sharedProcess/ptyHost/v1/ptyHostService_pb.js +++ /dev/null @@ -1,2157 +0,0 @@ -// source: v1/ptyHostService.proto -/** - * @fileoverview - * @enhanceable - * @suppress {messageConventions} JS Compiler reports an error if a variable or - * field starts with 'MSG_' and isn't a translatable message. - * @public - */ -// GENERATED CODE -- DO NOT EDIT! - -/* eslint-disable */ - -var jspb = require('google-protobuf'); -var goog = jspb; -var global = Function('return this')(); - -var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); -goog.object.extend(proto, google_protobuf_struct_pb); -goog.exportSymbol('proto.PtyClientEvent', null, global); -goog.exportSymbol('proto.PtyClientEvent.EventCase', null, global); -goog.exportSymbol('proto.PtyCreate', null, global); -goog.exportSymbol('proto.PtyCwd', null, global); -goog.exportSymbol('proto.PtyEventData', null, global); -goog.exportSymbol('proto.PtyEventExit', null, global); -goog.exportSymbol('proto.PtyEventOpen', null, global); -goog.exportSymbol('proto.PtyEventResize', null, global); -goog.exportSymbol('proto.PtyEventStart', null, global); -goog.exportSymbol('proto.PtyId', null, global); -goog.exportSymbol('proto.PtyServerEvent', null, global); -goog.exportSymbol('proto.PtyServerEvent.EventCase', null, global); -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyId = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.PtyId, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyId.displayName = 'proto.PtyId'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyCreate = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.PtyCreate.repeatedFields_, null); -}; -goog.inherits(proto.PtyCreate, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyCreate.displayName = 'proto.PtyCreate'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyClientEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.PtyClientEvent.oneofGroups_); -}; -goog.inherits(proto.PtyClientEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyClientEvent.displayName = 'proto.PtyClientEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyServerEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.PtyServerEvent.oneofGroups_); -}; -goog.inherits(proto.PtyServerEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyServerEvent.displayName = 'proto.PtyServerEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyEventStart = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.PtyEventStart, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyEventStart.displayName = 'proto.PtyEventStart'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyEventData = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.PtyEventData, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyEventData.displayName = 'proto.PtyEventData'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyEventResize = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.PtyEventResize, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyEventResize.displayName = 'proto.PtyEventResize'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyEventOpen = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.PtyEventOpen, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyEventOpen.displayName = 'proto.PtyEventOpen'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyEventExit = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.PtyEventExit, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyEventExit.displayName = 'proto.PtyEventExit'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PtyCwd = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.PtyCwd, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PtyCwd.displayName = 'proto.PtyCwd'; -} - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyId.prototype.toObject = function(opt_includeInstance) { - return proto.PtyId.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyId} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyId.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyId} - */ -proto.PtyId.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyId; - return proto.PtyId.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyId} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyId} - */ -proto.PtyId.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyId.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyId.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyId} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyId.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.PtyId.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.PtyId} returns this - */ -proto.PtyId.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.PtyCreate.repeatedFields_ = [4]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyCreate.prototype.toObject = function(opt_includeInstance) { - return proto.PtyCreate.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyCreate} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyCreate.toObject = function(includeInstance, msg) { - var f, obj = { - path: jspb.Message.getFieldWithDefault(msg, 3, ""), - argsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - cwd: jspb.Message.getFieldWithDefault(msg, 5, ""), - initCommand: jspb.Message.getFieldWithDefault(msg, 6, ""), - env: (f = msg.getEnv()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyCreate} - */ -proto.PtyCreate.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyCreate; - return proto.PtyCreate.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyCreate} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyCreate} - */ -proto.PtyCreate.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setPath(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.addArgs(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setCwd(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setInitCommand(value); - break; - case 7: - var value = new google_protobuf_struct_pb.Struct; - reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader); - msg.setEnv(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyCreate.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyCreate.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyCreate} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyCreate.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getPath(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getArgsList(); - if (f.length > 0) { - writer.writeRepeatedString( - 4, - f - ); - } - f = message.getCwd(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } - f = message.getEnv(); - if (f != null) { - writer.writeMessage( - 7, - f, - google_protobuf_struct_pb.Struct.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string path = 3; - * @return {string} - */ -proto.PtyCreate.prototype.getPath = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.PtyCreate} returns this - */ -proto.PtyCreate.prototype.setPath = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - - -/** - * repeated string args = 4; - * @return {!Array} - */ -proto.PtyCreate.prototype.getArgsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); -}; - - -/** - * @param {!Array} value - * @return {!proto.PtyCreate} returns this - */ -proto.PtyCreate.prototype.setArgsList = function(value) { - return jspb.Message.setField(this, 4, value || []); -}; - - -/** - * @param {string} value - * @param {number=} opt_index - * @return {!proto.PtyCreate} returns this - */ -proto.PtyCreate.prototype.addArgs = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 4, value, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.PtyCreate} returns this - */ -proto.PtyCreate.prototype.clearArgsList = function() { - return this.setArgsList([]); -}; - - -/** - * optional string cwd = 5; - * @return {string} - */ -proto.PtyCreate.prototype.getCwd = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.PtyCreate} returns this - */ -proto.PtyCreate.prototype.setCwd = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - - -/** - * optional string init_command = 6; - * @return {string} - */ -proto.PtyCreate.prototype.getInitCommand = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - - -/** - * @param {string} value - * @return {!proto.PtyCreate} returns this - */ -proto.PtyCreate.prototype.setInitCommand = function(value) { - return jspb.Message.setField(this, 6, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.PtyCreate} returns this - */ -proto.PtyCreate.prototype.clearInitCommand = function() { - return jspb.Message.setField(this, 6, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyCreate.prototype.hasInitCommand = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional google.protobuf.Struct env = 7; - * @return {?proto.google.protobuf.Struct} - */ -proto.PtyCreate.prototype.getEnv = function() { - return /** @type{?proto.google.protobuf.Struct} */ ( - jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 7)); -}; - - -/** - * @param {?proto.google.protobuf.Struct|undefined} value - * @return {!proto.PtyCreate} returns this -*/ -proto.PtyCreate.prototype.setEnv = function(value) { - return jspb.Message.setWrapperField(this, 7, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PtyCreate} returns this - */ -proto.PtyCreate.prototype.clearEnv = function() { - return this.setEnv(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyCreate.prototype.hasEnv = function() { - return jspb.Message.getField(this, 7) != null; -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.PtyClientEvent.oneofGroups_ = [[2,3,4]]; - -/** - * @enum {number} - */ -proto.PtyClientEvent.EventCase = { - EVENT_NOT_SET: 0, - START: 2, - RESIZE: 3, - DATA: 4 -}; - -/** - * @return {proto.PtyClientEvent.EventCase} - */ -proto.PtyClientEvent.prototype.getEventCase = function() { - return /** @type {proto.PtyClientEvent.EventCase} */(jspb.Message.computeOneofCase(this, proto.PtyClientEvent.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyClientEvent.prototype.toObject = function(opt_includeInstance) { - return proto.PtyClientEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyClientEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyClientEvent.toObject = function(includeInstance, msg) { - var f, obj = { - start: (f = msg.getStart()) && proto.PtyEventStart.toObject(includeInstance, f), - resize: (f = msg.getResize()) && proto.PtyEventResize.toObject(includeInstance, f), - data: (f = msg.getData()) && proto.PtyEventData.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyClientEvent} - */ -proto.PtyClientEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyClientEvent; - return proto.PtyClientEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyClientEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyClientEvent} - */ -proto.PtyClientEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 2: - var value = new proto.PtyEventStart; - reader.readMessage(value,proto.PtyEventStart.deserializeBinaryFromReader); - msg.setStart(value); - break; - case 3: - var value = new proto.PtyEventResize; - reader.readMessage(value,proto.PtyEventResize.deserializeBinaryFromReader); - msg.setResize(value); - break; - case 4: - var value = new proto.PtyEventData; - reader.readMessage(value,proto.PtyEventData.deserializeBinaryFromReader); - msg.setData(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyClientEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyClientEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyClientEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyClientEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getStart(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.PtyEventStart.serializeBinaryToWriter - ); - } - f = message.getResize(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto.PtyEventResize.serializeBinaryToWriter - ); - } - f = message.getData(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.PtyEventData.serializeBinaryToWriter - ); - } -}; - - -/** - * optional PtyEventStart start = 2; - * @return {?proto.PtyEventStart} - */ -proto.PtyClientEvent.prototype.getStart = function() { - return /** @type{?proto.PtyEventStart} */ ( - jspb.Message.getWrapperField(this, proto.PtyEventStart, 2)); -}; - - -/** - * @param {?proto.PtyEventStart|undefined} value - * @return {!proto.PtyClientEvent} returns this -*/ -proto.PtyClientEvent.prototype.setStart = function(value) { - return jspb.Message.setOneofWrapperField(this, 2, proto.PtyClientEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PtyClientEvent} returns this - */ -proto.PtyClientEvent.prototype.clearStart = function() { - return this.setStart(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyClientEvent.prototype.hasStart = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional PtyEventResize resize = 3; - * @return {?proto.PtyEventResize} - */ -proto.PtyClientEvent.prototype.getResize = function() { - return /** @type{?proto.PtyEventResize} */ ( - jspb.Message.getWrapperField(this, proto.PtyEventResize, 3)); -}; - - -/** - * @param {?proto.PtyEventResize|undefined} value - * @return {!proto.PtyClientEvent} returns this -*/ -proto.PtyClientEvent.prototype.setResize = function(value) { - return jspb.Message.setOneofWrapperField(this, 3, proto.PtyClientEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PtyClientEvent} returns this - */ -proto.PtyClientEvent.prototype.clearResize = function() { - return this.setResize(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyClientEvent.prototype.hasResize = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional PtyEventData data = 4; - * @return {?proto.PtyEventData} - */ -proto.PtyClientEvent.prototype.getData = function() { - return /** @type{?proto.PtyEventData} */ ( - jspb.Message.getWrapperField(this, proto.PtyEventData, 4)); -}; - - -/** - * @param {?proto.PtyEventData|undefined} value - * @return {!proto.PtyClientEvent} returns this -*/ -proto.PtyClientEvent.prototype.setData = function(value) { - return jspb.Message.setOneofWrapperField(this, 4, proto.PtyClientEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PtyClientEvent} returns this - */ -proto.PtyClientEvent.prototype.clearData = function() { - return this.setData(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyClientEvent.prototype.hasData = function() { - return jspb.Message.getField(this, 4) != null; -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.PtyServerEvent.oneofGroups_ = [[1,2,3,4]]; - -/** - * @enum {number} - */ -proto.PtyServerEvent.EventCase = { - EVENT_NOT_SET: 0, - RESIZE: 1, - DATA: 2, - OPEN: 3, - EXIT: 4 -}; - -/** - * @return {proto.PtyServerEvent.EventCase} - */ -proto.PtyServerEvent.prototype.getEventCase = function() { - return /** @type {proto.PtyServerEvent.EventCase} */(jspb.Message.computeOneofCase(this, proto.PtyServerEvent.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyServerEvent.prototype.toObject = function(opt_includeInstance) { - return proto.PtyServerEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyServerEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyServerEvent.toObject = function(includeInstance, msg) { - var f, obj = { - resize: (f = msg.getResize()) && proto.PtyEventResize.toObject(includeInstance, f), - data: (f = msg.getData()) && proto.PtyEventData.toObject(includeInstance, f), - open: (f = msg.getOpen()) && proto.PtyEventOpen.toObject(includeInstance, f), - exit: (f = msg.getExit()) && proto.PtyEventExit.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyServerEvent} - */ -proto.PtyServerEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyServerEvent; - return proto.PtyServerEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyServerEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyServerEvent} - */ -proto.PtyServerEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.PtyEventResize; - reader.readMessage(value,proto.PtyEventResize.deserializeBinaryFromReader); - msg.setResize(value); - break; - case 2: - var value = new proto.PtyEventData; - reader.readMessage(value,proto.PtyEventData.deserializeBinaryFromReader); - msg.setData(value); - break; - case 3: - var value = new proto.PtyEventOpen; - reader.readMessage(value,proto.PtyEventOpen.deserializeBinaryFromReader); - msg.setOpen(value); - break; - case 4: - var value = new proto.PtyEventExit; - reader.readMessage(value,proto.PtyEventExit.deserializeBinaryFromReader); - msg.setExit(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyServerEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyServerEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyServerEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyServerEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getResize(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.PtyEventResize.serializeBinaryToWriter - ); - } - f = message.getData(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.PtyEventData.serializeBinaryToWriter - ); - } - f = message.getOpen(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto.PtyEventOpen.serializeBinaryToWriter - ); - } - f = message.getExit(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.PtyEventExit.serializeBinaryToWriter - ); - } -}; - - -/** - * optional PtyEventResize resize = 1; - * @return {?proto.PtyEventResize} - */ -proto.PtyServerEvent.prototype.getResize = function() { - return /** @type{?proto.PtyEventResize} */ ( - jspb.Message.getWrapperField(this, proto.PtyEventResize, 1)); -}; - - -/** - * @param {?proto.PtyEventResize|undefined} value - * @return {!proto.PtyServerEvent} returns this -*/ -proto.PtyServerEvent.prototype.setResize = function(value) { - return jspb.Message.setOneofWrapperField(this, 1, proto.PtyServerEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PtyServerEvent} returns this - */ -proto.PtyServerEvent.prototype.clearResize = function() { - return this.setResize(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyServerEvent.prototype.hasResize = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional PtyEventData data = 2; - * @return {?proto.PtyEventData} - */ -proto.PtyServerEvent.prototype.getData = function() { - return /** @type{?proto.PtyEventData} */ ( - jspb.Message.getWrapperField(this, proto.PtyEventData, 2)); -}; - - -/** - * @param {?proto.PtyEventData|undefined} value - * @return {!proto.PtyServerEvent} returns this -*/ -proto.PtyServerEvent.prototype.setData = function(value) { - return jspb.Message.setOneofWrapperField(this, 2, proto.PtyServerEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PtyServerEvent} returns this - */ -proto.PtyServerEvent.prototype.clearData = function() { - return this.setData(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyServerEvent.prototype.hasData = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional PtyEventOpen open = 3; - * @return {?proto.PtyEventOpen} - */ -proto.PtyServerEvent.prototype.getOpen = function() { - return /** @type{?proto.PtyEventOpen} */ ( - jspb.Message.getWrapperField(this, proto.PtyEventOpen, 3)); -}; - - -/** - * @param {?proto.PtyEventOpen|undefined} value - * @return {!proto.PtyServerEvent} returns this -*/ -proto.PtyServerEvent.prototype.setOpen = function(value) { - return jspb.Message.setOneofWrapperField(this, 3, proto.PtyServerEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PtyServerEvent} returns this - */ -proto.PtyServerEvent.prototype.clearOpen = function() { - return this.setOpen(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyServerEvent.prototype.hasOpen = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional PtyEventExit exit = 4; - * @return {?proto.PtyEventExit} - */ -proto.PtyServerEvent.prototype.getExit = function() { - return /** @type{?proto.PtyEventExit} */ ( - jspb.Message.getWrapperField(this, proto.PtyEventExit, 4)); -}; - - -/** - * @param {?proto.PtyEventExit|undefined} value - * @return {!proto.PtyServerEvent} returns this -*/ -proto.PtyServerEvent.prototype.setExit = function(value) { - return jspb.Message.setOneofWrapperField(this, 4, proto.PtyServerEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PtyServerEvent} returns this - */ -proto.PtyServerEvent.prototype.clearExit = function() { - return this.setExit(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyServerEvent.prototype.hasExit = function() { - return jspb.Message.getField(this, 4) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyEventStart.prototype.toObject = function(opt_includeInstance) { - return proto.PtyEventStart.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyEventStart} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventStart.toObject = function(includeInstance, msg) { - var f, obj = { - columns: jspb.Message.getFieldWithDefault(msg, 2, 0), - rows: jspb.Message.getFieldWithDefault(msg, 3, 0) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyEventStart} - */ -proto.PtyEventStart.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyEventStart; - return proto.PtyEventStart.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyEventStart} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyEventStart} - */ -proto.PtyEventStart.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setColumns(value); - break; - case 3: - var value = /** @type {number} */ (reader.readUint32()); - msg.setRows(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyEventStart.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyEventStart.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyEventStart} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventStart.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getColumns(); - if (f !== 0) { - writer.writeUint32( - 2, - f - ); - } - f = message.getRows(); - if (f !== 0) { - writer.writeUint32( - 3, - f - ); - } -}; - - -/** - * optional uint32 columns = 2; - * @return {number} - */ -proto.PtyEventStart.prototype.getColumns = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.PtyEventStart} returns this - */ -proto.PtyEventStart.prototype.setColumns = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); -}; - - -/** - * optional uint32 rows = 3; - * @return {number} - */ -proto.PtyEventStart.prototype.getRows = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.PtyEventStart} returns this - */ -proto.PtyEventStart.prototype.setRows = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyEventData.prototype.toObject = function(opt_includeInstance) { - return proto.PtyEventData.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyEventData} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventData.toObject = function(includeInstance, msg) { - var f, obj = { - message: jspb.Message.getFieldWithDefault(msg, 2, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyEventData} - */ -proto.PtyEventData.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyEventData; - return proto.PtyEventData.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyEventData} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyEventData} - */ -proto.PtyEventData.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setMessage(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyEventData.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyEventData.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyEventData} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventData.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMessage(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } -}; - - -/** - * optional string message = 2; - * @return {string} - */ -proto.PtyEventData.prototype.getMessage = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.PtyEventData} returns this - */ -proto.PtyEventData.prototype.setMessage = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyEventResize.prototype.toObject = function(opt_includeInstance) { - return proto.PtyEventResize.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyEventResize} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventResize.toObject = function(includeInstance, msg) { - var f, obj = { - columns: jspb.Message.getFieldWithDefault(msg, 2, 0), - rows: jspb.Message.getFieldWithDefault(msg, 3, 0) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyEventResize} - */ -proto.PtyEventResize.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyEventResize; - return proto.PtyEventResize.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyEventResize} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyEventResize} - */ -proto.PtyEventResize.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setColumns(value); - break; - case 3: - var value = /** @type {number} */ (reader.readUint32()); - msg.setRows(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyEventResize.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyEventResize.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyEventResize} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventResize.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getColumns(); - if (f !== 0) { - writer.writeUint32( - 2, - f - ); - } - f = message.getRows(); - if (f !== 0) { - writer.writeUint32( - 3, - f - ); - } -}; - - -/** - * optional uint32 columns = 2; - * @return {number} - */ -proto.PtyEventResize.prototype.getColumns = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.PtyEventResize} returns this - */ -proto.PtyEventResize.prototype.setColumns = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); -}; - - -/** - * optional uint32 rows = 3; - * @return {number} - */ -proto.PtyEventResize.prototype.getRows = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.PtyEventResize} returns this - */ -proto.PtyEventResize.prototype.setRows = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyEventOpen.prototype.toObject = function(opt_includeInstance) { - return proto.PtyEventOpen.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyEventOpen} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventOpen.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyEventOpen} - */ -proto.PtyEventOpen.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyEventOpen; - return proto.PtyEventOpen.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyEventOpen} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyEventOpen} - */ -proto.PtyEventOpen.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyEventOpen.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyEventOpen.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyEventOpen} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventOpen.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyEventExit.prototype.toObject = function(opt_includeInstance) { - return proto.PtyEventExit.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyEventExit} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventExit.toObject = function(includeInstance, msg) { - var f, obj = { - exitCode: jspb.Message.getFieldWithDefault(msg, 1, 0), - signal: jspb.Message.getFieldWithDefault(msg, 2, 0) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyEventExit} - */ -proto.PtyEventExit.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyEventExit; - return proto.PtyEventExit.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyEventExit} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyEventExit} - */ -proto.PtyEventExit.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readUint32()); - msg.setExitCode(value); - break; - case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setSignal(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyEventExit.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyEventExit.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyEventExit} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyEventExit.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getExitCode(); - if (f !== 0) { - writer.writeUint32( - 1, - f - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeUint32( - 2, - f - ); - } -}; - - -/** - * optional uint32 exit_code = 1; - * @return {number} - */ -proto.PtyEventExit.prototype.getExitCode = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.PtyEventExit} returns this - */ -proto.PtyEventExit.prototype.setExitCode = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - -/** - * optional uint32 signal = 2; - * @return {number} - */ -proto.PtyEventExit.prototype.getSignal = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.PtyEventExit} returns this - */ -proto.PtyEventExit.prototype.setSignal = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.PtyEventExit} returns this - */ -proto.PtyEventExit.prototype.clearSignal = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PtyEventExit.prototype.hasSignal = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PtyCwd.prototype.toObject = function(opt_includeInstance) { - return proto.PtyCwd.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PtyCwd} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyCwd.toObject = function(includeInstance, msg) { - var f, obj = { - cwd: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PtyCwd} - */ -proto.PtyCwd.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PtyCwd; - return proto.PtyCwd.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PtyCwd} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PtyCwd} - */ -proto.PtyCwd.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setCwd(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PtyCwd.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PtyCwd.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PtyCwd} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PtyCwd.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getCwd(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string cwd = 1; - * @return {string} - */ -proto.PtyCwd.prototype.getCwd = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.PtyCwd} returns this - */ -proto.PtyCwd.prototype.setCwd = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -goog.object.extend(exports, proto);