Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for Indexes (1.33 sec)

  1. pkg/controlplane/controller/legacytokentracking/controller.go

    // feature, existing configmap will be deleted.
    type Controller struct {
    	configMapClient   corev1client.ConfigMapsGetter
    	configMapInformer cache.SharedIndexInformer
    	configMapCache    cache.Indexer
    	configMapSynced   cache.InformerSynced
    	queue             workqueue.TypedRateLimitingInterface[string]
    
    	// rate limiter controls the rate limit of the creation of the configmap.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
            for (final Indexed<String> indexed : indexed(list)) {
                System.out.println(indexed.getIndex());
                System.out.println(indexed.getElement());
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachLineIterator() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K 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/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)
  5. 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)
  6. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/ProblemSpec.java

         * @param path the file location
         * @param line the one-indexed line number
         * @return this
         * @since 8.6
         */
        ProblemSpec lineInFileLocation(String path, int line);
    
        /**
         * Declares that this problem is in a file with on a line at a certain position.
         * <p>
         *
         * @param path the file location
         * @param line the one-indexed line number
         * @param column the one-indexed column
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/LineInFileLocation.java

     * <p>
     * The line and column coordinates are one-indexed so that they can be easily matched to the content of a UI editor interface.
     */
    public interface LineInFileLocation extends FileLocation {
    
        /**
         * The line number within the file.
         * <p>
         * The line is <b>one-indexed</b>, i.e. the first line in the file is line number 1.
         *
         * @return the line number
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. pkg/registry/resource/resourceslice/strategy.go

    	"nodeName": nodeNameTriggerFunc,
    }
    
    func nodeNameTriggerFunc(obj runtime.Object) string {
    	return obj.(*resource.ResourceSlice).NodeName
    }
    
    // Indexers returns the indexers for ResourceSlice.
    func Indexers() *cache.Indexers {
    	return &cache.Indexers{
    		storage.FieldIndex("nodeName"): nodeNameIndexFunc,
    	}
    }
    
    func nodeNameIndexFunc(obj interface{}) ([]string, error) {
    	slice, ok := obj.(*resource.ResourceSlice)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. pkg/registry/resource/resourceslice/storage/storage.go

    	}
    	options := &generic.StoreOptions{
    		RESTOptions: optsGetter,
    		AttrFunc:    resourceslice.GetAttrs,
    		TriggerFunc: resourceslice.TriggerFunc,
    		Indexers:    resourceslice.Indexers(),
    	}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, err
    	}
    
    	return &REST{store}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top