Sha256: 0bc3c28eea3694a11857b8d534ce5914754ae586dcae6d51336897d1394cfbba

Contents?: true

Size: 1.28 KB

Versions: 50

Compression:

Stored size: 1.28 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: smarthttp.proto for package 'gitaly'

require 'grpc'
require 'smarthttp_pb'

module Gitaly
  module SmartHTTPService
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'gitaly.SmartHTTPService'

      # The response body for GET /info/refs?service=git-upload-pack
      # Will be invoked when the user executes a `git fetch`, meaning the server
      # will upload the packs to that user. The user doesn't upload new objects.
      rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
      # The response body for GET /info/refs?service=git-receive-pack
      # Will be invoked when the user executes a `git push`, meaning the server
      # will receive new objects in the pack from the user.
      rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
      # Request and response body for POST /upload-pack
      rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse)
      # Request and response body for POST /receive-pack
      rpc :PostReceivePack, stream(PostReceivePackRequest), stream(PostReceivePackResponse)
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
gitaly-13.3.0.pre.rc3 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-13.3.0.pre.rc2 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-13.3.0.pre.rc1 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-13.2.0.pre.rc2 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-13.2.0.pre.rc1 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-13.1.0.pre.rc4 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-13.1.0.pre.rc3 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-13.1.0.pre.rc1 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-13.0.0.pre.rc1 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-12.10.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-12.9.0.pre.rc4 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.87.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.86.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.85.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.84.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.83.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.82.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.81.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.80.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.79.0 ruby/proto/gitaly/smarthttp_services_pb.rb