gitaly 0.30.0 → 1.58.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ruby/proto/README.md +5 -0
- data/ruby/proto/gitaly.rb +37 -0
- data/ruby/proto/gitaly/blob_pb.rb +86 -0
- data/ruby/{lib → proto}/gitaly/blob_services_pb.rb +4 -0
- data/ruby/proto/gitaly/cleanup_pb.rb +41 -0
- data/ruby/proto/gitaly/cleanup_services_pb.rb +25 -0
- data/ruby/{lib → proto}/gitaly/commit_pb.rb +92 -0
- data/ruby/{lib → proto}/gitaly/commit_services_pb.rb +11 -0
- data/ruby/proto/gitaly/conflicts_pb.rb +58 -0
- data/ruby/proto/gitaly/conflicts_services_pb.rb +23 -0
- data/ruby/{lib → proto}/gitaly/diff_pb.rb +38 -0
- data/ruby/{lib → proto}/gitaly/diff_services_pb.rb +3 -0
- data/ruby/proto/gitaly/namespace_pb.rb +45 -0
- data/ruby/proto/gitaly/namespace_services_pb.rb +25 -0
- data/ruby/proto/gitaly/objectpool_pb.rb +65 -0
- data/ruby/proto/gitaly/objectpool_services_pb.rb +29 -0
- data/ruby/proto/gitaly/operations_pb.rb +292 -0
- data/ruby/proto/gitaly/operations_services_pb.rb +37 -0
- data/ruby/proto/gitaly/ref_pb.rb +219 -0
- data/ruby/{lib → proto}/gitaly/ref_services_pb.rb +12 -0
- data/ruby/proto/gitaly/remote_pb.rb +81 -0
- data/ruby/proto/gitaly/remote_services_pb.rb +28 -0
- data/ruby/proto/gitaly/repository-service_pb.rb +401 -0
- data/ruby/proto/gitaly/repository-service_services_pb.rb +60 -0
- data/ruby/proto/gitaly/server_pb.rb +28 -0
- data/ruby/{lib/gitaly/notifications_services_pb.rb → proto/gitaly/server_services_pb.rb} +5 -5
- data/ruby/proto/gitaly/shared_pb.rb +91 -0
- data/ruby/{lib → proto}/gitaly/smarthttp_pb.rb +7 -0
- data/ruby/{lib → proto}/gitaly/smarthttp_services_pb.rb +4 -0
- data/ruby/{lib → proto}/gitaly/ssh_pb.rb +15 -0
- data/ruby/{lib → proto}/gitaly/ssh_services_pb.rb +2 -0
- data/ruby/proto/gitaly/storage_pb.rb +27 -0
- data/ruby/proto/gitaly/storage_services_pb.rb +23 -0
- data/ruby/proto/gitaly/version.rb +4 -0
- data/ruby/proto/gitaly/wiki_pb.rb +149 -0
- data/ruby/proto/gitaly/wiki_services_pb.rb +31 -0
- metadata +41 -73
- data/ruby/.gitignore +0 -10
- data/ruby/Gemfile +0 -4
- data/ruby/LICENSE.txt +0 -21
- data/ruby/README.md +0 -41
- data/ruby/lib/gitaly.rb +0 -23
- data/ruby/lib/gitaly/blob_pb.rb +0 -23
- data/ruby/lib/gitaly/deprecated-services_pb.rb +0 -16
- data/ruby/lib/gitaly/deprecated-services_services_pb.rb +0 -120
- data/ruby/lib/gitaly/notifications_pb.rb +0 -18
- data/ruby/lib/gitaly/ref_pb.rb +0 -112
- data/ruby/lib/gitaly/repository-service_pb.rb +0 -71
- data/ruby/lib/gitaly/repository-service_services_pb.rb +0 -30
- data/ruby/lib/gitaly/shared_pb.rb +0 -37
- data/ruby/lib/gitaly/version.rb +0 -4
@@ -0,0 +1,31 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: wiki.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'wiki_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module WikiService
|
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.WikiService'
|
16
|
+
|
17
|
+
rpc :WikiGetPageVersions, WikiGetPageVersionsRequest, stream(WikiGetPageVersionsResponse)
|
18
|
+
rpc :WikiWritePage, stream(WikiWritePageRequest), WikiWritePageResponse
|
19
|
+
rpc :WikiUpdatePage, stream(WikiUpdatePageRequest), WikiUpdatePageResponse
|
20
|
+
rpc :WikiDeletePage, WikiDeletePageRequest, WikiDeletePageResponse
|
21
|
+
# WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large.
|
22
|
+
rpc :WikiFindPage, WikiFindPageRequest, stream(WikiFindPageResponse)
|
23
|
+
rpc :WikiFindFile, WikiFindFileRequest, stream(WikiFindFileResponse)
|
24
|
+
rpc :WikiGetAllPages, WikiGetAllPagesRequest, stream(WikiGetAllPagesResponse)
|
25
|
+
rpc :WikiListPages, WikiListPagesRequest, stream(WikiListPagesResponse)
|
26
|
+
rpc :WikiGetFormattedData, WikiGetFormattedDataRequest, stream(WikiGetFormattedDataResponse)
|
27
|
+
end
|
28
|
+
|
29
|
+
Stub = Service.rpc_stub_class
|
30
|
+
end
|
31
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitaly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.58.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: google-protobuf
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.1'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '3.1'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: grpc
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,34 +24,6 @@ dependencies:
|
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: '1.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.12'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.12'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '10.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '10.0'
|
69
27
|
description: Auto-generated gRPC client for gitaly.
|
70
28
|
email:
|
71
29
|
- jacob@gitlab.com
|
@@ -73,39 +31,50 @@ executables: []
|
|
73
31
|
extensions: []
|
74
32
|
extra_rdoc_files: []
|
75
33
|
files:
|
76
|
-
- ruby
|
77
|
-
- ruby/
|
78
|
-
- ruby/
|
79
|
-
- ruby/
|
80
|
-
- ruby/
|
81
|
-
- ruby/
|
82
|
-
- ruby/
|
83
|
-
- ruby/
|
84
|
-
- ruby/
|
85
|
-
- ruby/
|
86
|
-
- ruby/
|
87
|
-
- ruby/
|
88
|
-
- ruby/
|
89
|
-
- ruby/
|
90
|
-
- ruby/
|
91
|
-
- ruby/
|
92
|
-
- ruby/
|
93
|
-
- ruby/
|
94
|
-
- ruby/
|
95
|
-
- ruby/
|
96
|
-
- ruby/
|
97
|
-
- ruby/
|
98
|
-
- ruby/
|
99
|
-
- ruby/
|
100
|
-
- ruby/
|
101
|
-
|
34
|
+
- ruby/proto/README.md
|
35
|
+
- ruby/proto/gitaly.rb
|
36
|
+
- ruby/proto/gitaly/blob_pb.rb
|
37
|
+
- ruby/proto/gitaly/blob_services_pb.rb
|
38
|
+
- ruby/proto/gitaly/cleanup_pb.rb
|
39
|
+
- ruby/proto/gitaly/cleanup_services_pb.rb
|
40
|
+
- ruby/proto/gitaly/commit_pb.rb
|
41
|
+
- ruby/proto/gitaly/commit_services_pb.rb
|
42
|
+
- ruby/proto/gitaly/conflicts_pb.rb
|
43
|
+
- ruby/proto/gitaly/conflicts_services_pb.rb
|
44
|
+
- ruby/proto/gitaly/diff_pb.rb
|
45
|
+
- ruby/proto/gitaly/diff_services_pb.rb
|
46
|
+
- ruby/proto/gitaly/namespace_pb.rb
|
47
|
+
- ruby/proto/gitaly/namespace_services_pb.rb
|
48
|
+
- ruby/proto/gitaly/objectpool_pb.rb
|
49
|
+
- ruby/proto/gitaly/objectpool_services_pb.rb
|
50
|
+
- ruby/proto/gitaly/operations_pb.rb
|
51
|
+
- ruby/proto/gitaly/operations_services_pb.rb
|
52
|
+
- ruby/proto/gitaly/ref_pb.rb
|
53
|
+
- ruby/proto/gitaly/ref_services_pb.rb
|
54
|
+
- ruby/proto/gitaly/remote_pb.rb
|
55
|
+
- ruby/proto/gitaly/remote_services_pb.rb
|
56
|
+
- ruby/proto/gitaly/repository-service_pb.rb
|
57
|
+
- ruby/proto/gitaly/repository-service_services_pb.rb
|
58
|
+
- ruby/proto/gitaly/server_pb.rb
|
59
|
+
- ruby/proto/gitaly/server_services_pb.rb
|
60
|
+
- ruby/proto/gitaly/shared_pb.rb
|
61
|
+
- ruby/proto/gitaly/smarthttp_pb.rb
|
62
|
+
- ruby/proto/gitaly/smarthttp_services_pb.rb
|
63
|
+
- ruby/proto/gitaly/ssh_pb.rb
|
64
|
+
- ruby/proto/gitaly/ssh_services_pb.rb
|
65
|
+
- ruby/proto/gitaly/storage_pb.rb
|
66
|
+
- ruby/proto/gitaly/storage_services_pb.rb
|
67
|
+
- ruby/proto/gitaly/version.rb
|
68
|
+
- ruby/proto/gitaly/wiki_pb.rb
|
69
|
+
- ruby/proto/gitaly/wiki_services_pb.rb
|
70
|
+
homepage: https://gitlab.com/gitlab-org/gitaly
|
102
71
|
licenses:
|
103
72
|
- MIT
|
104
73
|
metadata: {}
|
105
74
|
post_install_message:
|
106
75
|
rdoc_options: []
|
107
76
|
require_paths:
|
108
|
-
- ruby/
|
77
|
+
- ruby/proto
|
109
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
79
|
requirements:
|
111
80
|
- - ">="
|
@@ -117,8 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
86
|
- !ruby/object:Gem::Version
|
118
87
|
version: '0'
|
119
88
|
requirements: []
|
120
|
-
|
121
|
-
rubygems_version: 2.6.10
|
89
|
+
rubygems_version: 3.0.3
|
122
90
|
signing_key:
|
123
91
|
specification_version: 4
|
124
92
|
summary: Auto-generated gRPC client for gitaly
|
data/ruby/.gitignore
DELETED
data/ruby/Gemfile
DELETED
data/ruby/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2017 GitLab Inc.
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/ruby/README.md
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# TODO: replace auto-generated README
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/gitaly`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'gitaly'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install gitaly
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gitaly.
|
36
|
-
|
37
|
-
|
38
|
-
## License
|
39
|
-
|
40
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
data/ruby/lib/gitaly.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# This file is generated by generate-from-proto. Do not edit.
|
2
|
-
$:.unshift(File.expand_path('../gitaly', __FILE__))
|
3
|
-
|
4
|
-
require 'gitaly/version'
|
5
|
-
|
6
|
-
require 'gitaly/blob_services_pb'
|
7
|
-
|
8
|
-
require 'gitaly/commit_services_pb'
|
9
|
-
|
10
|
-
require 'gitaly/deprecated-services_services_pb'
|
11
|
-
|
12
|
-
require 'gitaly/diff_services_pb'
|
13
|
-
|
14
|
-
require 'gitaly/notifications_services_pb'
|
15
|
-
|
16
|
-
require 'gitaly/ref_services_pb'
|
17
|
-
|
18
|
-
require 'gitaly/repository-service_services_pb'
|
19
|
-
|
20
|
-
require 'gitaly/smarthttp_services_pb'
|
21
|
-
|
22
|
-
require 'gitaly/ssh_services_pb'
|
23
|
-
|
data/ruby/lib/gitaly/blob_pb.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: blob.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'shared_pb'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_message "gitaly.GetBlobRequest" do
|
9
|
-
optional :repository, :message, 1, "gitaly.Repository"
|
10
|
-
optional :oid, :string, 2
|
11
|
-
optional :limit, :int64, 3
|
12
|
-
end
|
13
|
-
add_message "gitaly.GetBlobResponse" do
|
14
|
-
optional :size, :int64, 1
|
15
|
-
optional :data, :bytes, 2
|
16
|
-
optional :oid, :string, 3
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
module Gitaly
|
21
|
-
GetBlobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobRequest").msgclass
|
22
|
-
GetBlobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobResponse").msgclass
|
23
|
-
end
|
@@ -1,16 +0,0 @@
|
|
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
|
@@ -1,120 +0,0 @@
|
|
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
|