Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 354 for Indexer (0.29 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	controller.podListerSynced = p.PodInformer.Informer().HasSynced
    	controller.NodeLister = p.NodeInformer.Lister()
    	controller.NodeListerSynced = p.NodeInformer.Informer().HasSynced
    
    	// This custom indexer will index pods by its PVC keys. Then we don't need
    	// to iterate all pods every time to find pods which reference given PVC.
    	if err := common.AddPodPVCIndexerIfNotPresent(controller.podIndexer); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    	informerFactory := informers.NewSharedInformerFactory(client, controller.NoResyncPeriodFunc())
    	nodeInformer := informerFactory.Core().V1().Nodes()
    	indexer := nodeInformer.Informer().GetIndexer()
    	for _, nodeName := range nodeNames {
    		indexer.Add(&v1.Node{ObjectMeta: metav1.ObjectMeta{Name: nodeName}})
    	}
    
    	esInformer := informerFactory.Discovery().V1().EndpointSlices()
    	esIndexer := esInformer.Informer().GetIndexer()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. tensorflow/BUILD

    # TODO(b/173549186): Move Google-internal TF code out of learning/brain
    package_group(
        name = "internal",
        packages = [
            "//devtools/python/indexer/...",
            "//learning/brain/keras/...",
            "//learning/brain/mlir/...",
            "//learning/brain/tfrt/...",
            "//learning/lib/ami/simple_ml/...",
            "//learning/pathways/...",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 16:51:59 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/replica_set.go

    	// rsListerSynced returns true if the pod store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	rsListerSynced cache.InformerSynced
    	rsIndexer      cache.Indexer
    
    	// A store of pods, populated by the shared informer passed to NewReplicaSetController
    	podLister corelisters.PodLister
    	// podListerSynced returns true if the pod store has been synced at least once.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. pkg/features/kube_features.go

    	// releases.
    	UserNamespacesPodSecurityStandards featuregate.Feature = "UserNamespacesPodSecurityStandards"
    
    	// owner: @ahutsunshine
    	// beta: v1.30
    	//
    	// Allows namespace indexer for namespace scope resources in apiserver cache to accelerate list operations.
    	StorageNamespaceIndex featuregate.Feature = "StorageNamespaceIndex"
    
    	// owner: @jsafrane
    	// kep: https://kep.k8s.io/1710
    	// alpha: v1.30
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// IndexerFuncs is used for optimizing amount of watchers that
    	// needs to process an incoming event.
    	IndexerFuncs storage.IndexerFuncs
    
    	// Indexers is used to accelerate the list operation, falls back to regular list
    	// operation if no indexer found.
    	Indexers *cache.Indexers
    
    	// NewFunc is a function that creates new empty object storing a object of type Type.
    	NewFunc func() runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. pkg/controller/disruption/disruption_test.go

    				t.Fatalf("Failed to create pod: %v", err)
    			}
    			dc.clock.Sleep(tc.timePassed)
    			if err := dc.informerFactory.Core().V1().Pods().Informer().GetIndexer().Add(tc.pod); err != nil {
    				t.Fatalf("Failed adding pod to indexer: %v", err)
    			}
    			diff := ""
    			if err := wait.Poll(100*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/Indexed.java

     * @param <T>
     *            要素の型
     * @see IndexedIterator
     */
    public class Indexed<T> {
    
        /** 要素 */
        private final T element;
    
        /** 要素のインデックス */
        private final int index;
    
        /**
         * コンストラクタ
         *
         * @param element
         *            要素
         * @param index
         *            要素のインデックス
         */
        public Indexed(final T element, final int index) {
            this.element = element;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller_test.go

    		},
    		"indexed job start": {
    			parallelism:            2,
    			completions:            5,
    			backoffLimit:           6,
    			completionMode:         batch.IndexedCompletion,
    			expectedCreations:      2,
    			expectedActive:         2,
    			expectedCreatedIndexes: sets.New(0, 1),
    			expectedReady:          ptr.To[int32](0),
    		},
    		"indexed job with some pods deleted, podReplacementPolicy Failed": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/types.go

    type SuccessPolicyRule struct {
    	// succeededIndexes specifies the set of indexes
    	// which need to be contained in the actual set of the succeeded indexes for the Job.
    	// The list of indexes must be within 0 to ".spec.completions-1" and
    	// must not contain duplicates. At least one element is required.
    	// The indexes are represented as intervals separated by commas.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top