Sha256: 0fc235d2e8a027f8a0c2838ab6dacdada695b44ea5a562c57091a72727709289

Contents?: true

Size: 1.11 KB

Versions: 9

Compression:

Stored size: 1.11 KB

Contents

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

require 'grpc'
require 'ref_pb'

module Gitaly
  module RefService
    class Service

      include GRPC::GenericService

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

      rpc :FindDefaultBranchName, FindDefaultBranchNameRequest, FindDefaultBranchNameResponse
      rpc :FindAllBranchNames, FindAllBranchNamesRequest, stream(FindAllBranchNamesResponse)
      rpc :FindAllTagNames, FindAllTagNamesRequest, stream(FindAllTagNamesResponse)
      # Find a Ref matching the given constraints. Response may be empty.
      rpc :FindRefName, FindRefNameRequest, FindRefNameResponse
      # Return a stream so we can divide the response in chunks of branches
      rpc :FindLocalBranches, FindLocalBranchesRequest, stream(FindLocalBranchesResponse)
      rpc :FindAllBranches, FindAllBranchesRequest, stream(FindAllBranchesResponse)
      rpc :FindAllTags, FindAllTagsRequest, stream(FindAllTagsResponse)
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gitaly-0.28.1 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.28.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.27.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.26.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.25.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.24.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.23.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.22.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.21.0 ruby/lib/gitaly/ref_services_pb.rb