Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for Indexer (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/lister.go

    	return result, nil
    }
    
    func (w lister[T]) Namespaced(namespace string) NamespacedLister[T] {
    	return namespacedLister[T]{namespace: namespace, indexer: w.indexer}
    }
    
    func NewLister[T runtime.Object](indexer cache.Indexer) lister[T] {
    	return lister[T]{indexer: indexer}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/CompareStrategy.java

        private final Function<C, ? extends Multimap<String, HashCode>> rootHasher;
        private final ChangeDetector<S> changeDetector;
    
        public CompareStrategy(
            Function<C, ? extends Map<String, S>> indexer,
            Function<C, ? extends Multimap<String, HashCode>> rootHasher,
            ChangeDetector<S> changeDetector
        ) {
            this.indexer = indexer;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go

    type exampleLister struct {
    	listers.ResourceIndexer[*v1.Example]
    }
    
    // NewExampleLister returns a new ExampleLister.
    func NewExampleLister(indexer cache.Indexer) ExampleLister {
    	return &exampleLister{listers.New[*v1.Example](indexer, v1.Resource("example"))}
    }
    
    // Examples returns an object that can list and get Examples.
    func (s *exampleLister) Examples(namespace string) ExampleNamespaceLister {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1beta1/customresourcedefinition.go

    }
    
    // NewCustomResourceDefinitionLister returns a new CustomResourceDefinitionLister.
    func NewCustomResourceDefinitionLister(indexer cache.Indexer) CustomResourceDefinitionLister {
    	return &customResourceDefinitionLister{listers.New[*v1beta1.CustomResourceDefinition](indexer, v1beta1.Resource("customresourcedefinition"))}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. README.md

    suggester.indexer().index(new SuggestItem(new String[] { "検索", "エンジン" }, readings, 1, tags, roles, SuggestItem.Kind.DOCUMENT));
    ```
    
    ### Add suggest documents from source of index
    
    ```java
    DocumentReader reader = new ESSourceReader(
        client,
        suggester.settings(),
        "contentIndexName",
        "contentTypeName");
    suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
    ```
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    type indexValidator func(int) bool
    
    func newCacheInterval(startIndex, endIndex int, indexer indexerFunc, indexValidator indexValidator, locker sync.Locker) *watchCacheInterval {
    	return &watchCacheInterval{
    		startIndex:     startIndex,
    		endIndex:       endIndex,
    		indexer:        indexer,
    		indexValidator: indexValidator,
    		buffer:         &watchCacheIntervalBuffer{buffer: make([]*watchCacheEvent, bufferSize)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1/customresourcedefinition.go

    }
    
    // NewCustomResourceDefinitionLister returns a new CustomResourceDefinitionLister.
    func NewCustomResourceDefinitionLister(indexer cache.Indexer) CustomResourceDefinitionLister {
    	return &customResourceDefinitionLister{listers.New[*v1.CustomResourceDefinition](indexer, v1.Resource("customresourcedefinition"))}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/interface.go

    	HasSynced() bool
    }
    
    type NamespacedLister[T any] interface {
    	// List lists all ValidationRuleSets in the indexer for a given namespace.
    	// Objects returned here must be treated as read-only.
    	List(selector labels.Selector) (ret []T, err error)
    	// Get retrieves the ValidationRuleSet from the indexer for a given namespace and name.
    	// Objects returned here must be treated as read-only.
    	Get(name string) (T, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/PBXTarget.java

            if (buildConfigurationList != null) {
                s.addField("buildConfigurationList", buildConfigurationList);
            }
        }
    
        public enum ProductType {
            INDEXER("org.gradle.product-type.indexer"),
    
            STATIC_LIBRARY("com.apple.product-type.library.static"),
            DYNAMIC_LIBRARY("com.apple.product-type.library.dynamic"),
            TOOL("com.apple.product-type.tool"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller_test.go

    		for _, test := range tests {
    			t.Run(test.name, func(t *testing.T) {
    				indexer := cache.NewIndexer(controller.KeyFunc, cache.Indexers{})
    				objs := []runtime.Object{}
    				for _, obj := range test.startingClusterRoles {
    					objs = append(objs, obj)
    					indexer.Add(obj)
    				}
    				fakeClient := fakeclient.NewSimpleClientset(objs...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top