Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RequiresExactMatch (0.26 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    // namespace.
    func (s *SelectionPredicate) MatchesSingleNamespace() (string, bool) {
    	if len(s.Continue) > 0 || s.Field == nil {
    		return "", false
    	}
    	if namespace, ok := s.Field.RequiresExactMatch("metadata.namespace"); ok {
    		return namespace, true
    	}
    	return "", false
    }
    
    // MatchesSingle will return (name, true) if and only if s.Field matches on the object's
    // name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go

    		klog.Warningf("Couldn't parse list options for %v: %v", r.URL.Query(), err)
    		return unsetValue
    	}
    	if opts.FieldSelector == nil {
    		return unsetValue
    	}
    	if value, ok := opts.FieldSelector.RequiresExactMatch(field); ok {
    		return value
    	}
    	return unsetValue
    }
    
    type indexValue struct {
    	resource string
    	value    string
    }
    
    // RegisterWatch implements WatchTracker interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.4K bytes
    - Viewed (0)
Back to top