Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for valueWatchers (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go

    		c.Lock()
    		defer c.Unlock()
    
    		if c.watchCache.resourceVersion < rv {
    			t.Fatalf("Can't compact into a future version: %v", resourceVersion)
    		}
    
    		if len(c.watchers.allWatchers) > 0 || len(c.watchers.valueWatchers) > 0 {
    			// We could consider terminating those watchers, but given
    			// watchcache doesn't really support compaction and we don't
    			// exercise it in tests, we just throw an error here.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 20:43:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pilot/pkg/security/authz/matcher/metadata_test.go

    				{
    					Segment: &matcher.MetadataMatcher_PathSegment_Key{
    						Key: "key2",
    					},
    				},
    			},
    			Value: &matcher.ValueMatcher{
    				MatchPattern: &matcher.ValueMatcher_ListMatch{
    					ListMatch: &matcher.ListMatcher{
    						MatchPattern: &matcher.ListMatcher_OneOf{
    							OneOf: &matcher.ValueMatcher{
    								MatchPattern: &matcher.ValueMatcher_StringMatch{
    									StringMatch: &matcher.StringMatcher{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. 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