- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StringOrMatcher (0.13 sec)
-
pilot/pkg/security/authz/matcher/string.go
) // StringMatcher creates a string matcher for v. func StringMatcher(v string) *matcher.StringMatcher { return StringMatcherWithPrefix(v, "") } // StringOrMatcher creates an OR string matcher for a list of values. func StringOrMatcher(vs []string) *matcher.ValueMatcher { matchers := []*matcher.ValueMatcher{} for _, v := range vs { matchers = append(matchers, &matcher.ValueMatcher{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 3.5K bytes - Viewed (0) -
pilot/pkg/security/authz/model/generator.go
if forTCP { return nil, fmt.Errorf("%q is HTTP only", key) } return principalMetadata(MetadataListValueMatcherForJWTClaims([]string{"aud"}, matcher.StringOrMatcher(values))), nil } type requestPresenterGenerator struct{} func (requestPresenterGenerator) permission(key, value string, forTCP bool) (*rbacpb.Permission, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 18:02:42 UTC 2024 - 14.1K bytes - Viewed (0)