Skip to content

Commit

Permalink
Add protos for AppLookup
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed May 9, 2024
1 parent 1ed01f7 commit 13d919f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,15 @@ message AppListResponse {
repeated AppStats apps = 1;
}

message AppLookupRequest {
string app_name = 2;
string environment_name = 3;
}

message AppLookupResponse {
string app_id = 1;
}

message AppLookupObjectRequest {
DeploymentNamespace namespace = 2;
string app_name = 3;
Expand Down Expand Up @@ -2068,6 +2077,7 @@ service ModalClient {
rpc AppSetObjects(AppSetObjectsRequest) returns (google.protobuf.Empty);
rpc AppGetObjects(AppGetObjectsRequest) returns (AppGetObjectsResponse);
rpc AppList(AppListRequest) returns (AppListResponse);
rpc AppLookup(AppLookupRequest) returns (AppLookupResponse);
rpc AppLookupObject(AppLookupObjectRequest) returns (AppLookupObjectResponse);
rpc AppDeploy(AppDeployRequest) returns (AppDeployResponse);
rpc AppDeploySingleObject(AppDeploySingleObjectRequest) returns (AppDeploySingleObjectResponse);
Expand Down

0 comments on commit 13d919f

Please sign in to comment.