Skip to content

Commit

Permalink
feat: add config definition
Browse files Browse the repository at this point in the history
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
  • Loading branch information
matthisholleville committed May 23, 2023
1 parent 5cbadc8 commit b1e1059
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions protobuf/schema/v1/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,21 @@ message AnalysisItem {
string description = 2;
}

message ConfigRequest {
Cache cache = 1;
}

message Cache {
string region = 1;
string bucketName = 2;
}

message ConfigResponse {
string status = 1;
}

// Service defines the exposed rpcs of k8sgpt
service Server {
rpc Analyze (AnalyzeRequest) returns (AnalyzeResponse) {}
rpc Config (ConfigRequest) returns (ConfigResponse) {}
}

0 comments on commit b1e1059

Please sign in to comment.