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:
authorJacob Vosmaer <jacob@gitlab.com>2019-07-05 12:28:16 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-07-05 12:28:16 +0300
commitb9c9aec5cf53de4ea1a7fc3b067dd56d7828e080 (patch)
tree2693a49918682c12ea22e4085b8c569ac9e62497 /proto/server.proto
parent873a408c49ef1b34fce0cd47a80aa192f426d7c0 (diff)
Start preparation for migrating .proto files
Diffstat (limited to 'proto/server.proto')
-rw-r--r--proto/server.proto29
1 files changed, 29 insertions, 0 deletions
diff --git a/proto/server.proto b/proto/server.proto
new file mode 100644
index 000000000..f56dded92
--- /dev/null
+++ b/proto/server.proto
@@ -0,0 +1,29 @@
+syntax = "proto3";
+
+package gitaly;
+
+option go_package = "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb";
+
+import "shared.proto";
+
+service ServerService {
+ rpc ServerInfo(ServerInfoRequest) returns (ServerInfoResponse) {
+ option (op_type).op = ACCESSOR;
+ }
+}
+
+message ServerInfoRequest {}
+
+message ServerInfoResponse {
+ message StorageStatus {
+ string storage_name = 1;
+ bool readable = 2;
+ bool writeable = 3;
+ string fs_type = 4;
+ string filesystem_id = 5;
+ }
+
+ string server_version = 1;
+ string git_version = 2;
+ repeated StorageStatus storage_statuses = 3;
+}