diff options
author | John Cai <jcai@gitlab.com> | 2020-05-08 00:03:54 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2020-05-11 20:06:50 +0300 |
commit | 34d3538f80d4f93a61dac303dc57aa7f793f1bcf (patch) | |
tree | 69e773078b7bf2a148101ca70a7d9b74481eebae /proto/repository-service.proto | |
parent | 3a85af1d99b46ef3fb0c26fc7bdab749fbcb4cf2 (diff) |
Add OptimizeRepository RPC
Diffstat (limited to 'proto/repository-service.proto')
-rw-r--r-- | proto/repository-service.proto | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/proto/repository-service.proto b/proto/repository-service.proto index 62e774127..a243df77c 100644 --- a/proto/repository-service.proto +++ b/proto/repository-service.proto @@ -209,6 +209,11 @@ service RepositoryService { op: MUTATOR }; } + rpc OptimizeRepository(OptimizeRepositoryRequest) returns (OptimizeRepositoryResponse) { + option (op_type) = { + op: MUTATOR + }; + } } message RepositoryExistsRequest { @@ -605,3 +610,9 @@ message ReplicateRepositoryRequest { } message ReplicateRepositoryResponse{} + +message OptimizeRepositoryRequest { + Repository repository = 1 [(target_repository)=true]; +} + +message OptimizeRepositoryResponse{} |