Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RequiresExactMatch (0.17 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)
Back to top