diff options
Diffstat (limited to 'proto/repository-service.proto')
-rw-r--r-- | proto/repository-service.proto | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/proto/repository-service.proto b/proto/repository-service.proto index e7801e691..17e2e071b 100644 --- a/proto/repository-service.proto +++ b/proto/repository-service.proto @@ -115,11 +115,21 @@ service RepositoryService { op: MUTATOR }; } + + // CreateBundle creates a bundle from all refs rpc CreateBundle(CreateBundleRequest) returns (stream CreateBundleResponse) { option (op_type) = { op: ACCESSOR }; } + + // CreateBundleFromRefList creates a bundle from a stream of ref patterns + rpc CreateBundleFromRefList(stream CreateBundleFromRefListRequest) returns (stream CreateBundleFromRefListResponse) { + option (op_type) = { + op: ACCESSOR + }; + } + rpc CreateRepositoryFromBundle(stream CreateRepositoryFromBundleRequest) returns (CreateRepositoryFromBundleResponse) { option (op_type) = { op: MUTATOR @@ -501,6 +511,15 @@ message CreateBundleResponse { bytes data = 1; } +message CreateBundleFromRefListRequest { + Repository repository = 1 [(target_repository)=true]; + string pattern = 2; +} + +message CreateBundleFromRefListResponse { + bytes data = 1; +} + // GetConfigRequest is a request for the GetConfig RPC. message GetConfigRequest { // Repository is the repository from which the configuration should be read |