gitaly 12.10.0 → 13.0.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gitaly might be problematic. Click here for more details.

@@ -6,39 +6,37 @@ require 'google/protobuf'
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("server.proto", :syntax => :proto3) do
10
- add_message "gitaly.ServerInfoRequest" do
11
- end
12
- add_message "gitaly.ServerInfoResponse" do
13
- optional :server_version, :string, 1
14
- optional :git_version, :string, 2
15
- repeated :storage_statuses, :message, 3, "gitaly.ServerInfoResponse.StorageStatus"
16
- end
17
- add_message "gitaly.ServerInfoResponse.StorageStatus" do
18
- optional :storage_name, :string, 1
19
- optional :readable, :bool, 2
20
- optional :writeable, :bool, 3
21
- optional :fs_type, :string, 4
22
- optional :filesystem_id, :string, 5
23
- end
24
- add_message "gitaly.DiskStatisticsRequest" do
25
- end
26
- add_message "gitaly.DiskStatisticsResponse" do
27
- repeated :storage_statuses, :message, 1, "gitaly.DiskStatisticsResponse.StorageStatus"
28
- end
29
- add_message "gitaly.DiskStatisticsResponse.StorageStatus" do
30
- optional :storage_name, :string, 1
31
- optional :available, :int64, 2
32
- optional :used, :int64, 3
33
- end
9
+ add_message "gitaly.ServerInfoRequest" do
10
+ end
11
+ add_message "gitaly.ServerInfoResponse" do
12
+ optional :server_version, :string, 1
13
+ optional :git_version, :string, 2
14
+ repeated :storage_statuses, :message, 3, "gitaly.ServerInfoResponse.StorageStatus"
15
+ end
16
+ add_message "gitaly.ServerInfoResponse.StorageStatus" do
17
+ optional :storage_name, :string, 1
18
+ optional :readable, :bool, 2
19
+ optional :writeable, :bool, 3
20
+ optional :fs_type, :string, 4
21
+ optional :filesystem_id, :string, 5
22
+ end
23
+ add_message "gitaly.DiskStatisticsRequest" do
24
+ end
25
+ add_message "gitaly.DiskStatisticsResponse" do
26
+ repeated :storage_statuses, :message, 1, "gitaly.DiskStatisticsResponse.StorageStatus"
27
+ end
28
+ add_message "gitaly.DiskStatisticsResponse.StorageStatus" do
29
+ optional :storage_name, :string, 1
30
+ optional :available, :int64, 2
31
+ optional :used, :int64, 3
34
32
  end
35
33
  end
36
34
 
37
35
  module Gitaly
38
- ServerInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoRequest").msgclass
39
- ServerInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse").msgclass
40
- ServerInfoResponse::StorageStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse.StorageStatus").msgclass
41
- DiskStatisticsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsRequest").msgclass
42
- DiskStatisticsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse").msgclass
43
- DiskStatisticsResponse::StorageStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse.StorageStatus").msgclass
36
+ ServerInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoRequest").msgclass
37
+ ServerInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse").msgclass
38
+ ServerInfoResponse::StorageStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse.StorageStatus").msgclass
39
+ DiskStatisticsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsRequest").msgclass
40
+ DiskStatisticsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse").msgclass
41
+ DiskStatisticsResponse::StorageStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse.StorageStatus").msgclass
44
42
  end
@@ -6,80 +6,78 @@ require 'google/protobuf'
6
6
  require 'google/protobuf/timestamp_pb'
7
7
  require 'lint_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("shared.proto", :syntax => :proto3) do
