Skip to content

Commit

Permalink
Pass Datasource to ListServices
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreLamarre committed Jul 22, 2022
1 parent 34aefa2 commit bb5fb23
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 94 deletions.
205 changes: 134 additions & 71 deletions plugins/slo/pkg/apis/slo/slo.pb.go

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

22 changes: 20 additions & 2 deletions plugins/slo/pkg/apis/slo/slo.pb.gw.go

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

6 changes: 5 additions & 1 deletion plugins/slo/pkg/apis/slo/slo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ service SLO {
};
}
// ========== Services API ===========
rpc ListServices(google.protobuf.Empty) returns (ServiceList) {
rpc ListServices(ListServiceRequest) returns (ServiceList) {
option (google.api.http) = {
get: "/services"
};
Expand Down Expand Up @@ -168,3 +168,7 @@ enum SLOStatusState {
message SLOStatus {
SLOStatusState state = 1;
}

message ListServiceRequest {
string datasource = 1;
}
Loading

0 comments on commit bb5fb23

Please sign in to comment.