Skip to content

Commit

Permalink
Split the Capabilities by endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Ola Rozenfeld committed May 9, 2019
1 parent ca53032 commit ddb7d95
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build/bazel/remote/execution/v2/remote_execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,14 @@ service ContentAddressableStorage {
// The query may include a particular `instance_name`, in which case the values
// returned will pertain to that instance.
service Capabilities {
// GetCapabilities returns the server capabilities configuration.
// GetCapabilities returns the server capabilities configuration of the
// remote endpoint.
// Only the capabilities of the services supported by the endpoint will
// be returned:
// * Execution + CAS + Action Cache endpoints should return both
// CacheCapabilities and ExecutionCapabilities.
// * Execution only endpoints should return ExecutionCapabilities.
// * CAS + Action Cache only endpoints should return CacheCapabilities.
rpc GetCapabilities(GetCapabilitiesRequest) returns (ServerCapabilities) {
option (google.api.http) = {
get: "/v2/{instance_name=**}/capabilities"
Expand Down

0 comments on commit ddb7d95

Please sign in to comment.