Sha256: 2ab34d138a3fbd95b1892d40680dfa879921ead6c9fd505a3b5a022b0351f363

Contents?: true

Size: 1.73 KB

Versions: 6

Compression:

Stored size: 1.73 KB

Contents

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

require 'grpc'
require 'remote_pb'

module Gitaly
  module RemoteService
    class Service

      include GRPC::GenericService

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

      rpc :AddRemote, Gitaly::AddRemoteRequest, Gitaly::AddRemoteResponse
      rpc :FetchInternalRemote, Gitaly::FetchInternalRemoteRequest, Gitaly::FetchInternalRemoteResponse
      rpc :RemoveRemote, Gitaly::RemoveRemoteRequest, Gitaly::RemoveRemoteResponse
      # UpdateRemoteMirror compares the references in the target repository and its remote mirror
      # repository. Any differences in the references are then addressed by pushing the differing
      # references to the mirror. Created and modified references are updated, removed references are
      # deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match
      # the patterns specified in the requests.
      rpc :UpdateRemoteMirror, stream(Gitaly::UpdateRemoteMirrorRequest), Gitaly::UpdateRemoteMirrorResponse
      rpc :FindRemoteRepository, Gitaly::FindRemoteRepositoryRequest, Gitaly::FindRemoteRepositoryResponse
      # FindRemoteRootRef tries to find the root reference of a remote
      # repository. The root reference is the default branch as pointed to by
      # the remotes HEAD reference. Returns an InvalidArgument error if the
      # specified remote does not exist and a NotFound error in case no HEAD
      # branch was found.
      rpc :FindRemoteRootRef, Gitaly::FindRemoteRootRefRequest, Gitaly::FindRemoteRootRefResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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