Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Indexer (0.21 sec)

  1. plugin/pkg/admission/resourcequota/admission_test.go

    	}
    
    	handler, err := createHandlerWithConfig(kubeClient, informerFactory, config, stopCh)
    	if err != nil {
    		t.Errorf("Error occurred while creating admission plugin: %v", err)
    	}
    
    	indexer.Add(resourceQuota1)
    	indexer.Add(resourceQuota2)
    	newPod := validPod("allowed-pod", 1, getResourceRequirements(getResourceList("3", "2Gi"), getResourceList("", "")))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	// claimParametersIndexer has the common claimParametersGeneratedFrom indexer installed to
    	// limit iteration over claimParameters to those of interest.
    	claimParametersIndexer cache.Indexer
    	// classParametersIndexer has the common classParametersGeneratedFrom indexer installed to
    	// limit iteration over classParameters to those of interest.
    	classParametersIndexer cache.Indexer
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/controller/volume/persistentvolume/pv_controller.go

    	classLister        storagelisters.StorageClassLister
    	classListerSynced  cache.InformerSynced
    	podLister          corelisters.PodLister
    	podListerSynced    cache.InformerSynced
    	podIndexer         cache.Indexer
    	NodeLister         corelisters.NodeLister
    	NodeListerSynced   cache.InformerSynced
    
    	kubeClient                clientset.Interface
    	eventBroadcaster          record.EventBroadcaster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  8. src/index/suffixarray/sais2.go

    	// This scan is similar to the one in induceSubL_8_64 above.
    	// That one arranges to clear all but the leftmost L-type indexes.
    	// This scan leaves all the L-type indexes and the original S-type
    	// indexes, but it negates the positive leftmost L-type indexes
    	// (the ones that induceS_8_64 needs to process).
    
    	// expand_8_64 left out the implicit entry sa[-1] == len(text),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  9. pkg/apis/batch/validation/validation.go

    	"k8s.io/utils/ptr"
    )
    
    // maxParallelismForIndexJob is the maximum parallelism that an Indexed Job
    // is allowed to have. This threshold allows to cap the length of
    // .status.completedIndexes.
    const maxParallelismForIndexedJob = 100000
    
    // maxFailedIndexesForIndexedJob is the maximum number of failed indexes that
    // an Indexed Job is allowed to have. This threshold allows to cap the length of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller.go

    }
    
    // activePodsForRemoval returns Pods that should be removed because there
    // are too many pods running or, if this is an indexed job, there are repeated
    // indexes or invalid indexes or some pods don't have indexes.
    // Sorts candidate pods in the order such that not-ready < ready, unscheduled
    // < scheduled, and pending < running. This ensures that we delete pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top