diff options
Diffstat (limited to 'ruby/proto/gitaly/hook_pb.rb')
-rw-r--r-- | ruby/proto/gitaly/hook_pb.rb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/hook_pb.rb b/ruby/proto/gitaly/hook_pb.rb new file mode 100644 index 000000000..b354bbf98 --- /dev/null +++ b/ruby/proto/gitaly/hook_pb.rb @@ -0,0 +1,50 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: hook.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.PreReceiveHookRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :key_id, :string, 2 + optional :protocol, :string, 3 + optional :stdin, :bytes, 4 + end + add_message "gitaly.PreReceiveHookResponse" do + optional :stdout, :bytes, 1 + optional :stderr, :bytes, 2 + optional :success, :bool, 3 + end + add_message "gitaly.PostReceiveHookRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :key_id, :string, 2 + optional :stdin, :bytes, 3 + end + add_message "gitaly.PostReceiveHookResponse" do + optional :stdout, :bytes, 1 + optional :stderr, :bytes, 2 + optional :success, :bool, 3 + end + add_message "gitaly.UpdateHookRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :key_id, :string, 2 + optional :ref, :bytes, 3 + optional :old_value, :string, 4 + optional :new_value, :string, 5 + end + add_message "gitaly.UpdateHookResponse" do + optional :stdout, :bytes, 1 + optional :stderr, :bytes, 2 + optional :success, :bool, 3 + end +end + +module Gitaly + PreReceiveHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookRequest").msgclass + PreReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreReceiveHookResponse").msgclass + PostReceiveHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookRequest").msgclass + PostReceiveHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookResponse").msgclass + UpdateHookRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass + UpdateHookResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass +end |