File tree Expand file tree Collapse file tree 8 files changed +48
-50
lines changed Expand file tree Collapse file tree 8 files changed +48
-50
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ syntax = "proto3";
2
2
3
3
package inetmock.audit.v1 ;
4
4
5
- option csharp_namespace = "INetMock.Client.Audit" ;
6
- option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/v1" ;
7
- option java_multiple_files = true ;
8
- option java_outer_classname = "HandlerEventProto" ;
9
- option java_package = "com.github.baez90.inetmock.audit" ;
10
-
11
5
enum DNSOpCode {
12
6
//buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
13
7
DNS_OP_CODE_QUERY = 0 ;
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ syntax = "proto3";
2
2
3
3
package inetmock.audit.v1 ;
4
4
5
- option csharp_namespace = "INetMock.Client.Audit" ;
6
- option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/v1" ;
7
- option java_multiple_files = true ;
8
- option java_outer_classname = "HandlerEventProto" ;
9
- option java_package = "com.github.baez90.inetmock.audit" ;
10
-
11
5
import "google/protobuf/any.proto" ;
12
6
import "google/protobuf/timestamp.proto" ;
13
7
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ syntax = "proto3";
2
2
3
3
package inetmock.audit.v1 ;
4
4
5
- option csharp_namespace = "INetMock.Client.Audit" ;
6
- option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/v1" ;
7
- option java_multiple_files = true ;
8
- option java_outer_classname = "HandlerEventProto" ;
9
- option java_package = "com.github.baez90.inetmock.audit" ;
10
-
11
5
enum HTTPMethod {
12
6
HTTP_METHOD_UNSPECIFIED = 0 ;
13
7
HTTP_METHOD_GET = 1 ;
Original file line number Diff line number Diff line change
1
+ version : v1
2
+ breaking :
3
+ use :
4
+ - FILE
5
+ lint :
6
+ use :
7
+ - DEFAULT
8
+ except :
9
+ - PACKAGE_DIRECTORY_MATCH
10
+ allow_comment_ignores : true
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ syntax = "proto3";
2
2
3
3
package inetmock.rpc.v1 ;
4
4
5
- option csharp_namespace = "INetMock.Client.Rpc" ;
6
- option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc/v1" ;
7
- option java_multiple_files = true ;
8
- option java_outer_classname = "AuditProto" ;
9
- option java_package = "com.github.baez90.inetmock.rpc" ;
10
-
11
5
import "audit/v1/event_entity.proto" ;
12
6
13
7
message WatchEventsRequest {
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ syntax = "proto3";
2
2
3
3
package inetmock.rpc.v1 ;
4
4
5
- option csharp_namespace = "INetMock.Client.Rpc" ;
6
- option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc/v1" ;
7
- option java_multiple_files = true ;
8
- option java_outer_classname = "AuditProto" ;
9
- option java_package = "com.github.baez90.inetmock.rpc" ;
10
-
11
5
import "google/protobuf/duration.proto" ;
12
6
13
7
message ListAvailableDevicesRequest {}
Original file line number Diff line number Diff line change
1
+ syntax = "proto3" ;
2
+
3
+ package inetmock.rpc.v1 ;
4
+
5
+ import "google/protobuf/duration.proto" ;
6
+
7
+ message ProfileDumpRequest {
8
+ string profile_name = 1 ;
9
+ int32 debug = 2 ;
10
+ // this applies only for 'heap' profile
11
+ bool gc_before_dump = 3 ;
12
+ }
13
+
14
+ message ProfileDumpResponse {
15
+ bytes profile_data = 1 ;
16
+ }
17
+
18
+ message CPUProfileRequest {
19
+ google.protobuf.Duration profile_duration = 1 ;
20
+ }
21
+
22
+ message CPUProfileResponse {
23
+ bytes profile_data = 1 ;
24
+ }
25
+
26
+ message TraceRequest {
27
+ google.protobuf.Duration trace_duration = 1 ;
28
+ }
29
+
30
+ message TraceResponse {
31
+ bytes profile_data = 1 ;
32
+ }
33
+
34
+ service ProfilingService {
35
+ rpc ProfileDump (ProfileDumpRequest ) returns (ProfileDumpResponse );
36
+ rpc CPUProfile (CPUProfileRequest ) returns (CPUProfileResponse );
37
+ rpc Trace (TraceRequest ) returns (TraceResponse );
38
+ }
You can’t perform that action at this time.
0 commit comments