Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for NewTypedRateLimitingQueueWithConfig (0.91 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/apiapproval/apiapproval_controller.go

    	c := &KubernetesAPIApprovalPolicyConformantConditionController{
    		crdClient: crdClient,
    		crdLister: crdInformer.Lister(),
    		crdSynced: crdInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "kubernetes_api_approval_conformant_condition_controller"},
    		),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. pkg/controller/storageversionmigrator/resourceversion.go

    		discoveryClient: discoveryClient,
    		metadataClient:  metadataClient,
    		svmListers:      svmInformer.Lister(),
    		svmSynced:       svmInformer.Informer().HasSynced,
    		mapper:          mapper,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: ResourceVersionControllerName},
    		),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema/nonstructuralschema_controller.go

    ) *ConditionController {
    	c := &ConditionController{
    		crdClient: crdClient,
    		crdLister: crdInformer.Lister(),
    		crdSynced: crdInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "non_structural_schema_condition_controller"},
    		),
    		lastSeenGeneration: map[string]int64{},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapiv3/controller.go

    func NewController(crdInformer informers.CustomResourceDefinitionInformer) *Controller {
    	c := &Controller{
    		crdLister:  crdInformer.Lister(),
    		crdsSynced: crdInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "crd_openapi_v3_controller"},
    		),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. pkg/controller/namespace/namespace_controller.go

    	finalizerToken v1.FinalizerName) *NamespaceController {
    
    	// create the controller so we can inject the enqueue function
    	namespaceController := &NamespaceController{
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			nsControllerRateLimiter(),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "namespace",
    			},
    		),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. pkg/controller/bootstrap/bootstrapsigner.go

    		secretSynced:       secrets.Informer().HasSynced,
    		configMapLister:    configMaps.Lister(),
    		configMapSynced:    configMaps.Informer().HasSynced,
    		syncQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "bootstrap_signer_queue",
    			},
    		),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    		crdSynced:              crdinformer.Informer().HasSynced,
    		apiServiceRegistration: apiServiceRegistration,
    		syncedInitialSet:       make(chan struct{}),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[schema.GroupVersion](),
    			workqueue.TypedRateLimitingQueueConfig[schema.GroupVersion]{Name: "crd_autoregistration_controller"},
    		),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. pkg/controller/storageversionmigrator/storageversionmigrator.go

    		svmListers:             svmInformer.Lister(),
    		svmSynced:              svmInformer.Informer().HasSynced,
    		restMapper:             mapper,
    		dependencyGraphBuilder: dependencyGraphBuilder,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: controllerName},
    		),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    func (c *controller[T]) Run(ctx context.Context) error {
    	klog.Infof("starting %s", c.options.Name)
    	defer klog.Infof("stopping %s", c.options.Name)
    
    	c.queue = workqueue.NewTypedRateLimitingQueueWithConfig(
    		workqueue.DefaultTypedControllerRateLimiter[string](),
    		workqueue.TypedRateLimitingQueueConfig[string]{Name: c.options.Name},
    	)
    
    	// Forcefully shutdown workqueue. Drop any enqueued items.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller.go

    		name:                           name,
    		filePath:                       filePath,
    		lastLoadedEncryptionConfigHash: configContentHash,
    		dynamicTransformers:            dynamicTransformers,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: name},
    		),
    		apiServerID: apiServerID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top