Skip to content

Commit

Permalink
Merge pull request #9 from jumpstarter-dev/list-lease
Browse files Browse the repository at this point in the history
Add method ListLeases
  • Loading branch information
mangelajo authored Oct 3, 2024
2 parents 45e61c6 + 8d38343 commit 6d98b68
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions proto/jumpstarter/v1/jumpstarter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ service ControllerService {
rpc RequestLease(RequestLeaseRequest) returns (RequestLeaseResponse);
// Release Lease
rpc ReleaseLease(ReleaseLeaseRequest) returns (ReleaseLeaseResponse);
// List Leases
rpc ListLeases(ListLeasesRequest) returns (ListLeasesResponse);
}

message RegisterRequest {
Expand Down Expand Up @@ -191,3 +193,9 @@ message ReleaseLeaseRequest {
}

message ReleaseLeaseResponse {}

message ListLeasesRequest {}

message ListLeasesResponse {
repeated string names = 1;
}

0 comments on commit 6d98b68

Please sign in to comment.