- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for indexField (0.09 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
func createPodPredicate(field fields.Selector, namespaceScoped bool, indexField []string) storage.SelectionPredicate { return storage.SelectionPredicate{ Label: labels.Everything(), Field: field, GetAttrs: determinePodGetAttrFunc(namespaceScoped, indexField), IndexFields: indexField, } } func determinePodGetAttrFunc(namespaceScoped bool, indexField []string) storage.AttrFunc { if indexField != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go
return s.Label.Empty() && s.Field.Empty() } // For any index defined by IndexFields, if a matcher can match only (a subset) // of objects that return <value> for a given index, a pair (<index name>, <value>) // wil be returned. func (s *SelectionPredicate) MatcherIndex(ctx context.Context) []MatchValue { var result []MatchValue for _, field := range s.IndexFields { if value, ok := s.Field.RequiresExactMatch(field); ok {
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.name = selectorName } triggerValue, triggerSupported := "", false if c.indexedTrigger != nil { for _, field := range pred.IndexFields { if field == c.indexedTrigger.indexName { if value, ok := pred.Field.RequiresExactMatch(field); ok { triggerValue, triggerSupported = value, true break } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0)