Sha256: 6698bb5d8520d6ae6bfe3df05d5429f2dd677110e35f8da6ab16f2ff8f7f63d8

Contents?: true

Size: 1.1 KB

Versions: 7

Compression:

Stored size: 1.1 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 is meant to be called by git-upload-pack via the
      # uploadpack.packObjectsHook mechanism. It generates a stream of packed
      # Git objects.
      rpc :PackObjectsHook, stream(Gitaly::PackObjectsHookRequest), stream(Gitaly::PackObjectsHookResponse)
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gitaly-14.1.0.pre.rc4 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.1.0.pre.rc3 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.1.0.pre.rc2 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.1.0.pre.rc1 ruby/proto/gitaly/hook_services_pb.rb
gitaly-14.0.0.pre.rc2 ruby/proto/gitaly/hook_services_pb.rb
gitaly-13.12.0.pre.rc1 ruby/proto/gitaly/hook_services_pb.rb
gitaly-13.11.0.pre.rc1 ruby/proto/gitaly/hook_services_pb.rb