Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for DefaultTypedControllerRateLimiter (0.38 sec)

  1. pkg/controller/volume/attachdetach/attach_detach_controller.go

    		podIndexer:  podInformer.Informer().GetIndexer(),
    		nodeLister:  nodeInformer.Lister(),
    		nodesSynced: nodeInformer.Informer().HasSynced,
    		pvcQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "pvcs"},
    		),
    	}
    
    	adc.csiNodeLister = csiNodeInformer.Lister()
    	adc.csiNodeSynced = csiNodeInformer.Informer().HasSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. pkg/controller/cronjob/cronjob_controllerv2.go

    	logger := klog.FromContext(ctx)
    	eventBroadcaster := record.NewBroadcaster(record.WithContext(ctx))
    
    	jm := &ControllerV2{
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "cronjob",
    			},
    		),
    		kubeClient:  kubeClient,
    		broadcaster: eventBroadcaster,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set.go

    		burstReplicas:    burstReplicas,
    		expectations:     controller.NewUIDTrackingControllerExpectations(controller.NewControllerExpectations()),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: queueName},
    		),
    	}
    
    	rsInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. pkg/controller/resourceclaim/controller.go

    		templateLister:      templateInformer.Lister(),
    		templatesSynced:     templateInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "resource_claim"},
    		),
    		deletedObjects: newUIDCache(maxUIDCacheEntries),
    	}
    
    	metrics.RegisterMetrics()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. pkg/controller/garbagecollector/garbagecollector_test.go

    			graphChanges:     workqueue.NewTypedRateLimitingQueue(workqueue.DefaultTypedControllerRateLimiter[*event]()),
    			uidToNode: &concurrentUIDToNode{
    				uidToNodeLock: sync.RWMutex{},
    				uidToNode:     make(map[types.UID]*node),
    			},
    			attemptToDelete:  workqueue.NewTypedRateLimitingQueue(workqueue.DefaultTypedControllerRateLimiter[*node]()),
    			absentOwnerCache: NewReferenceCache(2),
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  6. pkg/controller/daemon/daemon_controller.go

    			KubeClient: kubeClient,
    		},
    		burstReplicas: BurstReplicas,
    		expectations:  controller.NewControllerExpectations(),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "daemonset",
    			},
    		),
    	}
    
    	daemonSetInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  7. pkg/controller/cronjob/cronjob_controllerv2_test.go

    				return
    			}
    			jm.now = justASecondBeforeTheHour
    			queue := &fakeQueue{TypedRateLimitingInterface: workqueue.NewTypedRateLimitingQueueWithConfig(
    				workqueue.DefaultTypedControllerRateLimiter[string](),
    				workqueue.TypedRateLimitingQueueConfig[string]{
    					Name: "test-update-cronjob",
    				},
    			)}
    			jm.queue = queue
    			jm.jobControl = &fakeJobControl{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		nodeUpdateQueue:             workqueue.NewTypedWithConfig(workqueue.TypedQueueConfig[string]{Name: "node_lifecycle_controller"}),
    		podUpdateQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[podUpdateItem](),
    			workqueue.TypedRateLimitingQueueConfig[podUpdateItem]{
    				Name: "node_lifecycle_controller_pods",
    			},
    		),
    	}
    
    	nc.enterPartialDisruptionFunc = nc.ReducedQPSFunc
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top