Sha256: 8c916028db1c4059dcbffbfd8f95cb1dda3a396b58550cfcaf901c91fb74c3ce

Contents?: true

Size: 1.21 KB

Versions: 75

Compression:

Stored size: 1.21 KB

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
    # SSHService is a service that provides RPCs required for SSH-based Git clones.
    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 upload-pack' to Gitaly for SSH sessions, via sidechannels
      rpc :SSHUploadPackWithSidechannel, ::Gitaly::SSHUploadPackWithSidechannelRequest, ::Gitaly::SSHUploadPackWithSidechannelResponse
      # 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

75 entries across 75 versions & 1 rubygems

Version Path
gitaly-16.1.8 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.2.11 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.3.9 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.4.7 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.1.7 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.2.10 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.3.8 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.4.6 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.3.7 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.1.6 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.2.9 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.4.5 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.4.4 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.4.3 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.3.6 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.4.2 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.2.8 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.3.5 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.4.1 ruby/proto/gitaly/ssh_services_pb.rb
gitaly-16.4.0 ruby/proto/gitaly/ssh_services_pb.rb