Skip to content

Commit

Permalink
feat(optimus): add preset under project
Browse files Browse the repository at this point in the history
  • Loading branch information
irainia committed Aug 23, 2023
1 parent 96e1f08 commit 2a8c162
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions gotocompany/optimus/core/v1beta1/project.proto
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ message RegisterProjectRequest {
}

message RegisterProjectResponse {
bool success = 1;
string message = 2;
reserved 1, 2;
}

message ListProjectsRequest {}
Expand All @@ -69,12 +68,18 @@ message GetProjectResponse {
}

message ProjectSpecification {
reserved 3;

string name = 1;
map<string, string> config = 2;

message ProjectSecret {
message ProjectPreset {
string name = 1;
string value = 2;
string description = 2;

string truncate_to = 3;
string offset = 4;
string size = 5;
}
repeated ProjectSecret secrets = 3;
map<string, ProjectPreset> presets = 4;
}

0 comments on commit 2a8c162

Please sign in to comment.