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:
Diffstat (limited to 'ruby/proto/gitaly/health_pb.rb')
-rw-r--r--ruby/proto/gitaly/health_pb.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/health_pb.rb b/ruby/proto/gitaly/health_pb.rb
new file mode 100644
index 000000000..ea95aef86
--- /dev/null
+++ b/ruby/proto/gitaly/health_pb.rb
@@ -0,0 +1,26 @@
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: health.proto
+
+require 'google/protobuf'
+
+require 'lint_pb'
+require 'shared_pb'
+Google::Protobuf::DescriptorPool.generated_pool.build do
+ add_message "gitaly.HealthCheckRequest" do
+ optional :service, :string, 1
+ end
+ add_message "gitaly.HealthCheckResponse" do
+ optional :status, :enum, 1, "gitaly.HealthCheckResponse.ServingStatus"
+ end
+ add_enum "gitaly.HealthCheckResponse.ServingStatus" do
+ value :UNKNOWN, 0
+ value :SERVING, 1
+ value :NOT_SERVING, 2
+ end
+end
+
+module Gitaly
+ HealthCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.HealthCheckRequest").msgclass
+ HealthCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.HealthCheckResponse").msgclass
+ HealthCheckResponse::ServingStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.HealthCheckResponse.ServingStatus").enummodule
+end