Sha256: 37e91a421260182670fe2d973de4773bfb419508e5491f961fda1280e6016877

Contents?: true

Size: 937 Bytes

Versions: 4

Compression:

Stored size: 937 Bytes

Contents

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

require 'grpc'
require 'ssh_pb'

module Gitaly
  module SSHService
    class Service

      include ::GRPC::GenericService

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

      # To forward 'git upload-pack' to Gitaly for SSH sessions
      rpc :SSHUploadPack, stream(::Gitaly::SSHUploadPackRequest), stream(::Gitaly::SSHUploadPackResponse)
      # To forward 'git receive-pack' to Gitaly for SSH sessions
      rpc :SSHReceivePack, stream(::Gitaly::SSHReceivePackRequest), stream(::Gitaly::SSHReceivePackResponse)
      # To forward 'git upload-archive' to Gitaly for SSH sessions
      rpc :SSHUploadArchive, stream(::Gitaly::SSHUploadArchiveRequest), stream(::Gitaly::SSHUploadArchiveResponse)
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitaly-14.6.0.pre.rc1 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-14.3.0.pre.rc1 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-14.2.0.pre.rc2 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-14.2.0.pre.rc1 ruby/proto/gitaly/ssh_services_pb.rb