10
- add_message "gitaly.Repository" do
11
- optional :storage_name, :string, 2
12
- optional :relative_path, :string, 3
13
- optional :git_object_directory, :string, 4
14
- repeated :git_alternate_object_directories, :string, 5
15
- optional :gl_repository, :string, 6
16
- optional :gl_project_path, :string, 8
17
- end
18
- add_message "gitaly.GitCommit" do
19
- optional :id, :string, 1
20
- optional :subject, :bytes, 2
21
- optional :body, :bytes, 3
22
- optional :author, :message, 4, "gitaly.CommitAuthor"
23
- optional :committer, :message, 5, "gitaly.CommitAuthor"
24
- repeated :parent_ids, :string, 6
25
- optional :body_size, :int64, 7
26
- optional :signature_type, :enum, 8, "gitaly.SignatureType"
27
- end
28
- add_message "gitaly.CommitAuthor" do
29
- optional :name, :bytes, 1
30
- optional :email, :bytes, 2
31
- optional :date, :message, 3, "google.protobuf.Timestamp"
32
- optional :timezone, :bytes, 4
33
- end
34
- add_message "gitaly.ExitStatus" do
35
- optional :value, :int32, 1
36
- end
37
- add_message "gitaly.Branch" do
38
- optional :name, :bytes, 1
39
- optional :target_commit, :message, 2, "gitaly.GitCommit"
40
- end
41
- add_message "gitaly.Tag" do
42
- optional :name, :bytes, 1
43
- optional :id, :string, 2
44
- optional :target_commit, :message, 3, "gitaly.GitCommit"
45
- optional :message, :bytes, 4
46
- optional :message_size, :int64, 5
47
- optional :tagger, :message, 6, "gitaly.CommitAuthor"
48
- optional :signature_type, :enum, 7, "gitaly.SignatureType"
49
- end
50
- add_message "gitaly.User" do
51
- optional :gl_id, :string, 1
52
- optional :name, :bytes, 2
53
- optional :email, :bytes, 3
54
- optional :gl_username, :string, 4
55
- end
56
- add_message "gitaly.ObjectPool" do
57
- optional :repository, :message, 1, "gitaly.Repository"
58
- end
59
- add_enum "gitaly.ObjectType" do
60
- value :UNKNOWN, 0
61
- value :COMMIT, 1
62
- value :BLOB, 2
63
- value :TREE, 3
64
- value :TAG, 4
65
- end
66
- add_enum "gitaly.SignatureType" do
67
- value :NONE, 0
68
- value :PGP, 1
69
- value :X509, 2
70
- end
9
+ add_message "gitaly.Repository" do
10
+ optional :storage_name, :string, 2
11
+ optional :relative_path, :string, 3
12
+ optional :git_object_directory, :string, 4
13
+ repeated :git_alternate_object_directories, :string, 5
14
+ optional :gl_repository, :string, 6
15
+ optional :gl_project_path, :string, 8
16
+ end
17
+ add_message "gitaly.GitCommit" do
18
+ optional :id, :string, 1
19
+ optional :subject, :bytes, 2
20
+ optional :body, :bytes, 3
21
+ optional :author, :message, 4, "gitaly.CommitAuthor"
22
+ optional :committer, :message, 5, "gitaly.CommitAuthor"
23
+ repeated :parent_ids, :string, 6
24
+ optional :body_size, :int64, 7
25
+ optional :signature_type, :enum, 8, "gitaly.SignatureType"
26
+ end
27
+ add_message "gitaly.CommitAuthor" do
28
+ optional :name, :bytes, 1
29
+ optional :email, :bytes, 2
30
+ optional :date, :message, 3, "google.protobuf.Timestamp"
31
+ optional :timezone, :bytes, 4
32
+ end
33
+ add_message "gitaly.ExitStatus" do
34
+ optional :value, :int32, 1
35
+ end
36
+ add_message "gitaly.Branch" do
37
+ optional :name, :bytes, 1
38
+ optional :target_commit, :message, 2, "gitaly.GitCommit"
39
+ end
40
+ add_message "gitaly.Tag" do
41
+ optional :name, :bytes, 1
42
+ optional :id, :string, 2
43
+ optional :target_commit, :message, 3, "gitaly.GitCommit"
44
+ optional :message, :bytes, 4
45
+ optional :message_size, :int64, 5
46
+ optional :tagger, :message, 6, "gitaly.CommitAuthor"
47
+ optional :signature_type, :enum, 7, "gitaly.SignatureType"
48
+ end
49
+ add_message "gitaly.User" do
50
+ optional :gl_id, :string, 1
51
+ optional :name, :bytes, 2
52
+ optional :email, :bytes, 3
53
+ optional :gl_username, :string, 4
54
+ end
55
+ add_message "gitaly.ObjectPool" do
56
+ optional :repository, :message, 1, "gitaly.Repository"
57
+ end
58
+ add_enum "gitaly.ObjectType" do
59
+ value :UNKNOWN, 0
60
+ value :COMMIT, 1
61
+ value :BLOB, 2
62
+ value :TREE, 3
63
+ value :TAG, 4
64
+ end
65
+ add_enum "gitaly.SignatureType" do
66
+ value :NONE, 0
67
+ value :PGP, 1
68
+ value :X509, 2
71
69
  end
72
70
  end
73
71
 
74
72
  module Gitaly
75
- Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
76
- GitCommit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
77
- CommitAuthor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
78
- ExitStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass
79
- Branch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Branch").msgclass
80
- Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Tag").msgclass
81
- User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass
82
- ObjectPool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass
83
- ObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
84
- SignatureType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule
73
+ Repository = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
74
+ GitCommit = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
75
+ CommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
76
+ ExitStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass
77
+ Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Branch").msgclass
78
+ Tag = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Tag").msgclass
79
+ User = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass
80
+ ObjectPool = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass
81
+ ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
82
+ SignatureType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule
85
83
  end
