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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: hook.proto
require 'google/protobuf'
require 'lint_pb'
require 'shared_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("hook.proto", :syntax => :proto3) do
add_message "gitaly.PreReceiveHookRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :environment_variables, :string, 2
optional :stdin, :bytes, 4
repeated :git_push_options, :string, 5
end
add_message "gitaly.PreReceiveHookResponse" do
optional :stdout, :bytes, 1
optional :stderr, :bytes, 2
optional :exit_status, :message, 3, "gitaly.ExitStatus"
end
add_message "gitaly.PostReceiveHookRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :environment_variables, :string, 2
optional :stdin, :bytes, 3
repeated :git_push_options, :string, 4
end
add_message "gitaly.PostReceiveHookResponse" do
optional :stdout, :bytes, 1
optional :stderr, :bytes, 2
optional :exit_status, :message, 3, "gitaly.ExitStatus"
end
add_message "gitaly.UpdateHookRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :environment_variables, :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 :exit_status, :message, 3, "gitaly.ExitStatus"
end
add_message "gitaly.ReferenceTransactionHookRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :environment_variables, :string, 2
optional :stdin, :bytes, 3
optional :state, :enum, 4, "gitaly.ReferenceTransactionHookRequest.State"
end
add_enum "gitaly.ReferenceTransactionHookRequest.State" do
value :PREPARED, 0
value :COMMITTED, 1
value :ABORTED, 2
end
add_message "gitaly.ReferenceTransactionHookResponse" do
optional :stdout, :bytes, 1
optional :stderr, :bytes, 2
optional :exit_status, :message, 3, "gitaly.ExitStatus"
end
add_message "gitaly.PackObjectsHookRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :args, :string, 2
optional :stdin, :bytes, 3
end
add_message "gitaly.PackObjectsHookResponse" do
optional :stdout, :bytes, 1
optional :stderr, :bytes, 2
end
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
ReferenceTransactionHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
ReferenceTransactionHookRequest::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest.State").enummodule
ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
PackObjectsHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookRequest").msgclass
PackObjectsHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookResponse").msgclass
end
|