b61b4df2c2
a65ee4f Fix buf lint stage bc5fad6 Merge commit '580d2995be07ca1dd4839c3e9214ee881b98bb3e' into 45-add-api-to-restart-handlers 226c480 Add endpoint API to control running endpoint groups 505b06f Add support for DHCP to audit stream d742b08 Introduce profiling API e7e9e82 Introduce DNS-over-HTTPS and HTTP2 support 6a5ac9b Merge branch 'renovate/configure' into 'main' d9d3c9f Add renovate.json 5cad2aa Include PPROF handler to improve observability 3698421 Remove unnecessary proto import 74f521c Move to grpc default health service definition f341615 Return ConsumerKey when recording is started git-subtree-dir: api git-subtree-split: a65ee4f207bd1734095990e12e56069ec3881d0e
73 lines
1.6 KiB
Protocol Buffer
73 lines
1.6 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package inetmock.rpc.v1;
|
|
|
|
message ListenerGroup {
|
|
string name = 1;
|
|
repeated string endpoints = 2;
|
|
}
|
|
|
|
message ListAllServingGroupsRequest {
|
|
}
|
|
|
|
message ListAllServingGroupsResponse {
|
|
repeated ListenerGroup groups = 1;
|
|
}
|
|
|
|
message ListAllConfiguredGroupsRequest {
|
|
}
|
|
|
|
message ListAllConfiguredGroupsResponse {
|
|
repeated ListenerGroup groups = 1;
|
|
}
|
|
|
|
message StartListenerGroupRequest {
|
|
string group_name = 1;
|
|
}
|
|
|
|
message StartListenerGroupResponse {
|
|
}
|
|
|
|
message StartAllGroupsRequest {
|
|
}
|
|
|
|
message StartAllGroupsResponse {
|
|
}
|
|
|
|
message StopListenerGroupRequest {
|
|
string group_name = 1;
|
|
}
|
|
|
|
message StopListenerGroupResponse {
|
|
}
|
|
|
|
message StopAllGroupsRequest {
|
|
}
|
|
|
|
message StopAllGroupsResponse {
|
|
}
|
|
|
|
message RestartListenerGroupRequest {
|
|
string group_name = 1;
|
|
}
|
|
|
|
message RestartListenerGroupResponse {
|
|
}
|
|
|
|
message RestartAllGroupsRequest {
|
|
}
|
|
|
|
message RestartAllGroupsResponse {
|
|
}
|
|
|
|
|
|
service EndpointOrchestratorService {
|
|
rpc ListAllServingGroups(ListAllServingGroupsRequest) returns(ListAllServingGroupsResponse);
|
|
rpc ListAllConfiguredGroups(ListAllConfiguredGroupsRequest) returns(ListAllConfiguredGroupsResponse);
|
|
rpc StartListenerGroup(StartListenerGroupRequest) returns (StartListenerGroupResponse);
|
|
rpc StartAllGroups(StartAllGroupsRequest) returns (StartAllGroupsResponse);
|
|
rpc StopListenerGroup(StopListenerGroupRequest) returns (StopListenerGroupResponse);
|
|
rpc StopAllGroups(StopAllGroupsRequest) returns (StopAllGroupsResponse);
|
|
rpc RestartListenerGroup(RestartListenerGroupRequest) returns (RestartListenerGroupResponse);
|
|
rpc RestartAllGroups(RestartAllGroupsRequest) returns (RestartAllGroupsResponse);
|
|
}
|