gitaly-proto-z 0.118.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ruby/.gitignore +10 -0
- data/ruby/LICENSE.txt +21 -0
- data/ruby/README.md +10 -0
- data/ruby/lib/gitaly.rb +37 -0
- data/ruby/lib/gitaly/blob_pb.rb +86 -0
- data/ruby/lib/gitaly/blob_services_pb.rb +29 -0
- data/ruby/lib/gitaly/commit_pb.rb +274 -0
- data/ruby/lib/gitaly/commit_services_pb.rb +45 -0
- data/ruby/lib/gitaly/conflicts_pb.rb +58 -0
- data/ruby/lib/gitaly/conflicts_services_pb.rb +23 -0
- data/ruby/lib/gitaly/deprecated-services_pb.rb +16 -0
- data/ruby/lib/gitaly/deprecated-services_services_pb.rb +120 -0
- data/ruby/lib/gitaly/diff_pb.rb +108 -0
- data/ruby/lib/gitaly/diff_services_pb.rb +29 -0
- data/ruby/lib/gitaly/namespace_pb.rb +44 -0
- data/ruby/lib/gitaly/namespace_services_pb.rb +25 -0
- data/ruby/lib/gitaly/notifications_pb.rb +18 -0
- data/ruby/lib/gitaly/notifications_services_pb.rb +22 -0
- data/ruby/lib/gitaly/operations_pb.rb +216 -0
- data/ruby/lib/gitaly/operations_services_pb.rb +33 -0
- data/ruby/lib/gitaly/ref_pb.rb +211 -0
- data/ruby/lib/gitaly/ref_services_pb.rb +42 -0
- data/ruby/lib/gitaly/remote_pb.rb +65 -0
- data/ruby/lib/gitaly/remote_services_pb.rb +27 -0
- data/ruby/lib/gitaly/repository-service_pb.rb +345 -0
- data/ruby/lib/gitaly/repository-service_services_pb.rb +55 -0
- data/ruby/lib/gitaly/server_pb.rb +25 -0
- data/ruby/lib/gitaly/server_services_pb.rb +22 -0
- data/ruby/lib/gitaly/shared_pb.rb +60 -0
- data/ruby/lib/gitaly/smarthttp_pb.rb +46 -0
- data/ruby/lib/gitaly/smarthttp_services_pb.rb +29 -0
- data/ruby/lib/gitaly/ssh_pb.rb +51 -0
- data/ruby/lib/gitaly/ssh_services_pb.rb +27 -0
- data/ruby/lib/gitaly/storage_pb.rb +26 -0
- data/ruby/lib/gitaly/storage_services_pb.rb +23 -0
- data/ruby/lib/gitaly/version.rb +4 -0
- data/ruby/lib/gitaly/wiki_pb.rb +125 -0
- data/ruby/lib/gitaly/wiki_services_pb.rb +30 -0
- metadata +110 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: commit.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'commit_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module CommitService
|
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.CommitService'
|
16
|
+
|
17
|
+
rpc :CommitIsAncestor, CommitIsAncestorRequest, CommitIsAncestorResponse
|
18
|
+
rpc :TreeEntry, TreeEntryRequest, stream(TreeEntryResponse)
|
19
|
+
rpc :CommitsBetween, CommitsBetweenRequest, stream(CommitsBetweenResponse)
|
20
|
+
rpc :CountCommits, CountCommitsRequest, CountCommitsResponse
|
21
|
+
rpc :GetTreeEntries, GetTreeEntriesRequest, stream(GetTreeEntriesResponse)
|
22
|
+
rpc :ListFiles, ListFilesRequest, stream(ListFilesResponse)
|
23
|
+
rpc :FindCommit, FindCommitRequest, FindCommitResponse
|
24
|
+
rpc :CommitStats, CommitStatsRequest, CommitStatsResponse
|
25
|
+
# Use a stream to paginate the result set
|
26
|
+
rpc :FindAllCommits, FindAllCommitsRequest, stream(FindAllCommitsResponse)
|
27
|
+
rpc :FindCommits, FindCommitsRequest, stream(FindCommitsResponse)
|
28
|
+
rpc :CommitLanguages, CommitLanguagesRequest, CommitLanguagesResponse
|
29
|
+
rpc :RawBlame, RawBlameRequest, stream(RawBlameResponse)
|
30
|
+
rpc :LastCommitForPath, LastCommitForPathRequest, LastCommitForPathResponse
|
31
|
+
rpc :ListLastCommitsForTree, ListLastCommitsForTreeRequest, stream(ListLastCommitsForTreeResponse)
|
32
|
+
rpc :CommitsByMessage, CommitsByMessageRequest, stream(CommitsByMessageResponse)
|
33
|
+
rpc :ListCommitsByOid, ListCommitsByOidRequest, stream(ListCommitsByOidResponse)
|
34
|
+
rpc :FilterShasWithSignatures, stream(FilterShasWithSignaturesRequest), stream(FilterShasWithSignaturesResponse)
|
35
|
+
# ExtractCommitSignature returns a stream because the signed text may be
|
36
|
+
# arbitrarily large and signature verification is impossible without the
|
37
|
+
# full text.
|
38
|
+
rpc :ExtractCommitSignature, ExtractCommitSignatureRequest, stream(ExtractCommitSignatureResponse)
|
39
|
+
rpc :GetCommitSignatures, GetCommitSignaturesRequest, stream(GetCommitSignaturesResponse)
|
40
|
+
rpc :GetCommitMessages, GetCommitMessagesRequest, stream(GetCommitMessagesResponse)
|
41
|
+
end
|
42
|
+
|
43
|
+
Stub = Service.rpc_stub_class
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: conflicts.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.ListConflictFilesRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
optional :our_commit_oid, :string, 2
|
11
|
+
optional :their_commit_oid, :string, 3
|
12
|
+
end
|
13
|
+
add_message "gitaly.ConflictFileHeader" do
|
14
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
15
|
+
optional :commit_oid, :string, 2
|
16
|
+
optional :their_path, :bytes, 3
|
17
|
+
optional :our_path, :bytes, 4
|
18
|
+
optional :our_mode, :int32, 5
|
19
|
+
end
|
20
|
+
add_message "gitaly.ConflictFile" do
|
21
|
+
oneof :conflict_file_payload do
|
22
|
+
optional :header, :message, 1, "gitaly.ConflictFileHeader"
|
23
|
+
optional :content, :bytes, 2
|
24
|
+
end
|
25
|
+
end
|
26
|
+
add_message "gitaly.ListConflictFilesResponse" do
|
27
|
+
repeated :files, :message, 1, "gitaly.ConflictFile"
|
28
|
+
end
|
29
|
+
add_message "gitaly.ResolveConflictsRequestHeader" do
|
30
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
31
|
+
optional :our_commit_oid, :string, 2
|
32
|
+
optional :target_repository, :message, 3, "gitaly.Repository"
|
33
|
+
optional :their_commit_oid, :string, 4
|
34
|
+
optional :source_branch, :bytes, 5
|
35
|
+
optional :target_branch, :bytes, 6
|
36
|
+
optional :commit_message, :bytes, 7
|
37
|
+
optional :user, :message, 8, "gitaly.User"
|
38
|
+
end
|
39
|
+
add_message "gitaly.ResolveConflictsRequest" do
|
40
|
+
oneof :resolve_conflicts_request_payload do
|
41
|
+
optional :header, :message, 1, "gitaly.ResolveConflictsRequestHeader"
|
42
|
+
optional :files_json, :bytes, 2
|
43
|
+
end
|
44
|
+
end
|
45
|
+
add_message "gitaly.ResolveConflictsResponse" do
|
46
|
+
optional :resolution_error, :string, 1
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
module Gitaly
|
51
|
+
ListConflictFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesRequest").msgclass
|
52
|
+
ConflictFileHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFileHeader").msgclass
|
53
|
+
ConflictFile = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFile").msgclass
|
54
|
+
ListConflictFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesResponse").msgclass
|
55
|
+
ResolveConflictsRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequestHeader").msgclass
|
56
|
+
ResolveConflictsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequest").msgclass
|
57
|
+
ResolveConflictsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsResponse").msgclass
|
58
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: conflicts.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'conflicts_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module ConflictsService
|
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.ConflictsService'
|
16
|
+
|
17
|
+
rpc :ListConflictFiles, ListConflictFilesRequest, stream(ListConflictFilesResponse)
|
18
|
+
rpc :ResolveConflicts, stream(ResolveConflictsRequest), ResolveConflictsResponse
|
19
|
+
end
|
20
|
+
|
21
|
+
Stub = Service.rpc_stub_class
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: deprecated-services.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'commit_pb'
|
7
|
+
require 'diff_pb'
|
8
|
+
require 'notifications_pb'
|
9
|
+
require 'ref_pb'
|
10
|
+
require 'smarthttp_pb'
|
11
|
+
require 'ssh_pb'
|
12
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
|
+
end
|
14
|
+
|
15
|
+
module Gitaly
|
16
|
+
end
|
@@ -0,0 +1,120 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: deprecated-services.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'deprecated-services_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module Commit
|
9
|
+
# TODO: remove all these legacy RPC interfaces when client references to them are removed.
|
10
|
+
#
|
11
|
+
# Deprecated
|
12
|
+
class Service
|
13
|
+
|
14
|
+
include GRPC::GenericService
|
15
|
+
|
16
|
+
self.marshal_class_method = :encode
|
17
|
+
self.unmarshal_class_method = :decode
|
18
|
+
self.service_name = 'gitaly.Commit'
|
19
|
+
|
20
|
+
rpc :CommitIsAncestor, CommitIsAncestorRequest, CommitIsAncestorResponse
|
21
|
+
rpc :TreeEntry, TreeEntryRequest, stream(TreeEntryResponse)
|
22
|
+
end
|
23
|
+
|
24
|
+
Stub = Service.rpc_stub_class
|
25
|
+
end
|
26
|
+
module Diff
|
27
|
+
# Deprecated
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'gitaly.Diff'
|
35
|
+
|
36
|
+
# Returns stream of CommitDiffResponse with patches chunked over messages
|
37
|
+
rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
|
38
|
+
# Return a stream so we can divide the response in chunks of deltas
|
39
|
+
rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse)
|
40
|
+
end
|
41
|
+
|
42
|
+
Stub = Service.rpc_stub_class
|
43
|
+
end
|
44
|
+
module Notifications
|
45
|
+
# Deprecated
|
46
|
+
class Service
|
47
|
+
|
48
|
+
include GRPC::GenericService
|
49
|
+
|
50
|
+
self.marshal_class_method = :encode
|
51
|
+
self.unmarshal_class_method = :decode
|
52
|
+
self.service_name = 'gitaly.Notifications'
|
53
|
+
|
54
|
+
rpc :PostReceive, PostReceiveRequest, PostReceiveResponse
|
55
|
+
end
|
56
|
+
|
57
|
+
Stub = Service.rpc_stub_class
|
58
|
+
end
|
59
|
+
module Ref
|
60
|
+
# Deprecated
|
61
|
+
class Service
|
62
|
+
|
63
|
+
include GRPC::GenericService
|
64
|
+
|
65
|
+
self.marshal_class_method = :encode
|
66
|
+
self.unmarshal_class_method = :decode
|
67
|
+
self.service_name = 'gitaly.Ref'
|
68
|
+
|
69
|
+
rpc :FindDefaultBranchName, FindDefaultBranchNameRequest, FindDefaultBranchNameResponse
|
70
|
+
rpc :FindAllBranchNames, FindAllBranchNamesRequest, stream(FindAllBranchNamesResponse)
|
71
|
+
rpc :FindAllTagNames, FindAllTagNamesRequest, stream(FindAllTagNamesResponse)
|
72
|
+
# Find a Ref matching the given constraints. Response may be empty.
|
73
|
+
rpc :FindRefName, FindRefNameRequest, FindRefNameResponse
|
74
|
+
# Return a stream so we can divide the response in chunks of branches
|
75
|
+
rpc :FindLocalBranches, FindLocalBranchesRequest, stream(FindLocalBranchesResponse)
|
76
|
+
end
|
77
|
+
|
78
|
+
Stub = Service.rpc_stub_class
|
79
|
+
end
|
80
|
+
module SmartHTTP
|
81
|
+
# DEPRECATED
|
82
|
+
class Service
|
83
|
+
|
84
|
+
include GRPC::GenericService
|
85
|
+
|
86
|
+
self.marshal_class_method = :encode
|
87
|
+
self.unmarshal_class_method = :decode
|
88
|
+
self.service_name = 'gitaly.SmartHTTP'
|
89
|
+
|
90
|
+
# The response body for GET /info/refs?service=git-upload-pack
|
91
|
+
rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
|
92
|
+
# The response body for GET /info/refs?service=git-receive-pack
|
93
|
+
rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
|
94
|
+
# Request and response body for POST /upload-pack
|
95
|
+
rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse)
|
96
|
+
# Request and response body for POST /receive-pack
|
97
|
+
rpc :PostReceivePack, stream(PostReceivePackRequest), stream(PostReceivePackResponse)
|
98
|
+
end
|
99
|
+
|
100
|
+
Stub = Service.rpc_stub_class
|
101
|
+
end
|
102
|
+
module SSH
|
103
|
+
# DEPRECATED
|
104
|
+
class Service
|
105
|
+
|
106
|
+
include GRPC::GenericService
|
107
|
+
|
108
|
+
self.marshal_class_method = :encode
|
109
|
+
self.unmarshal_class_method = :decode
|
110
|
+
self.service_name = 'gitaly.SSH'
|
111
|
+
|
112
|
+
# To forward 'git upload-pack' to Gitaly for SSH sessions
|
113
|
+
rpc :SSHUploadPack, stream(SSHUploadPackRequest), stream(SSHUploadPackResponse)
|
114
|
+
# To forward 'git receive-pack' to Gitaly for SSH sessions
|
115
|
+
rpc :SSHReceivePack, stream(SSHReceivePackRequest), stream(SSHReceivePackResponse)
|
116
|
+
end
|
117
|
+
|
118
|
+
Stub = Service.rpc_stub_class
|
119
|
+
end
|
120
|
+
end
|
@@ -0,0 +1,108 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: diff.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "gitaly.CommitDiffRequest" do
|
9
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
+
optional :left_commit_id, :string, 2
|
11
|
+
optional :right_commit_id, :string, 3
|
12
|
+
optional :ignore_whitespace_change, :bool, 4
|
13
|
+
repeated :paths, :bytes, 5
|
14
|
+
optional :collapse_diffs, :bool, 6
|
15
|
+
optional :enforce_limits, :bool, 7
|
16
|
+
optional :max_files, :int32, 8
|
17
|
+
optional :max_lines, :int32, 9
|
18
|
+
optional :max_bytes, :int32, 10
|
19
|
+
optional :safe_max_files, :int32, 11
|
20
|
+
optional :safe_max_lines, :int32, 12
|
21
|
+
optional :safe_max_bytes, :int32, 13
|
22
|
+
optional :max_patch_bytes, :int32, 14
|
23
|
+
end
|
24
|
+
add_message "gitaly.CommitDiffResponse" do
|
25
|
+
optional :from_path, :bytes, 1
|
26
|
+
optional :to_path, :bytes, 2
|
27
|
+
optional :from_id, :string, 3
|
28
|
+
optional :to_id, :string, 4
|
29
|
+
optional :old_mode, :int32, 5
|
30
|
+
optional :new_mode, :int32, 6
|
31
|
+
optional :binary, :bool, 7
|
32
|
+
optional :raw_patch_data, :bytes, 9
|
33
|
+
optional :end_of_patch, :bool, 10
|
34
|
+
optional :overflow_marker, :bool, 11
|
35
|
+
optional :collapsed, :bool, 12
|
36
|
+
optional :too_large, :bool, 13
|
37
|
+
end
|
38
|
+
add_message "gitaly.CommitDeltaRequest" do
|
39
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
40
|
+
optional :left_commit_id, :string, 2
|
41
|
+
optional :right_commit_id, :string, 3
|
42
|
+
repeated :paths, :bytes, 4
|
43
|
+
end
|
44
|
+
add_message "gitaly.CommitDelta" do
|
45
|
+
optional :from_path, :bytes, 1
|
46
|
+
optional :to_path, :bytes, 2
|
47
|
+
optional :from_id, :string, 3
|
48
|
+
optional :to_id, :string, 4
|
49
|
+
optional :old_mode, :int32, 5
|
50
|
+
optional :new_mode, :int32, 6
|
51
|
+
end
|
52
|
+
add_message "gitaly.CommitDeltaResponse" do
|
53
|
+
repeated :deltas, :message, 1, "gitaly.CommitDelta"
|
54
|
+
end
|
55
|
+
add_message "gitaly.CommitPatchRequest" do
|
56
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
57
|
+
optional :revision, :bytes, 2
|
58
|
+
end
|
59
|
+
add_message "gitaly.CommitPatchResponse" do
|
60
|
+
optional :data, :bytes, 1
|
61
|
+
end
|
62
|
+
add_message "gitaly.RawDiffRequest" do
|
63
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
64
|
+
optional :left_commit_id, :string, 2
|
65
|
+
optional :right_commit_id, :string, 3
|
66
|
+
end
|
67
|
+
add_message "gitaly.RawDiffResponse" do
|
68
|
+
optional :data, :bytes, 1
|
69
|
+
end
|
70
|
+
add_message "gitaly.RawPatchRequest" do
|
71
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
72
|
+
optional :left_commit_id, :string, 2
|
73
|
+
optional :right_commit_id, :string, 3
|
74
|
+
end
|
75
|
+
add_message "gitaly.RawPatchResponse" do
|
76
|
+
optional :data, :bytes, 1
|
77
|
+
end
|
78
|
+
add_message "gitaly.DiffStatsRequest" do
|
79
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
80
|
+
optional :left_commit_id, :string, 2
|
81
|
+
optional :right_commit_id, :string, 3
|
82
|
+
end
|
83
|
+
add_message "gitaly.DiffStats" do
|
84
|
+
optional :path, :bytes, 1
|
85
|
+
optional :additions, :int32, 2
|
86
|
+
optional :deletions, :int32, 3
|
87
|
+
end
|
88
|
+
add_message "gitaly.DiffStatsResponse" do
|
89
|
+
repeated :stats, :message, 1, "gitaly.DiffStats"
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
module Gitaly
|
94
|
+
CommitDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
|
95
|
+
CommitDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
|
96
|
+
CommitDeltaRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass
|
97
|
+
CommitDelta = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass
|
98
|
+
CommitDeltaResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaResponse").msgclass
|
99
|
+
CommitPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitPatchRequest").msgclass
|
100
|
+
CommitPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitPatchResponse").msgclass
|
101
|
+
RawDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffRequest").msgclass
|
102
|
+
RawDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffResponse").msgclass
|
103
|
+
RawPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchRequest").msgclass
|
104
|
+
RawPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchResponse").msgclass
|
105
|
+
DiffStatsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsRequest").msgclass
|
106
|
+
DiffStats = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStats").msgclass
|
107
|
+
DiffStatsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsResponse").msgclass
|
108
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: diff.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'diff_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module DiffService
|
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.DiffService'
|
16
|
+
|
17
|
+
# Returns stream of CommitDiffResponse with patches chunked over messages
|
18
|
+
rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
|
19
|
+
# Return a stream so we can divide the response in chunks of deltas
|
20
|
+
rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse)
|
21
|
+
rpc :CommitPatch, CommitPatchRequest, stream(CommitPatchResponse)
|
22
|
+
rpc :RawDiff, RawDiffRequest, stream(RawDiffResponse)
|
23
|
+
rpc :RawPatch, RawPatchRequest, stream(RawPatchResponse)
|
24
|
+
rpc :DiffStats, DiffStatsRequest, stream(DiffStatsResponse)
|
25
|
+
end
|
26
|
+
|
27
|
+
Stub = Service.rpc_stub_class
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: namespace.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "gitaly.AddNamespaceRequest" do
|
8
|
+
optional :storage_name, :string, 1
|
9
|
+
optional :name, :string, 2
|
10
|
+
end
|
11
|
+
add_message "gitaly.RemoveNamespaceRequest" do
|
12
|
+
optional :storage_name, :string, 1
|
13
|
+
optional :name, :string, 2
|
14
|
+
end
|
15
|
+
add_message "gitaly.RenameNamespaceRequest" do
|
16
|
+
optional :storage_name, :string, 1
|
17
|
+
optional :from, :string, 2
|
18
|
+
optional :to, :string, 3
|
19
|
+
end
|
20
|
+
add_message "gitaly.NamespaceExistsRequest" do
|
21
|
+
optional :storage_name, :string, 1
|
22
|
+
optional :name, :string, 2
|
23
|
+
end
|
24
|
+
add_message "gitaly.NamespaceExistsResponse" do
|
25
|
+
optional :exists, :bool, 1
|
26
|
+
end
|
27
|
+
add_message "gitaly.AddNamespaceResponse" do
|
28
|
+
end
|
29
|
+
add_message "gitaly.RemoveNamespaceResponse" do
|
30
|
+
end
|
31
|
+
add_message "gitaly.RenameNamespaceResponse" do
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
module Gitaly
|
36
|
+
AddNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceRequest").msgclass
|
37
|
+
RemoveNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceRequest").msgclass
|
38
|
+
RenameNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceRequest").msgclass
|
39
|
+
NamespaceExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsRequest").msgclass
|
40
|
+
NamespaceExistsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsResponse").msgclass
|
41
|
+
AddNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceResponse").msgclass
|
42
|
+
RemoveNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceResponse").msgclass
|
43
|
+
RenameNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceResponse").msgclass
|
44
|
+
end
|