Sha256: cab44a28f1829d03f0ec23f1a32d031190639b0eb5edd645f4620e4e90ca74bb

Contents?: true

Size: 1006 Bytes

Versions: 3

Compression:

Stored size: 1006 Bytes

Contents

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

require 'grpc'
require 'internal_pb'

module Gitaly
  module InternalGitaly
    # InternalGitaly is a gRPC service meant to be served by a Gitaly node, but
    # only reachable by Praefect or other Gitalies
    class Service

      include ::GRPC::GenericService

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

      # WalkRepos walks the storage and streams back all known git repos on the
      # requested storage
      rpc :WalkRepos, ::Gitaly::WalkReposRequest, stream(::Gitaly::WalkReposResponse)
      # BackupRepos triggers a backup for each repository in the stream. This RPC
      # is intended to be used to coordinate backups within the gitaly cluster.
      rpc :BackupRepos, stream(::Gitaly::BackupReposRequest), ::Gitaly::BackupReposResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gitaly-16.1.0.pre.rc3 ruby/proto/gitaly/internal_services_pb.rb
gitaly-16.1.0.pre.rc2 ruby/proto/gitaly/internal_services_pb.rb
gitaly-16.1.0.pre.rc1 ruby/proto/gitaly/internal_services_pb.rb