Sha256: 4bdb36d9a38eabc2898fdc910cc5943573b58a3442a79888b326be4a745e6f1b

Contents?: true

Size: 696 Bytes

Versions: 46

Compression:

Stored size: 696 Bytes

Contents

# frozen_string_literal: true

module Rdkafka
  class Admin
    class DeleteAclReport

      # deleted acls
      # @return [Rdkafka::Bindings::AclBindingResult]
      attr_reader :deleted_acls

      def initialize(matching_acls:, matching_acls_count:)
        @deleted_acls=[]
        if matching_acls != FFI::Pointer::NULL
          acl_binding_result_pointers  = matching_acls.read_array_of_pointer(matching_acls_count)
          (1..matching_acls_count).map do |matching_acl_index|
            acl_binding_result = AclBindingResult.new(acl_binding_result_pointers[matching_acl_index - 1])
            @deleted_acls << acl_binding_result
          end
        end
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
rdkafka-0.16.1 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.16.1 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.16.0 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.16.0.rc1 lib/rdkafka/admin/delete_acl_report.rb
rdkafka-0.16.0 lib/rdkafka/admin/delete_acl_report.rb
rdkafka-0.16.0.beta1 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.15.0 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.15.0.rc2 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.15.0.rc1 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.15.0.beta3 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.15.0.beta2 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.15.0.beta1 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.15.0.alpha2 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.15.0.alpha1 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.14.10 lib/rdkafka/admin/delete_acl_report.rb
rdkafka-0.15.1 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.14.9 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.14.8 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.14.7 lib/rdkafka/admin/delete_acl_report.rb
karafka-rdkafka-0.14.6 lib/rdkafka/admin/delete_acl_report.rb