Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for DefaultTypedControllerRateLimiter (0.62 sec)

  1. pkg/kubelet/logs/container_log_manager_test.go

    		},
    		osInterface: container.RealOS{},
    		clock:       testingclock.NewFakeClock(now),
    		mutex:       sync.Mutex{},
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "kubelet_log_rotate_manager"},
    		),
    		maxWorkers:       10,
    		monitoringPeriod: v1.Duration{Duration: 10 * time.Second},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pkg/controller/storageversiongc/gc_controller.go

    		leaseQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "storage_version_garbage_collector_leases"},
    		),
    		storageVersionQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/establish/establishing_controller.go

    	ec := &EstablishingController{
    		crdClient: crdClient,
    		crdLister: crdInformer.Lister(),
    		crdSynced: crdInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "crdEstablishing"},
    		),
    	}
    
    	ec.syncFn = ec.sync
    
    	return ec
    }
    
    // QueueCRD adds CRD into the establishing queue.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. pkg/controller/validatingadmissionpolicystatus/controller.go

    	c := &Controller{
    		policyInformer: policyInformer,
    		policyQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: ControllerName},
    		),
    		policyClient: policyClient,
    		typeChecker:  typeChecker,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. pkg/controller/ttl/ttl_controller_test.go

    			boundaryStep: 4,
    			expectedTTL:  300,
    		},
    	}
    
    	for i, testCase := range testCases {
    		ttlController := &Controller{
    			queue:             workqueue.NewTypedRateLimitingQueue(workqueue.DefaultTypedControllerRateLimiter[string]()),
    			nodeCount:         testCase.nodeCount,
    			desiredTTLSeconds: testCase.desiredTTL,
    			boundaryStep:      testCase.boundaryStep,
    		}
    		if testCase.addNode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/legacytokentracking/controller.go

    	})
    
    	c := &Controller{
    		configMapClient: cs.CoreV1(),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "legacy_token_tracking_controller"},
    		),
    		configMapInformer:   informer,
    		configMapCache:      informer.GetIndexer(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. pkg/controller/certificates/rootcacertpublisher/publisher.go

    	e := &Publisher{
    		client: cl,
    		rootCA: rootCA,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "root_ca_cert_publisher",
    			},
    		),
    	}
    
    	cmInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. pkg/controller/bootstrap/tokencleaner.go

    		secretSynced:         secrets.Informer().HasSynced,
    		tokenSecretNamespace: options.TokenSecretNamespace,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "token_cleaner",
    			},
    		),
    	}
    
    	secrets.Informer().AddEventHandlerWithResyncPeriod(
    		cache.FilteringResourceEventHandler{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. pkg/controller/volume/pvprotection/pv_protection_controller.go

    	e := &Controller{
    		client: cl,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "pvprotection"},
    		),
    	}
    
    	e.pvLister = pvInformer.Lister()
    	e.pvListerSynced = pvInformer.Informer().HasSynced
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go

    		clusterRoleLister:  clusterRoleInformer.Lister(),
    		clusterRolesSynced: clusterRoleInformer.Informer().HasSynced,
    
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "ClusterRoleAggregator",
    			},
    		),
    	}
    	c.syncHandler = c.syncClusterRole
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top