IsAclPredicate returns true if the predicate is in the list of reserved predicates for the ACL feature.
(pred string)
| 867 | // IsAclPredicate returns true if the predicate is in the list of reserved |
| 868 | // predicates for the ACL feature. |
| 869 | func IsAclPredicate(pred string) bool { |
| 870 | _, ok := aclPredicateMap[strings.ToLower(pred)] |
| 871 | return ok |
| 872 | } |
| 873 | |
| 874 | // StarAllPredicates returns the complete list of pre-defined predicates that needs to |
| 875 | // be expanded when * is given as a predicate. |
no outgoing calls
no test coverage detected