summaryrefslogtreecommitdiff
path: root/src/buildtool/serve_api
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/serve_api')
-rw-r--r--src/buildtool/serve_api/serve_service/just_serve.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/buildtool/serve_api/serve_service/just_serve.proto b/src/buildtool/serve_api/serve_service/just_serve.proto
index 06c60134..c6b805d2 100644
--- a/src/buildtool/serve_api/serve_service/just_serve.proto
+++ b/src/buildtool/serve_api/serve_service/just_serve.proto
@@ -206,3 +206,15 @@ service Target {
// * `INTERNAL`: Internally, something is very broken.
rpc ServeTargetVariables(ServeTargetVariablesRequest) returns (ServeTargetVariablesResponse) {}
}
+
+message RemoteExecutionEndpointRequest {}
+
+message RemoteExecutionEndpointResponse {
+ string address = 1;
+}
+
+// This service can be used by the client to double check the server configuration
+service Configuration {
+ // Returns the address of the associated remote endpoint
+ rpc RemoteExecutionEndpoint(RemoteExecutionEndpointRequest) returns (RemoteExecutionEndpointResponse) {}
+}