Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IndexLabels (0.1 sec)

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

    	testCases := map[string]struct {
    		labelSelector, fieldSelector string
    		indexLabels                  []string
    		indexFields                  []string
    		expected                     []MatchValue
    		ctx                          context.Context
    	}{
    		"Match nil": {
    			labelSelector: "name=foo",
    			fieldSelector: "uid=12345",
    			indexLabels:   []string{"bar"},
    			indexFields:   []string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 30 10:39:09 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    // SelectionPredicate is used to represent the way to select objects from api storage.
    type SelectionPredicate struct {
    	Label               labels.Selector
    	Field               fields.Selector
    	GetAttrs            AttrFunc
    	IndexLabels         []string
    	IndexFields         []string
    	Limit               int64
    	Continue            string
    	AllowWatchBookmarks bool
    }
    
    // Matches returns true if the given object's labels and fields (as
    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