Skip to content

Commit

Permalink
feat(isolate_proto): add KillRunnerRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Nov 1, 2024
1 parent 5acbb8f commit 58f918e
Show file tree
Hide file tree
Showing 4 changed files with 238 additions and 134 deletions.
10 changes: 10 additions & 0 deletions projects/isolate_proto/src/isolate_proto/controller.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ service IsolateController {
rpc ListSecrets (ListSecretsRequest) returns (ListSecretsResponse) {}
// List alias runners in detail
rpc ListAliasRunners (ListAliasRunnersRequest) returns (ListAliasRunnersResponse) {}
// Kill a runner
rpc KillRunner (KillRunnerRequest) returns (KillRunnerResponse) {}
}

message HostedMap {
Expand Down Expand Up @@ -312,3 +314,11 @@ message RunnerInfo {
optional int32 expiration_countdown = 3;
float uptime = 4;
}

message KillRunnerRequest {
string runner_id = 1;
}

message KillRunnerResponse {
// Empty. For future use.
}
Loading

0 comments on commit 58f918e

Please sign in to comment.