Sha256: a8eb6fc622ffce8787052c62f5dd6ae5401dec2378747d164a21e7f087f16340

Contents?: true

Size: 1.31 KB

Versions: 9

Compression:

Stored size: 1.31 KB

Contents

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

require 'grpc'
require 'hook_pb'

module Gitaly
  module HookService
    class Service

      include ::GRPC::GenericService

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

      rpc :PreReceiveHook, stream(::Gitaly::PreReceiveHookRequest), stream(::Gitaly::PreReceiveHookResponse)
      rpc :PostReceiveHook, stream(::Gitaly::PostReceiveHookRequest), stream(::Gitaly::PostReceiveHookResponse)
      rpc :UpdateHook, ::Gitaly::UpdateHookRequest, stream(::Gitaly::UpdateHookResponse)
      rpc :ReferenceTransactionHook, stream(::Gitaly::ReferenceTransactionHookRequest), stream(::Gitaly::ReferenceTransactionHookResponse)
      # PackObjectsHook has been replaced by PackObjectsHookWithSidechannel. Remove in 15.0.
      rpc :PackObjectsHook, stream(::Gitaly::PackObjectsHookRequest), stream(::Gitaly::PackObjectsHookResponse)
      # PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
      # a unix socket side channel.
      rpc :PackObjectsHookWithSidechannel, ::Gitaly::PackObjectsHookWithSidechannelRequest, ::Gitaly::PackObjectsHookWithSidechannelResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gitaly-14.10.0.pre.rc1 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.9.0.pre.rc5 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.9.0.pre.rc4 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.9.0.pre.rc3 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.9.0.pre.rc2 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.9.0.pre.rc1 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.8.0 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.8.0.pre.rc1 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.6.0.pre.rc1 ruby/proto/gitaly/hook_services_pb.rb