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

storage.proto « proto - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 74d7532676c0f2bf0a301b495d1e98f4dfb1fc0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
syntax = "proto3";

package gitaly;

option go_package = "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb";

import "shared.proto";

service StorageService {
  rpc ListDirectories(ListDirectoriesRequest) returns (stream ListDirectoriesResponse) {
    option (op_type) = {
      op: ACCESSOR,
      scope_level: STORAGE,
    };
  }
  rpc DeleteAllRepositories(DeleteAllRepositoriesRequest) returns (DeleteAllRepositoriesResponse) {
    option (op_type) = {
      op: MUTATOR,
      scope_level: STORAGE,
    };
  }
}

message ListDirectoriesRequest {
  string storage_name = 1;
  uint32 depth = 2;
}

message ListDirectoriesResponse {
  repeated string paths = 1;
}

message DeleteAllRepositoriesRequest {
  string storage_name = 1;
}

message DeleteAllRepositoriesResponse {}