Class: Rdkafka::Admin::DescribeAclReport
- Inherits:
-
Object
- Object
- Rdkafka::Admin::DescribeAclReport
- Defined in:
- lib/rdkafka/admin/describe_acl_report.rb
Instance Attribute Summary collapse
-
#acls ⇒ Rdkafka::Bindings::AclBindingResult
readonly
acls that exists in the cluster for the resource_type, resource_name and pattern_type filters provided in the request.
Instance Method Summary collapse
-
#initialize(acls:, acls_count:) ⇒ DescribeAclReport
constructor
A new instance of DescribeAclReport.
Constructor Details
#initialize(acls:, acls_count:) ⇒ DescribeAclReport
Returns a new instance of DescribeAclReport.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/rdkafka/admin/describe_acl_report.rb', line 11 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 |
Instance Attribute Details
#acls ⇒ Rdkafka::Bindings::AclBindingResult (readonly)
acls that exists in the cluster for the resource_type, resource_name and pattern_type filters provided in the request.
9 10 11 |
# File 'lib/rdkafka/admin/describe_acl_report.rb', line 9 def acls @acls end |