Squashed 'api/' changes from 24ae082..27cd7f5
27cd7f5 Format protobuf code git-subtree-dir: api git-subtree-split: 27cd7f5cb9988c3cd51014fff1ed865bf2620f56
This commit is contained in:
parent
7b1cc73553
commit
4858b425ff
6 changed files with 140 additions and 149 deletions
|
@ -1,12 +1,12 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package inetmock.audit.details;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/details";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||
|
||||
package inetmock.audit.details;
|
||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||
|
||||
enum DNSOpCode {
|
||||
Query = 0;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package inetmock.audit.details;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/details";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||
|
||||
package inetmock.audit.details;
|
||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||
|
||||
enum HTTPMethod {
|
||||
GET = 0;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package inetmock.audit;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.audit";
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option csharp_namespace = "INetMock.Client.Audit";
|
||||
|
||||
package inetmock.audit;
|
||||
option java_package = "com.github.baez90.inetmock.audit";
|
||||
|
||||
import "google/protobuf/any.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package inetmock.rpc;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
option java_outer_classname = "AuditProto";
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
||||
import 'audit/event_entity.proto';
|
||||
|
||||
package inetmock.rpc;
|
||||
import "audit/event_entity.proto";
|
||||
|
||||
enum FileOpenMode {
|
||||
TRUNCATE = 0;
|
||||
|
@ -35,17 +35,15 @@ message RemoveFileSinkResponse {
|
|||
bool SinkGotRemoved = 1;
|
||||
}
|
||||
|
||||
message ListSinksRequest {
|
||||
|
||||
}
|
||||
message ListSinksRequest {}
|
||||
|
||||
message ListSinksResponse {
|
||||
repeated string sinks = 1;
|
||||
}
|
||||
|
||||
service Audit {
|
||||
rpc WatchEvents (WatchEventsRequest) returns (stream inetmock.audit.EventEntity);
|
||||
rpc RegisterFileSink (RegisterFileSinkRequest) returns (RegisterFileSinkResponse);
|
||||
rpc RemoveFileSink (RemoveFileSinkRequest) returns (RemoveFileSinkResponse);
|
||||
rpc WatchEvents(WatchEventsRequest) returns (stream inetmock.audit.EventEntity);
|
||||
rpc RegisterFileSink(RegisterFileSinkRequest) returns (RegisterFileSinkResponse);
|
||||
rpc RemoveFileSink(RemoveFileSinkRequest) returns (RemoveFileSinkResponse);
|
||||
rpc ListSinks(ListSinksRequest) returns (ListSinksResponse);
|
||||
}
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
syntax = "proto3";
|
||||
|
||||
option go_package = "gitlab.com/inetmock/inetmock/internal/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
option java_outer_classname = "HealthProto";
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
|
||||
package inetmock.rpc;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/internal/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "HealthProto";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
||||
service Health {
|
||||
rpc GetHealth (HealthRequest) returns (HealthResponse) {
|
||||
}
|
||||
rpc GetHealth(HealthRequest) returns (HealthResponse);
|
||||
}
|
||||
|
||||
enum HealthState {
|
||||
|
|
|
@ -1,32 +1,26 @@
|
|||
syntax = "proto3";
|
||||
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
option java_outer_classname = "AuditProto";
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
|
||||
package inetmock.rpc;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "AuditProto";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
||||
import "google/protobuf/duration.proto";
|
||||
|
||||
message ListAvailableDevicesRequest {
|
||||
|
||||
}
|
||||
message ListAvailableDevicesRequest {}
|
||||
|
||||
message ListAvailableDevicesResponse {
|
||||
|
||||
message PCAPDevice {
|
||||
string name = 1;
|
||||
repeated bytes addresses = 2;
|
||||
}
|
||||
|
||||
repeated PCAPDevice availableDevices = 1;
|
||||
}
|
||||
|
||||
message ListRecordingsRequest {
|
||||
|
||||
}
|
||||
message ListRecordingsRequest {}
|
||||
|
||||
message ListRecordingsResponse {
|
||||
repeated string subscriptions = 1;
|
||||
|
|
Loading…
Reference in a new issue