Sha256: a6199b68ed41ca0088ec927c2bdf2c665a7ee60eaaf490e7732f4512be595155

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 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)
      rpc :RefExists, RefExistsRequest, RefExistsResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
gitaly-z-0.30.1 ruby/lib/gitaly/ref_services_pb.rb
gitaly-flamingo-0.30.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-proto-0.31.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-proto-0.30.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.30.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.29.0 ruby/lib/gitaly/ref_services_pb.rb