This repository was archived by the owner on Jan 22, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,11 @@ service ClientService {
5656 option (google.api.http ) = {delete : "/v1/{name=namespaces/*/leases/*}" };
5757 option (google.api.method_signature ) = "name" ;
5858 }
59+
60+ rpc GetServiceVersion (google.protobuf.Empty ) returns (GetServiceVersionResponse ) {
61+ option (google.api.http ) = {get : "/v1/version" };
62+ option (google.api.method_signature ) = "" ;
63+ }
5964}
6065
6166message Exporter {
@@ -168,3 +173,9 @@ message DeleteLeaseRequest {
168173 (google.api.resource_reference ) = {type : "jumpstarter.dev/Lease" }
169174 ];
170175}
176+
177+ message GetServiceVersionResponse {
178+ string version = 1 [(google.api.field_behavior ) = OUTPUT_ONLY ];
179+ string build_date = 2 [(google.api.field_behavior ) = OUTPUT_ONLY ];
180+ string git_commit = 3 [(google.api.field_behavior ) = OUTPUT_ONLY ];
181+ }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import "jumpstarter/v1/common.proto";
1313
1414// A service where a exporter can connect to make itself available
1515service ControllerService {
16+ rpc GetServiceVersion (google.protobuf.Empty ) returns (GetServiceVersionResponse );
1617 // Exporter registration
1718 rpc Register (RegisterRequest ) returns (RegisterResponse );
1819
@@ -228,3 +229,9 @@ message GetStatusResponse {
228229 ExporterStatus status = 1 ;
229230 optional string message = 2 ;
230231}
232+
233+ message GetServiceVersionResponse {
234+ string version = 1 ;
235+ string build_date = 2 ;
236+ string git_commit = 3 ;
237+ }
You can’t perform that action at this time.
0 commit comments