Sha256: bc84ddba0d4742cff7d3a60cd1b9237be0be59980db4b599fa74dbc0e70ac135
Contents?: true
Size: 732 Bytes
Versions: 15
Compression:
Stored size: 732 Bytes
Contents
# frozen_string_literal: true module Rdkafka class Admin class DescribeAclReport # acls that exists in the cluster for the resource_type, resource_name and pattern_type filters provided in the request. # @return [Rdkafka::Bindings::AclBindingResult] array of matching acls. attr_reader :acls def initialize(acls:, acls_count:) @acls=[] if acls != FFI::Pointer::NULL acl_binding_result_pointers = acls.read_array_of_pointer(acls_count) (1..acls_count).map do |acl_index| acl_binding_result = AclBindingResult.new(acl_binding_result_pointers[acl_index - 1]) @acls << acl_binding_result end end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems