mirror of https://github.com/grpc/grpc-go.git
stress: Move package under interop (#6769)
This commit is contained in:
parent
b8d1c76ba7
commit
cf9ae52e1c
|
|
@ -41,7 +41,7 @@ import (
|
|||
"google.golang.org/grpc/testdata"
|
||||
|
||||
testgrpc "google.golang.org/grpc/interop/grpc_testing"
|
||||
metricspb "google.golang.org/grpc/stress/grpc_testing"
|
||||
metricspb "google.golang.org/grpc/interop/stress/grpc_testing"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
// versions:
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc v4.22.0
|
||||
// source: stress/grpc_testing/metrics.proto
|
||||
// source: interop/stress/grpc_testing/metrics.proto
|
||||
|
||||
package grpc_testing
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ type GaugeResponse struct {
|
|||
func (x *GaugeResponse) Reset() {
|
||||
*x = GaugeResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stress_grpc_testing_metrics_proto_msgTypes[0]
|
||||
mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
|
@ -72,7 +72,7 @@ func (x *GaugeResponse) String() string {
|
|||
func (*GaugeResponse) ProtoMessage() {}
|
||||
|
||||
func (x *GaugeResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stress_grpc_testing_metrics_proto_msgTypes[0]
|
||||
mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
|
|
@ -85,7 +85,7 @@ func (x *GaugeResponse) ProtoReflect() protoreflect.Message {
|
|||
|
||||
// Deprecated: Use GaugeResponse.ProtoReflect.Descriptor instead.
|
||||
func (*GaugeResponse) Descriptor() ([]byte, []int) {
|
||||
return file_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{0}
|
||||
return file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *GaugeResponse) GetName() string {
|
||||
|
|
@ -157,7 +157,7 @@ type GaugeRequest struct {
|
|||
func (x *GaugeRequest) Reset() {
|
||||
*x = GaugeRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stress_grpc_testing_metrics_proto_msgTypes[1]
|
||||
mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
|
@ -170,7 +170,7 @@ func (x *GaugeRequest) String() string {
|
|||
func (*GaugeRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GaugeRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stress_grpc_testing_metrics_proto_msgTypes[1]
|
||||
mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
|
|
@ -183,7 +183,7 @@ func (x *GaugeRequest) ProtoReflect() protoreflect.Message {
|
|||
|
||||
// Deprecated: Use GaugeRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GaugeRequest) Descriptor() ([]byte, []int) {
|
||||
return file_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{1}
|
||||
return file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *GaugeRequest) GetName() string {
|
||||
|
|
@ -202,7 +202,7 @@ type EmptyMessage struct {
|
|||
func (x *EmptyMessage) Reset() {
|
||||
*x = EmptyMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stress_grpc_testing_metrics_proto_msgTypes[2]
|
||||
mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
|
@ -215,7 +215,7 @@ func (x *EmptyMessage) String() string {
|
|||
func (*EmptyMessage) ProtoMessage() {}
|
||||
|
||||
func (x *EmptyMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stress_grpc_testing_metrics_proto_msgTypes[2]
|
||||
mi := &file_interop_stress_grpc_testing_metrics_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
|
|
@ -228,63 +228,64 @@ func (x *EmptyMessage) ProtoReflect() protoreflect.Message {
|
|||
|
||||
// Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.
|
||||
func (*EmptyMessage) Descriptor() ([]byte, []int) {
|
||||
return file_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{2}
|
||||
return file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
var File_stress_grpc_testing_metrics_proto protoreflect.FileDescriptor
|
||||
var File_interop_stress_grpc_testing_metrics_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_stress_grpc_testing_metrics_proto_rawDesc = []byte{
|
||||
0x0a, 0x21, 0x73, 0x74, 0x72, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x65,
|
||||
0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e,
|
||||
0x67, 0x22, 0x97, 0x01, 0x0a, 0x0d, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x6c, 0x6f, 0x6e, 0x67, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x09, 0x6c,
|
||||
0x6f, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62,
|
||||
0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00,
|
||||
0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a,
|
||||
0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x47,
|
||||
0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
|
||||
0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32,
|
||||
0xa0, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x75, 0x67,
|
||||
0x65, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e,
|
||||
0x67, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b,
|
||||
0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61,
|
||||
0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x43, 0x0a,
|
||||
0x08, 0x47, 0x65, 0x74, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63,
|
||||
0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73,
|
||||
0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
|
||||
0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x72,
|
||||
var file_interop_stress_grpc_testing_metrics_proto_rawDesc = []byte{
|
||||
0x0a, 0x29, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6f, 0x70, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x73, 0x73,
|
||||
0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65,
|
||||
0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70,
|
||||
0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x97, 0x01, 0x0a, 0x0d, 0x47, 0x61,
|
||||
0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x1f, 0x0a, 0x0a, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73,
|
||||
0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xa0, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x74, 0x72,
|
||||
0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x47, 0x65,
|
||||
0x74, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x75, 0x67, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70,
|
||||
0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65,
|
||||
0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x43, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x61, 0x75, 0x67,
|
||||
0x65, 0x12, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67,
|
||||
0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e,
|
||||
0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x61, 0x75,
|
||||
0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f,
|
||||
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
|
||||
0x67, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6f, 0x70, 0x2f, 0x73, 0x74, 0x72,
|
||||
0x65, 0x73, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
file_stress_grpc_testing_metrics_proto_rawDescOnce sync.Once
|
||||
file_stress_grpc_testing_metrics_proto_rawDescData = file_stress_grpc_testing_metrics_proto_rawDesc
|
||||
file_interop_stress_grpc_testing_metrics_proto_rawDescOnce sync.Once
|
||||
file_interop_stress_grpc_testing_metrics_proto_rawDescData = file_interop_stress_grpc_testing_metrics_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_stress_grpc_testing_metrics_proto_rawDescGZIP() []byte {
|
||||
file_stress_grpc_testing_metrics_proto_rawDescOnce.Do(func() {
|
||||
file_stress_grpc_testing_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_stress_grpc_testing_metrics_proto_rawDescData)
|
||||
func file_interop_stress_grpc_testing_metrics_proto_rawDescGZIP() []byte {
|
||||
file_interop_stress_grpc_testing_metrics_proto_rawDescOnce.Do(func() {
|
||||
file_interop_stress_grpc_testing_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_interop_stress_grpc_testing_metrics_proto_rawDescData)
|
||||
})
|
||||
return file_stress_grpc_testing_metrics_proto_rawDescData
|
||||
return file_interop_stress_grpc_testing_metrics_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_stress_grpc_testing_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_stress_grpc_testing_metrics_proto_goTypes = []interface{}{
|
||||
var file_interop_stress_grpc_testing_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_interop_stress_grpc_testing_metrics_proto_goTypes = []interface{}{
|
||||
(*GaugeResponse)(nil), // 0: grpc.testing.GaugeResponse
|
||||
(*GaugeRequest)(nil), // 1: grpc.testing.GaugeRequest
|
||||
(*EmptyMessage)(nil), // 2: grpc.testing.EmptyMessage
|
||||
}
|
||||
var file_stress_grpc_testing_metrics_proto_depIdxs = []int32{
|
||||
var file_interop_stress_grpc_testing_metrics_proto_depIdxs = []int32{
|
||||
2, // 0: grpc.testing.MetricsService.GetAllGauges:input_type -> grpc.testing.EmptyMessage
|
||||
1, // 1: grpc.testing.MetricsService.GetGauge:input_type -> grpc.testing.GaugeRequest
|
||||
0, // 2: grpc.testing.MetricsService.GetAllGauges:output_type -> grpc.testing.GaugeResponse
|
||||
|
|
@ -296,13 +297,13 @@ var file_stress_grpc_testing_metrics_proto_depIdxs = []int32{
|
|||
0, // [0:0] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_stress_grpc_testing_metrics_proto_init() }
|
||||
func file_stress_grpc_testing_metrics_proto_init() {
|
||||
if File_stress_grpc_testing_metrics_proto != nil {
|
||||
func init() { file_interop_stress_grpc_testing_metrics_proto_init() }
|
||||
func file_interop_stress_grpc_testing_metrics_proto_init() {
|
||||
if File_interop_stress_grpc_testing_metrics_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_stress_grpc_testing_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_interop_stress_grpc_testing_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*GaugeResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -314,7 +315,7 @@ func file_stress_grpc_testing_metrics_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_stress_grpc_testing_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_interop_stress_grpc_testing_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*GaugeRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -326,7 +327,7 @@ func file_stress_grpc_testing_metrics_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_stress_grpc_testing_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_interop_stress_grpc_testing_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*EmptyMessage); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -339,7 +340,7 @@ func file_stress_grpc_testing_metrics_proto_init() {
|
|||
}
|
||||
}
|
||||
}
|
||||
file_stress_grpc_testing_metrics_proto_msgTypes[0].OneofWrappers = []interface{}{
|
||||
file_interop_stress_grpc_testing_metrics_proto_msgTypes[0].OneofWrappers = []interface{}{
|
||||
(*GaugeResponse_LongValue)(nil),
|
||||
(*GaugeResponse_DoubleValue)(nil),
|
||||
(*GaugeResponse_StringValue)(nil),
|
||||
|
|
@ -348,18 +349,18 @@ func file_stress_grpc_testing_metrics_proto_init() {
|
|||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_stress_grpc_testing_metrics_proto_rawDesc,
|
||||
RawDescriptor: file_interop_stress_grpc_testing_metrics_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 3,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_stress_grpc_testing_metrics_proto_goTypes,
|
||||
DependencyIndexes: file_stress_grpc_testing_metrics_proto_depIdxs,
|
||||
MessageInfos: file_stress_grpc_testing_metrics_proto_msgTypes,
|
||||
GoTypes: file_interop_stress_grpc_testing_metrics_proto_goTypes,
|
||||
DependencyIndexes: file_interop_stress_grpc_testing_metrics_proto_depIdxs,
|
||||
MessageInfos: file_interop_stress_grpc_testing_metrics_proto_msgTypes,
|
||||
}.Build()
|
||||
File_stress_grpc_testing_metrics_proto = out.File
|
||||
file_stress_grpc_testing_metrics_proto_rawDesc = nil
|
||||
file_stress_grpc_testing_metrics_proto_goTypes = nil
|
||||
file_stress_grpc_testing_metrics_proto_depIdxs = nil
|
||||
File_interop_stress_grpc_testing_metrics_proto = out.File
|
||||
file_interop_stress_grpc_testing_metrics_proto_rawDesc = nil
|
||||
file_interop_stress_grpc_testing_metrics_proto_goTypes = nil
|
||||
file_interop_stress_grpc_testing_metrics_proto_depIdxs = nil
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
// service.
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "google.golang.org/grpc/stress/grpc_testing";
|
||||
option go_package = "google.golang.org/grpc/interop/stress/grpc_testing";
|
||||
|
||||
package grpc.testing;
|
||||
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
// versions:
|
||||
// - protoc-gen-go-grpc v1.3.0
|
||||
// - protoc v4.22.0
|
||||
// source: stress/grpc_testing/metrics.proto
|
||||
// source: interop/stress/grpc_testing/metrics.proto
|
||||
|
||||
package grpc_testing
|
||||
|
||||
|
|
@ -197,5 +197,5 @@ var MetricsService_ServiceDesc = grpc.ServiceDesc{
|
|||
ServerStreams: true,
|
||||
},
|
||||
},
|
||||
Metadata: "stress/grpc_testing/metrics.proto",
|
||||
Metadata: "interop/stress/grpc_testing/metrics.proto",
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ import (
|
|||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/credentials/insecure"
|
||||
"google.golang.org/grpc/grpclog"
|
||||
metricspb "google.golang.org/grpc/stress/grpc_testing"
|
||||
metricspb "google.golang.org/grpc/interop/stress/grpc_testing"
|
||||
)
|
||||
|
||||
var (
|
||||
2
vet.sh
2
vet.sh
|
|
@ -82,7 +82,7 @@ not git grep -l 'x/net/context' -- "*.go"
|
|||
|
||||
# - Do not import math/rand for real library code. Use internal/grpcrand for
|
||||
# thread safety.
|
||||
git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^stress\|grpcrand\|^benchmark\|wrr_test'
|
||||
git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^interop/stress\|grpcrand\|^benchmark\|wrr_test'
|
||||
|
||||
# - Do not use "interface{}"; use "any" instead.
|
||||
git grep -l 'interface{}' -- "*.go" 2>&1 | not grep -v '\.pb\.go\|protoc-gen-go-grpc'
|
||||
|
|
|
|||
Loading…
Reference in New Issue