- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RequiresExactMatch (0.14 sec)
-
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) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
scope.namespace = requestNamespace } else if selectorNamespace, ok := pred.Field.RequiresExactMatch("metadata.namespace"); ok { scope.namespace = selectorNamespace } if requestInfo, ok := request.RequestInfoFrom(ctx); ok && requestInfo != nil && len(requestInfo.Name) > 0 { scope.name = requestInfo.Name } else if selectorName, ok := pred.Field.RequiresExactMatch("metadata.name"); ok { scope.name = selectorName }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0)