Sha256: 3da428a88b2a37fae81163642f32d24c853caaf547985ed4b7ecbc7c3f16a765

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 KB

Contents

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

require 'grpc'
require 'cleanup_pb'

module Gitaly
  module CleanupService
    # CleanupService provides RPCs to clean up a repository's contents.
    class Service

      include ::GRPC::GenericService

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

      # ApplyBfgObjectMapStream ...
      rpc :ApplyBfgObjectMapStream, stream(::Gitaly::ApplyBfgObjectMapStreamRequest), stream(::Gitaly::ApplyBfgObjectMapStreamResponse)
      # RewriteHistory redacts targeted strings and deletes requested blobs in a
      # repository and updates all references to point to the rewritten commit
      # history. This is useful for removing inadvertently pushed secrets from your
      # repository and purging large blobs. This is a dangerous operation.
      #
      # The following known error conditions may happen:
      #
      # - `InvalidArgument` in the following situations:
      #    - The provided repository can't be validated.
      #    - The repository field is set on any request other than the initial one.
      #    - Any request, including the initial one, does not contain either blobs to
      #      remove or redaction patterns to redact.
      #    - A blob object ID is invalid.
      #    - A redaction pattern contains a newline character.
      rpc :RewriteHistory, stream(::Gitaly::RewriteHistoryRequest), ::Gitaly::RewriteHistoryResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gitaly-16.9.0.pre.rc2 ruby/proto/gitaly/cleanup_services_pb.rb
gitaly-16.9.0.pre.rc1 ruby/proto/gitaly/cleanup_services_pb.rb