Sha256: 8d3bc79539325c274389bfc007f95a4af05e3a598f9df6316c2c5f6dac3e15a4

Contents?: true

Size: 1.42 KB

Versions: 7

Compression:

Stored size: 1.42 KB

Contents

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

require 'grpc'
require 'praefect_pb'

module Gitaly
  module PraefectInfoService
    class Service

      include GRPC::GenericService

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

      rpc :RepositoryReplicas, Gitaly::RepositoryReplicasRequest, Gitaly::RepositoryReplicasResponse
      # ConsistencyCheck will perform a consistency check on the requested
      # virtual storage backend. A stream of repository statuses will be sent
      # back indicating which repos are consistent with the primary and which ones
      # need repair.
      rpc :ConsistencyCheck, Gitaly::ConsistencyCheckRequest, stream(Gitaly::ConsistencyCheckResponse)
      # DatalossCheck checks for outdated repository replicas.
      rpc :DatalossCheck, Gitaly::DatalossCheckRequest, Gitaly::DatalossCheckResponse
      # SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage.
      # This causes the current version of the repository on the authoritative storage to be considered the
      # latest and overwrite any other version on the virtual storage.
      rpc :SetAuthoritativeStorage, Gitaly::SetAuthoritativeStorageRequest, Gitaly::SetAuthoritativeStorageResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gitaly-13.7.0.pre.rc1 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.6.1 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.5.0.pre.rc2 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.5.0.pre.rc1 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.4.0.pre.rc1 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.3.0.pre.rc5 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.3.0.pre.rc4 ruby/proto/gitaly/praefect_services_pb.rb