diff options
author | John Cai <jcai@gitlab.com> | 2019-09-04 00:54:58 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-09-05 20:16:17 +0300 |
commit | cee443aac0518d2f80aa8e3b9668d43390a918b3 (patch) | |
tree | 6c3c72a5b835602d46945defb032562d74ad5863 /proto/repository-service.proto | |
parent | 934d09b8fac8301d787ca5322aab90da75b7675d (diff) |
Add RemoveRepository RPC
Diffstat (limited to 'proto/repository-service.proto')
-rw-r--r-- | proto/repository-service.proto | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/proto/repository-service.proto b/proto/repository-service.proto index 11bc25293..e4c558135 100644 --- a/proto/repository-service.proto +++ b/proto/repository-service.proto @@ -242,6 +242,12 @@ service RepositoryService { target_repository_field: "1" }; } + rpc RemoveRepository(RemoveRepositoryRequest) returns (RemoveRepositoryResponse) { + option (op_type) = { + op: MUTATOR + target_repository_field: "1" + }; + } } message RepositoryExistsRequest { @@ -634,3 +640,10 @@ message CloneFromPoolInternalRequest { message CloneFromPoolInternalResponse { } + +message RemoveRepositoryRequest { + Repository repository = 1; +} + +message RemoveRepositoryResponse { +} |