Sha256: e9d3b119c60c7a0a5b854858e3f71e2a2314b06791809145d08b417ceb90bb32

Contents?: true

Size: 1.1 KB

Versions: 26

Compression:

Stored size: 1.1 KB

Contents

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

require 'grpc'
require 'namespace_pb'

module Gitaly
  module NamespaceService
    # NamespaceService is a service which provides RPCs to manage namespaces of a
    # storage. Namespaces had been used before Gitaly migrated to hashed storages
    # and shouldn't be used nowadays anymore.
    class Service

      include ::GRPC::GenericService

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

      # AddNamespace ...
      rpc :AddNamespace, ::Gitaly::AddNamespaceRequest, ::Gitaly::AddNamespaceResponse
      # RemoveNamespace ...
      rpc :RemoveNamespace, ::Gitaly::RemoveNamespaceRequest, ::Gitaly::RemoveNamespaceResponse
      # RenameNamespace ...
      rpc :RenameNamespace, ::Gitaly::RenameNamespaceRequest, ::Gitaly::RenameNamespaceResponse
      # NamespaceExists ...
      rpc :NamespaceExists, ::Gitaly::NamespaceExistsRequest, ::Gitaly::NamespaceExistsResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
gitaly-16.6.0.pre.rc42 ruby/proto/gitaly/namespace_services_pb.rb
gitaly-16.5.1 ruby/proto/gitaly/namespace_services_pb.rb
gitaly-16.5.0 ruby/proto/gitaly/namespace_services_pb.rb
gitaly-16.5.0.pre.rc43 ruby/proto/gitaly/namespace_services_pb.rb
gitaly-16.5.0.pre.rc42 ruby/proto/gitaly/namespace_services_pb.rb
gitaly-16.5.0.pre.rc1 ruby/proto/gitaly/namespace_services_pb.rb