build_acl_list

Function build_acl_list 

Source
pub fn build_acl_list(entries: &[String]) -> Result<String, AclError>
Expand description

Validate each entry in entries and return the ; -joined payload that goes between the { } of an allow-query / allow-transfer block.

ยงErrors

Returns AclError on the first invalid entry; the index is encoded in the message via the entry itself so operators can fix the offending CRD.