Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Okstad <pokstad@gitlab.com>2019-08-06 20:02:15 +0300
committerJohn Cai <jcai@gitlab.com>2019-08-06 20:02:15 +0300
commitfe5149e5548966c1c93c1f820aa0e61e299ef961 (patch)
tree8be75adffad8245540b4fc2cfaaae63d4039ee8a /proto/shared.proto
parent7f1e11018f45e578c9ae2692963617b0c401193d (diff)
Add gRPC method scope to protoregistry
Diffstat (limited to 'proto/shared.proto')
-rw-r--r--proto/shared.proto8
1 files changed, 5 insertions, 3 deletions
diff --git a/proto/shared.proto b/proto/shared.proto
index c252349c9..b4c3dbac4 100644
--- a/proto/shared.proto
+++ b/proto/shared.proto
@@ -19,11 +19,13 @@ message OperationMsg {
enum Scope {
REPOSITORY = 0;
SERVER = 1;
+ STORAGE = 2;
}
- // Scope level indicates how a mutating RPC affects Gitaly:
- // - REPOSITORY: mutation is scoped to only a single repo
- // - SERVER: mutation affects the entire server and potentially all repos
+ // Scope level indicates what level an RPC interacts with a server:
+ // - REPOSITORY: scoped to only a single repo
+ // - SERVER: affects the entire server and potentially all repos
+ // - STORAGE: scoped to a specific storage location and all repos within
Scope scope_level = 2;
// If this operation modifies a repository, this field will