Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent group flag for introspeciton commands #2826

Merged
merged 3 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions api/aperture/cmd/v1/cmd.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "google/protobuf/empty.proto";

// Controller describes APIs of the controller from the aperturectl POV
service Controller {
rpc ListAgents(google.protobuf.Empty) returns (ListAgentsResponse);
rpc ListAgents(ListAgentsRequest) returns (ListAgentsResponse);
rpc ListServices(ListServicesRequest) returns (ListServicesControllerResponse);
rpc ListFlowControlPoints(ListFlowControlPointsRequest) returns (ListFlowControlPointsControllerResponse);
rpc ListAutoScaleControlPoints(ListAutoScaleControlPointsRequest) returns (ListAutoScaleControlPointsControllerResponse);
Expand Down Expand Up @@ -74,7 +74,9 @@ message ListAutoScaleControlPointsControllerResponse {
uint32 errors_count = 2;
}

message ListDiscoveryEntitiesRequest {}
message ListDiscoveryEntitiesRequest {
string agent_group = 1;
}

message ListDiscoveryEntitiesAgentResponse {
map<string, aperture.discovery.entities.v1.Entity> entities = 1;
Expand All @@ -96,6 +98,10 @@ message ListDiscoveryEntityAgentResponse {
aperture.discovery.entities.v1.Entity entity = 1;
}

message ListAgentsRequest {
string agent_group = 1;
}

message ListAgentsResponse {
repeated string agents = 1;
}
Expand Down
737 changes: 406 additions & 331 deletions api/gen/proto/go/aperture/cmd/v1/cmd.pb.go

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions api/gen/proto/go/aperture/cmd/v1/cmd.pb.json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 106 additions & 0 deletions api/gen/proto/go/aperture/cmd/v1/cmd.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions api/gen/proto/go/aperture/cmd/v1/cmd_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading