Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for valueWatchers (0.23 sec)

  1. pilot/pkg/security/authz/matcher/metadata.go

    	if useExtendedJwt {
    		out.Value = &matcher.ValueMatcher{
    			MatchPattern: &matcher.ValueMatcher_OrMatch{
    				OrMatch: &matcher.OrMatcher{
    					ValueMatchers: []*matcher.ValueMatcher{
    						{
    							MatchPattern: &matcher.ValueMatcher_ListMatch{
    								ListMatch: listMatcher,
    							},
    						},
    						value,
    					},
    				},
    			},
    		}
    	} else {
    		out.Value = &matcher.ValueMatcher{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/matcher/string.go

    func OrMatcher(matchers []*matcher.ValueMatcher) *matcher.ValueMatcher {
    	if len(matchers) == 1 {
    		return matchers[0]
    	}
    	return &matcher.ValueMatcher{
    		MatchPattern: &matcher.ValueMatcher_OrMatch{
    			OrMatch: &matcher.OrMatcher{
    				ValueMatchers: matchers,
    			},
    		},
    	}
    }
    
    // StringMatcherRegex creates a regex string matcher for regex.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/model/util.go

    	return MetadataValueMatcherForJWTClaim(claim, &matcherpb.ValueMatcher{
    		MatchPattern: &matcherpb.ValueMatcher_StringMatch{
    			StringMatch: m,
    		},
    	})
    }
    
    func MetadataValueMatcherForJWTClaim(claim string, m *matcherpb.ValueMatcher) *matcherpb.MetadataMatcher {
    	return &matcherpb.MetadataMatcher{
    		Filter: filters.EnvoyJwtFilterName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top