diff --git a/.gitignore b/.gitignore index 9d58f7bb2d660..fc33b7784ea47 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 4210b12ed5b22..156d7bf86923b 100644 --- a/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go +++ b/api/gen/proto/go/teleport/devicetrust/v1/device.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: teleport/devicetrust/v1/device.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -362,13 +362,14 @@ var file_teleport_devicetrust_v1_device_proto_rawDesc = []byte{ 0x4e, 0x52, 0x4f, 0x4c, 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, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, + 0x54, 0x55, 0x53, 0x5f, 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, + 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_collected_data.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_collected_data.pb.go index e11c445f3fc3c..5cdc8aeb564a2 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: teleport/devicetrust/v1/device_collected_data.proto -package v1 +package devicetrustv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -145,12 +145,13 @@ var file_teleport_devicetrust_v1_device_collected_data_proto_rawDesc = []byte{ 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x53, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x6f, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, + 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 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/device_enroll_token.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/device_enroll_token.pb.go index 784c27448f598..b7ce504d9bfb6 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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/devicetrust_service.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service.pb.go index 29c939f15221a..3bf8114546b49 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: teleport/devicetrust/v1/devicetrust_service.proto -package v1 +package devicetrustv1 import ( status "google.golang.org/genproto/googleapis/rpc/status" @@ -1768,12 +1768,13 @@ var file_teleport_devicetrust_v1_devicetrust_service_proto_rawDesc = []byte{ 0x74, 0x1a, 0x33, 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, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, + 0x73, 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, + 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_grpc.pb.go b/api/gen/proto/go/teleport/devicetrust/v1/devicetrust_service_grpc.pb.go index 8533fa0986156..fcbcd9ab48d40 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..45cecd8c4683e 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..47d8b9a8a8185 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..c6c19a792bee6 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..99fa4dcaa5b35 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..e57dcb96fe190 100644 --- a/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go +++ b/api/gen/proto/go/teleport/loginrule/v1/loginrule.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..1c96f886d6c73 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..aac162c373fde 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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 e10f0dc858509..6868d96cc76ed 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: teleport/plugins/v1/plugin_service.proto -package v1 +package pluginsv1 import ( types "github.com/gravitational/teleport/api/types" @@ -513,12 +513,12 @@ var file_teleport_plugins_v1_plugin_service_proto_rawDesc = []byte{ 0x2e, 0x53, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 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, - 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, + 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, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 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 33547f6824a26..ce411cd6c2f96 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/proxy/v1/proxy_service.pb.go b/api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go index a45da3c87f485..1769725c79913 100644 --- a/api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go +++ b/api/gen/proto/go/teleport/proxy/v1/proxy_service.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: teleport/proxy/v1/proxy_service.proto -package v1 +package proxyv1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -670,12 +670,13 @@ var file_teleport_proxy_v1_proxy_service_proto_rawDesc = []byte{ 0x78, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 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, 0x46, 0x5a, - 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 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, 0x70, 0x72, 0x6f, - 0x78, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x78, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x76, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go b/api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go index b623e8490497e..172476bdc882c 100644 --- a/api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go +++ b/api/gen/proto/go/teleport/proxy/v1/proxy_service_grpc.pb.go @@ -18,7 +18,7 @@ // - protoc (unknown) // source: teleport/proxy/v1/proxy_service.proto -package v1 +package proxyv1 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..630042b85188e 100644 --- a/api/gen/proto/go/teleport/samlidp/v1/samlidp.pb.go +++ b/api/gen/proto/go/teleport/samlidp/v1/samlidp.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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/usageevents/v1/usageevents.pb.go b/api/gen/proto/go/usageevents/v1/usageevents.pb.go index 36033888d48a4..8b5199c42f4a9 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" @@ -2135,129 +2135,129 @@ func init() { } var fileDescriptor_94cf2ca1c69fd564 = []byte{ - // 1949 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x9a, 0xcd, 0x6f, 0xe4, 0x48, - 0xf9, 0xc7, 0xed, 0xce, 0x4c, 0x26, 0x53, 0xb3, 0x93, 0xf4, 0xd6, 0x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5, 0x79, 0x0e, 0xf5, 0xcd, 0x6c, 0xa8, - 0x69, 0x9d, 0x16, 0x45, 0x40, 0xab, 0x31, 0xcd, 0x04, 0x23, 0xf8, 0x73, 0x11, 0xdc, 0x4f, 0x61, - 0x38, 0xa1, 0x28, 0xc1, 0x5a, 0xd4, 0x71, 0x89, 0x50, 0xae, 0x71, 0x94, 0x6f, 0x67, 0xa3, 0xcc, - 0xea, 0xd9, 0x28, 0x02, 0xda, 0x8c, 0x71, 0xa6, 0x18, 0x46, 0x95, 0x71, 0xc2, 0x2e, 0x08, 0xd6, - 0x6c, 0x9d, 0x9f, 0x07, 0x82, 0x2e, 0x4c, 0xb8, 0x5c, 0x0b, 0x99, 0x95, 0xc9, 0xe8, 0xe1, 0x04, - 0x95, 0x99, 0x6e, 0x04, 0xbf, 0x07, 0x56, 0x27, 0x51, 0xf4, 0x06, 0x21, 0xc1, 0x75, 0x4e, 0xf0, - 0xb5, 0xfc, 0x04, 0xe9, 0x26, 0x90, 0x22, 0xa0, 0xd2, 0x58, 0xf4, 0xd0, 0x00, 0x7e, 0x1f, 0xac, - 0x8d, 0x47, 0xee, 0x39, 0x86, 0xc5, 0xc2, 0xd0, 0x80, 0x87, 0xfe, 0x7a, 0xde, 0xd0, 0x23, 0x2d, - 0x24, 0x45, 0x40, 0xcb, 0x23, 0xb1, 0x13, 0x0b, 0x68, 0x82, 0x65, 0xcf, 0xc0, 0x7a, 0xf8, 0xf2, - 0xc5, 0x6e, 0xd0, 0x50, 0xc1, 0xdc, 0x79, 0xe9, 0x06, 0x0f, 0x5c, 0x99, 0x11, 0x78, 0x52, 0x23, - 0x46, 0x11, 0xd0, 0x6d, 0xcf, 0x98, 0xd8, 0xa2, 0x79, 0x1d, 0x6c, 0xbf, 0x38, 0x5c, 0xfc, 0x68, - 0xba, 0x51, 0x67, 0x24, 0x8c, 0xfc, 0x0e, 0x8f, 0xfc, 0x8d, 0x1c, 0x91, 0x27, 0xf7, 0x56, 0x82, - 0x9d, 0x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7c, 0x5e, 0x6f, 0x36, 0xe5, 0x5a, - 0xb1, 0x00, 0x97, 0xc1, 0x7b, 0xa3, 0x83, 0x32, 0x42, 0x0d, 0x54, 0x9c, 0x9b, 0x34, 0xaf, 0x7a, - 0xd0, 0x40, 0x7c, 0xcf, 0x1f, 0x34, 0xfe, 0xf2, 0x66, 0x5d, 0xfc, 0xeb, 0x9b, 0x75, 0xf1, 0x6f, - 0x6f, 0xd6, 0xc5, 0xef, 0x56, 0x3b, 0x06, 0x7b, 0xe9, 0x9d, 0xed, 0x69, 0x76, 0xb7, 0xd2, 0x71, - 0x48, 0xdf, 0x08, 0x5e, 0x15, 0xc4, 0xac, 0xc4, 0xbf, 0xfc, 0x20, 0x3d, 0xa3, 0xd2, 0xa1, 0x56, - 0x85, 0xff, 0xcc, 0xa3, 0xd2, 0xb1, 0x47, 0x7e, 0x0a, 0x72, 0x36, 0xcf, 0x07, 0x3e, 0xf8, 0x4f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x1f, 0xda, 0x74, 0x2c, 0x22, 0x00, 0x00, + // 1952 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x9a, 0x5b, 0x6f, 0xe4, 0x48, + 0x15, 0xc7, 0xed, 0xce, 0x5c, 0x32, 0x35, 0x3b, 0x49, 0x6f, 0x31, 0x3b, 0xd3, 0x99, 0xdc, 0x7b, + 0x6e, 0x49, 0x66, 0x94, 0xde, 0xcc, 0x2e, 0xb0, 0x30, 0x0b, 0xa3, 0x8e, 0xdb, 0x89, 0x7b, 0x27, + 0x49, 0xf7, 0x96, 0xbb, 0x67, 0x05, 0x12, 0x2a, 0x55, 0xec, 0x4a, 0x8f, 0x35, 0x6e, 0xbb, 0x65, + 0x97, 0x3b, 0xb4, 0x10, 0x5a, 0x81, 0x10, 0x42, 0x1a, 0x09, 0xc1, 0x1b, 0x12, 0x12, 0x12, 0x82, + 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xf8, 0x94, 0xcb, 0x79, 0xac, 0xf9, 0xb6, 0xe1, 0x22, + 0x4c, 0x4f, 0x78, 0x5c, 0xfd, 0x2b, 0x02, 0xba, 0xe1, 0x19, 0xa9, 0xbb, 0xf0, 0xd7, 0x22, 0xd8, + 0xf6, 0x0c, 0x6c, 0x07, 0xf2, 0x18, 0x6b, 0xe1, 0x92, 0xe3, 0x8e, 0x8d, 0x99, 0x8d, 0xf5, 0x48, + 0xfe, 0x87, 0x11, 0x83, 0x12, 0x57, 0x67, 0x44, 0xcc, 0xd7, 0x43, 0x50, 0x04, 0x74, 0xd7, 0x33, + 0x32, 0x6d, 0xe1, 0x6b, 0x11, 0xdc, 0x4d, 0xd1, 0x11, 0x5d, 0xc7, 0x67, 0x86, 0xe3, 0x32, 0x1c, + 0x2d, 0x7f, 0xc8, 0x75, 0x89, 0x73, 0x7d, 0x9c, 0xcd, 0x35, 0xbd, 0x27, 0xa1, 0x08, 0x68, 0x2d, + 0x46, 0x9a, 0x68, 0x36, 0x5a, 0xab, 0x09, 0x34, 0x26, 0x61, 0xf1, 0xea, 0x5c, 0xce, 0x5b, 0xab, + 0x8c, 0x06, 0xc8, 0x50, 0xad, 0xa6, 0xdb, 0xc2, 0x9f, 0x88, 0x60, 0x23, 0x45, 0xe7, 0x52, 0x86, + 0xb5, 0xb8, 0x57, 0x82, 0x5d, 0xde, 0xe7, 0x28, 0x5d, 0xe1, 0x50, 0xdf, 0xcc, 0x86, 0x9a, 0xd6, + 0x69, 0x51, 0x04, 0xb4, 0x12, 0xd3, 0x4c, 0x30, 0x82, 0xbf, 0x10, 0xc1, 0xbd, 0x14, 0x86, 0x13, + 0x8a, 0x12, 0xac, 0x45, 0x1d, 0x97, 0x08, 0xe5, 0x2a, 0x47, 0xf9, 0x76, 0x36, 0xca, 0xac, 0x9e, + 0x8d, 0x22, 0xa0, 0x8d, 0x18, 0x67, 0x8a, 0x61, 0x54, 0x19, 0x27, 0xec, 0x82, 0x60, 0xcd, 0xd6,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 0x2f, + 0x56, 0x70, 0x63, 0xeb, 0x7e, 0x93, 0x13, 0x3e, 0xcd, 0x41, 0x38, 0x4d, 0x06, 0x2a, 0x02, 0x2a, + 0x27, 0x68, 0x53, 0xc5, 0xe2, 0x8f, 0x45, 0xb0, 0x99, 0x66, 0x62, 0xd4, 0x65, 0x3e, 0x8d, 0x35, + 0xf4, 0x3e, 0x7e, 0x2f, 0xf3, 0xeb, 0x37, 0x43, 0x93, 0x29, 0x02, 0x5a, 0x4d, 0x48, 0x26, 0x89, + 0x36, 0x07, 0x2c, 0xa7, 0x19, 0xa2, 0x73, 0x6e, 0xf4, 0x1d, 0xba, 0x95, 0x21, 0x44, 0xa6, 0x89, + 0xa2, 0xe0, 0xb3, 0x3b, 0x45, 0x30, 0x99, 0xa0, 0xe4, 0x19, 0xfe, 0x21, 0x8c, 0x30, 0x8a, 0x2d, + 0x7a, 0x8e, 0x1d, 0xdb, 0x8c, 0x8e, 0x1b, 0xb7, 0x79, 0xc0, 0x27, 0x33, 0x02, 0x4e, 0x91, 0x23, + 0x8a, 0x80, 0x6e, 0x7a, 0xc6, 0xf8, 0x20, 0x1c, 0xf0, 0x8f, 0xfc, 0x68, 0x34, 0x97, 0xf4, 0xa3, + 0x90, 0xa5, 0xcc, 0x0a, 0xcf, 0x10, 0x39, 0x41, 0xa2, 0x93, 0x0d, 0xe0, 0xe7, 0x60, 0x7d, 0x52, + 0xa2, 0x5c, 0x04, 0x85, 0xc1, 0x97, 0x32, 0x3f, 0x30, 0x33, 0x05, 0x94, 0x22, 0xa0, 0x3b, 0xa3, + 0x59, 0x27, 0x26, 0xf0, 0xb7, 0xc1, 0x2b, 0x64, 0x94, 0xa0, 0x6f, 0xd0, 0x73, 0xac, 0xa7, 0x45, + 0x56, 0x48, 0x73, 0x87, 0xd3, 0x48, 0x79, 0x69, 0x66, 0x68, 0x35, 0x45, 0x40, 0xf7, 0x47, 0xc0, + 0x26, 0x5b, 0xef, 0x5f, 0x05, 0x97, 0x79, 0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x0a, 0x62, 0x56, 0xe2, 0x5f, 0x7e, 0x90, 0x9e, 0x51, 0xe9, 0x50, 0xab, 0xc2, + 0x7f, 0xe6, 0x51, 0xe9, 0xd8, 0x23, 0x3f, 0x05, 0x79, 0x9a, 0xba, 0xec, 0xef, 0x9d, 0x5e, 0xe1, + 0x66, 0x1f, 0xfc, 0x37, 0x00, 0x00, 0xff, 0xff, 0x68, 0x31, 0xe6, 0x0a, 0x3a, 0x22, 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 2a06568d66c68..afbee876696e2 100644 --- a/api/proto/teleport/devicetrust/v1/device.proto +++ b/api/proto/teleport/devicetrust/v1/device.proto @@ -21,7 +21,7 @@ import "teleport/devicetrust/v1/device_collected_data.proto"; import "teleport/devicetrust/v1/device_enroll_token.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 f36aa0db69beb..566acedcba9fe 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/devicetrust_service.proto b/api/proto/teleport/devicetrust/v1/devicetrust_service.proto index 186f3bd5e5db2..2d75c4cd1e0df 100644 --- a/api/proto/teleport/devicetrust/v1/devicetrust_service.proto +++ b/api/proto/teleport/devicetrust/v1/devicetrust_service.proto @@ -23,7 +23,7 @@ import "teleport/devicetrust/v1/device_collected_data.proto"; import "teleport/devicetrust/v1/device_enroll_token.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 b5a2975d4fb16..1263f0a855f6d 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"; // CreatePluginRequest creates a new plugin from the given spec and initial credentials. message CreatePluginRequest { diff --git a/api/proto/teleport/proxy/v1/proxy_service.proto b/api/proto/teleport/proxy/v1/proxy_service.proto index 9383da6ff5935..d41f0cac2c55b 100644 --- a/api/proto/teleport/proxy/v1/proxy_service.proto +++ b/api/proto/teleport/proxy/v1/proxy_service.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package teleport.proxy.v1; -option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/proxy/v1"; +option go_package = "github.com/gravitational/teleport/api/gen/proto/go/teleport/proxy/v1;proxyv1"; // ProxyService provides methods to proxy connections to various Teleport instances. // 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/usageevents/v1/usageevents.proto b/api/proto/teleport/usageevents/v1/usageevents.proto index 0bb238e7683f8..2f13f76e18e6e 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 da0e419a46809..7f6cf5939f58f 100644 --- a/build.assets/Dockerfile +++ b/build.assets/Dockerfile @@ -256,7 +256,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} && \ @@ -264,13 +263,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 f06ec271e3d71..bcc173c68d6de 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. @@ -39,8 +46,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..937eaf1fb3b58 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..8ff0ae7a19877 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..32a99e644908c 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/cluster.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/cluster.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..b8da49db56f86 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/database.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/database.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..045274d476075 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/gateway.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/gateway.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..ff56d25e408e9 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/kube.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/kube.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..ed18faa119b88 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/label.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/label.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..6351462b41289 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/server.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/server.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..0ec317bef9ca1 100644 --- a/gen/proto/go/teleport/lib/teleterm/v1/service.pb.go +++ b/gen/proto/go/teleport/lib/teleterm/v1/service.pb.go @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..2f11d30aa51e9 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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..c95a544aaa67d 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 @@ -14,11 +14,11 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // 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 8c9f3f3e0210b..89844b9565c9e 100644 --- a/go.mod +++ b/go.mod @@ -137,6 +137,7 @@ require ( golang.org/x/text v0.8.0 golang.org/x/tools v0.6.0 // indirect google.golang.org/grpc v1.52.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.28.1 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c diff --git a/go.sum b/go.sum index 1b04f7f537418..880f6975f6947 100644 --- a/go.sum +++ b/go.sum @@ -1862,6 +1862,8 @@ google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ5 google.golang.org/grpc v1.52.0 h1:kd48UiU7EHsV4rnLyOJRuP/Il/UHE7gdDAQ+SZI7nZk= google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= +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/multiplexer/test/ping.pb.go b/lib/multiplexer/test/ping.pb.go index e38c5559a0e0e..ae5c1719ded58 100644 --- a/lib/multiplexer/test/ping.pb.go +++ b/lib/multiplexer/test/ping.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: teleport/lib/multiplexer/test/ping.proto 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);