- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for anyNonEmpty (0.41 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go
rules := handleRule(action, rule) if rules != nil { rg := &security.Group{ Rules: rules, } opol.Groups = append(opol.Groups, rg) } } return opol } func anyNonEmpty[T any](arr ...[]T) bool { for _, a := range arr { if len(a) > 0 { return true } } return false } func handleRule(action security.Action, rule *v1beta1.Rule) []*security.Rules {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 16:23:36 UTC 2024 - 18.4K bytes - Viewed (0)