@@ -6,44 +6,42 @@ require 'google/protobuf'
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("smarthttp.proto", :syntax => :proto3) do
10
- add_message "gitaly.InfoRefsRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- repeated :git_config_options, :string, 2
13
- optional :git_protocol, :string, 3
14
- end
15
- add_message "gitaly.InfoRefsResponse" do
16
- optional :data, :bytes, 1
17
- end
18
- add_message "gitaly.PostUploadPackRequest" do
19
- optional :repository, :message, 1, "gitaly.Repository"
20
- optional :data, :bytes, 2
21
- repeated :git_config_options, :string, 3
22
- optional :git_protocol, :string, 4
23
- end
24
- add_message "gitaly.PostUploadPackResponse" do
25
- optional :data, :bytes, 1
26
- end
27
- add_message "gitaly.PostReceivePackRequest" do
28
- optional :repository, :message, 1, "gitaly.Repository"
29
- optional :data, :bytes, 2
30
- optional :gl_id, :string, 3
31
- optional :gl_repository, :string, 4
32
- optional :gl_username, :string, 5
33
- optional :git_protocol, :string, 6
34
- repeated :git_config_options, :string, 7
35
- end
36
- add_message "gitaly.PostReceivePackResponse" do
37
- optional :data, :bytes, 1
38
- end
9
+ add_message "gitaly.InfoRefsRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ repeated :git_config_options, :string, 2
12
+ optional :git_protocol, :string, 3
13
+ end
14
+ add_message "gitaly.InfoRefsResponse" do
15
+ optional :data, :bytes, 1
16
+ end
17
+ add_message "gitaly.PostUploadPackRequest" do
18
+ optional :repository, :message, 1, "gitaly.Repository"
19
+ optional :data, :bytes, 2
20
+ repeated :git_config_options, :string, 3
21
+ optional :git_protocol, :string, 4
22
+ end
23
+ add_message "gitaly.PostUploadPackResponse" do
24
+ optional :data, :bytes, 1
25
+ end
26
+ add_message "gitaly.PostReceivePackRequest" do
27
+ optional :repository, :message, 1, "gitaly.Repository"
28
+ optional :data, :bytes, 2
29
+ optional :gl_id, :string, 3
30
+ optional :gl_repository, :string, 4
31
+ optional :gl_username, :string, 5
32
+ optional :git_protocol, :string, 6
33
+ repeated :git_config_options, :string, 7
34
+ end
35
+ add_message "gitaly.PostReceivePackResponse" do
36
+ optional :data, :bytes, 1
39
37
  end
40
38
  end
41
39
 
42
40
  module Gitaly
43
- InfoRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsRequest").msgclass
44
- InfoRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
45
- PostUploadPackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass
46
- PostUploadPackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass
47
- PostReceivePackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
48
- PostReceivePackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
41
+ InfoRefsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsRequest").msgclass
42
+ InfoRefsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
43
+ PostUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass
44
+ PostUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass
45
+ PostReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
46
+ PostReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
49
47
  end
@@ -6,49 +6,47 @@ require 'google/protobuf'
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("ssh.proto", :syntax => :proto3) do
10
- add_message "gitaly.SSHUploadPackRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :stdin, :bytes, 2
13
- repeated :git_config_options, :string, 4
14
- optional :git_protocol, :string, 5
15
- end
16
- add_message "gitaly.SSHUploadPackResponse" do
17
- optional :stdout, :bytes, 1
18
- optional :stderr, :bytes, 2
19
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
20
- end
21
- add_message "gitaly.SSHReceivePackRequest" do
22
- optional :repository, :message, 1, "gitaly.Repository"
23
- optional :stdin, :bytes, 2
24
- optional :gl_id, :string, 3
25
- optional :gl_repository, :string, 4
26
- optional :gl_username, :string, 5
27
- optional :git_protocol, :string, 6
28
- repeated :git_config_options, :string, 7
29
- end
30
- add_message "gitaly.SSHReceivePackResponse" do
31
- optional :stdout, :bytes, 1
32
- optional :stderr, :bytes, 2
33
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
34
- end
35
- add_message "gitaly.SSHUploadArchiveRequest" do
36
- optional :repository, :message, 1, "gitaly.Repository"
37
- optional :stdin, :bytes, 2
38
- end
39
- add_message "gitaly.SSHUploadArchiveResponse" do
40
- optional :stdout, :bytes, 1
41
- optional :stderr, :bytes, 2
42
- optional :exit_status, :message, 3, "gitaly.ExitStatus"
43
- end
9
+ add_message "gitaly.SSHUploadPackRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ optional :stdin, :bytes, 2
12
+ repeated :git_config_options, :string, 4
13
+ optional :git_protocol, :string, 5
14
+ end
15
+ add_message "gitaly.SSHUploadPackResponse" do
16
+ optional :stdout, :bytes, 1
17
+ optional :stderr, :bytes, 2
18
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
19
+ end
20
+ add_message "gitaly.SSHReceivePackRequest" do
21
+ optional :repository, :message, 1, "gitaly.Repository"
22
+ optional :stdin, :bytes, 2
23
+ optional :gl_id, :string, 3
24
+ optional :gl_repository, :string, 4
25
+ optional :gl_username, :string, 5
26
+ optional :git_protocol, :string, 6
27
+ repeated :git_config_options, :string, 7
28
+ end
29
+ add_message "gitaly.SSHReceivePackResponse" do
30
+ optional :stdout, :bytes, 1
31
+ optional :stderr, :bytes, 2
32
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
33
+ end
34
+ add_message "gitaly.SSHUploadArchiveRequest" do
35
+ optional :repository, :message, 1, "gitaly.Repository"
36
+ optional :stdin, :bytes, 2
37
+ end
38
+ add_message "gitaly.SSHUploadArchiveResponse" do
39
+ optional :stdout, :bytes, 1
40
+ optional :stderr, :bytes, 2
41
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
44
42
  end
