Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for DefaultTypedControllerRateLimiter (0.8 sec)

  1. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    		client:   client,
    		recorder: eventBroadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: "ttl-after-finished-controller"}),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "ttl_jobs_to_delete"},
    		),
    	}
    
    	logger := klog.FromContext(ctx)
    	jobInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. pkg/controller/resourcequota/resource_quota_monitor.go

    		informersStarted: informersStarted,
    		informerFactory:  informerFactory,
    		ignoredResources: ignoredResources,
    		resourceChanges: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[*event](),
    			workqueue.TypedRateLimitingQueueConfig[*event]{Name: "resource_quota_controller_resource_changes"},
    		),
    		resyncPeriod:      resyncPeriod,
    		replenishmentFunc: replenishmentFunc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    		crdLister:      crdInformer.Lister(),
    		crdSynced:      crdInformer.Informer().HasSynced,
    		crClientGetter: crClientGetter,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "crd_finalizer"},
    		),
    	}
    
    	crdInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    	c := &NamingConditionController{
    		crdClient: crdClient,
    		crdLister: crdInformer.Lister(),
    		crdSynced: crdInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "crd_naming_condition_controller"},
    		),
    	}
    
    	informerIndexer := crdInformer.Informer().GetIndexer()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. pkg/registry/core/service/ipallocator/cidrallocator.go

    		ipAddressSynced:   ipAddressInformer.Informer().HasSynced,
    		ipAddressInformer: ipAddressInformer,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: ControllerName},
    		),
    		internalStopCh: make(chan struct{}),
    		tree:           iptree.New[*Allocator](),
    		ipFamily:       family,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. pkg/controller/volume/expand/expand_controller.go

    	expc := &expandController{
    		kubeClient: kubeClient,
    		pvcLister:  pvcInformer.Lister(),
    		pvcsSynced: pvcInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "volume_expand"},
    		),
    		translator:               translator,
    		csiMigratedPluginManager: csiMigratedPluginManager,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. pkg/controller/volume/pvcprotection/pvc_protection_controller.go

    	e := &Controller{
    		client: cl,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "pvcprotection"},
    		),
    	}
    
    	e.pvcLister = pvcInformer.Lister()
    	e.pvcListerSynced = pvcInformer.Informer().HasSynced
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    		configMapClient:            kubeClient.CoreV1(),
    		namespaceClient:            kubeClient.CoreV1(),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "cluster_authentication_trust_controller"},
    		),
    		preRunCaches:                []cache.InformerSynced{kubeSystemConfigMapInformer.HasSynced},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. pkg/kubelet/logs/container_log_manager.go

    			MaxFiles: maxFiles,
    		},
    		clock:      clock.RealClock{},
    		mutex:      sync.Mutex{},
    		maxWorkers: maxWorkers,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "kubelet_log_rotate_manager"},
    		),
    		monitoringPeriod: monitorInterval,
    	}, nil
    }
    
    // Start the container log manager.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. pkg/controller/disruption/disruption.go

    ) *DisruptionController {
    	logger := klog.FromContext(ctx)
    	dc := &DisruptionController{
    		kubeClient: kubeClient,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				DelayingQueue: workqueue.NewTypedDelayingQueueWithConfig(workqueue.TypedDelayingQueueConfig[string]{
    					Clock: clock,
    					Name:  "disruption",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
Back to top