StarAllPredicates returns the complete list of pre-defined predicates that needs to be expanded when * is given as a predicate.
(namespace uint64)
| 874 | // StarAllPredicates returns the complete list of pre-defined predicates that needs to |
| 875 | // be expanded when * is given as a predicate. |
| 876 | func StarAllPredicates(namespace uint64) []string { |
| 877 | preds := make([]string, 0, len(starAllPredicateMap)) |
| 878 | for pred := range starAllPredicateMap { |
| 879 | preds = append(preds, NamespaceAttr(namespace, pred)) |
| 880 | } |
| 881 | return preds |
| 882 | } |
| 883 | |
| 884 | func AllACLPredicates() []string { |
| 885 | preds := make([]string, 0, len(aclPredicateMap)) |
no test coverage detected
searching dependent graphs…