45
43
  end
46
44
 
47
45
  module Gitaly
48
- SSHUploadPackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackRequest").msgclass
49
- SSHUploadPackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackResponse").msgclass
50
- SSHReceivePackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackRequest").msgclass
51
- SSHReceivePackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackResponse").msgclass
52
- SSHUploadArchiveRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveRequest").msgclass
53
- SSHUploadArchiveResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveResponse").msgclass
46
+ SSHUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackRequest").msgclass
47
+ SSHUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackResponse").msgclass
48
+ SSHReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackRequest").msgclass
49
+ SSHReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackResponse").msgclass
50
+ SSHUploadArchiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveRequest").msgclass
51
+ SSHUploadArchiveResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveResponse").msgclass
54
52
  end
@@ -0,0 +1,45 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: transaction.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'lint_pb'
7
+ require 'shared_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_message "gitaly.RegisterTransactionRequest" do
10
+ optional :repository, :message, 1, "gitaly.Repository"
11
+ repeated :nodes, :string, 2
12
+ end
13
+ add_message "gitaly.RegisterTransactionResponse" do
14
+ optional :transaction_id, :uint64, 1
15
+ end
16
+ add_message "gitaly.StartTransactionRequest" do
17
+ optional :repository, :message, 1, "gitaly.Repository"
18
+ optional :transaction_id, :uint64, 2
19
+ optional :node, :string, 3
20
+ optional :reference_updates_hash, :bytes, 4
21
+ end
22
+ add_message "gitaly.StartTransactionResponse" do
23
+ optional :state, :enum, 1, "gitaly.StartTransactionResponse.TransactionState"
24
+ end
25
+ add_enum "gitaly.StartTransactionResponse.TransactionState" do
26
+ value :COMMIT, 0
27
+ value :ABORT, 1
28
+ end
29
+ add_message "gitaly.CancelTransactionRequest" do
30
+ optional :repository, :message, 1, "gitaly.Repository"
31
+ optional :transaction_id, :uint64, 2
32
+ end
33
+ add_message "gitaly.CancelTransactionResponse" do
34
+ end
35
+ end
36
+
37
+ module Gitaly
38
+ RegisterTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RegisterTransactionRequest").msgclass
39
+ RegisterTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RegisterTransactionResponse").msgclass
40
+ StartTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionRequest").msgclass
41
+ StartTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionResponse").msgclass
42
+ StartTransactionResponse::TransactionState = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionResponse.TransactionState").enummodule
43
+ CancelTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CancelTransactionRequest").msgclass
44
+ CancelTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CancelTransactionResponse").msgclass
45
+ end
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: transaction.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'transaction_pb'
6
+
7
+ module Gitaly
8
+ module RefTransaction
9
+ class Service
10
+
11
+ include GRPC::GenericService
12
+
13
+ self.marshal_class_method = :encode
14
+ self.unmarshal_class_method = :decode
15
+ self.service_name = 'gitaly.RefTransaction'
16
+
17
+ rpc :RegisterTransaction, RegisterTransactionRequest, RegisterTransactionResponse
18
+ rpc :StartTransaction, StartTransactionRequest, StartTransactionResponse
19
+ rpc :CancelTransaction, CancelTransactionRequest, CancelTransactionResponse
20
+ end
21
+
22
+ Stub = Service.rpc_stub_class
23
+ end
24
+ end