Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 390 for Informer (0.16 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema/nonstructuralschema_controller.go

    func NewConditionController(
    	crdInformer informers.CustomResourceDefinitionInformer,
    	crdClient client.CustomResourceDefinitionsGetter,
    ) *ConditionController {
    	c := &ConditionController{
    		crdClient: crdClient,
    		crdLister: crdInformer.Lister(),
    		crdSynced: crdInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. pkg/controller/serviceaccount/serviceaccounts_controller.go

    		),
    	}
    
    	saHandler, _ := saInformer.Informer().AddEventHandlerWithResyncPeriod(cache.ResourceEventHandlerFuncs{
    		DeleteFunc: e.serviceAccountDeleted,
    	}, options.ServiceAccountResync)
    	e.saLister = saInformer.Lister()
    	e.saListerSynced = saHandler.HasSynced
    
    	nsHandler, _ := nsInformer.Informer().AddEventHandlerWithResyncPeriod(cache.ResourceEventHandlerFuncs{
    		AddFunc:    e.namespaceAdded,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. pkg/controller/storageversionmigrator/resourceversion.go

    		svmListers:      svmInformer.Lister(),
    		svmSynced:       svmInformer.Informer().HasSynced,
    		mapper:          mapper,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: ResourceVersionControllerName},
    		),
    	}
    
    	_, _ = svmInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/crdclient/client.go

    // Package crdclient provides an implementation of the config store and cache
    // using Kubernetes Custom Resources and the informer framework from Kubernetes
    //
    // This code relies heavily on code generation for performance reasons; to implement the
    // Istio store interface, we need to take dynamic inputs. Using the dynamic informers results in poor
    // performance, as the cache will store unstructured objects which need to be marshaled on each Get/List call.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller.go

    	interval := 1 * time.Minute
    
    	return &Controller{
    		client:           clientset,
    		namespaceLister:  namespaceInformer.Lister(),
    		namespaceSynced:  namespaceInformer.Informer().HasSynced,
    		systemNamespaces: systemNamespaces,
    		interval:         interval,
    	}
    }
    
    // Run starts one worker.
    func (c *Controller) Run(stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/establish/establishing_controller.go

    // NewEstablishingController creates new EstablishingController.
    func NewEstablishingController(crdInformer informers.CustomResourceDefinitionInformer,
    	crdClient client.CustomResourceDefinitionsGetter) *EstablishingController {
    	ec := &EstablishingController{
    		crdClient: crdClient,
    		crdLister: crdInformer.Lister(),
    		crdSynced: crdInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go

    			informers := informers.NewSharedInformerFactory(client, controller.NoResyncPeriodFunc())
    			secretInformer := informers.Core().V1().Secrets()
    			saInformer := informers.Core().V1().ServiceAccounts()
    			podInformer := informers.Core().V1().Pods()
    			secrets := secretInformer.Informer().GetStore()
    			serviceAccounts := saInformer.Informer().GetStore()
    			pods := podInformer.Informer().GetStore()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  8. pkg/controller/podgc/gc_controller.go

    		kubeClient:             kubeClient,
    		terminatedPodThreshold: terminatedPodThreshold,
    		podLister:              podInformer.Lister(),
    		podListerSynced:        podInformer.Informer().HasSynced,
    		nodeLister:             nodeInformer.Lister(),
    		nodeListerSynced:       nodeInformer.Informer().HasSynced,
    		nodeQueue:              workqueue.NewTypedDelayingQueueWithConfig(workqueue.TypedDelayingQueueConfig[string]{Name: "orphaned_pods_nodes"}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    	c := &crdRegistrationController{
    		crdLister:              crdinformer.Lister(),
    		crdSynced:              crdinformer.Informer().HasSynced,
    		apiServiceRegistration: apiServiceRegistration,
    		syncedInitialSet:       make(chan struct{}),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. plugin/pkg/admission/runtimeclass/admission.go

    }
    
    // SetExternalKubeInformerFactory implements the WantsExternalKubeInformerFactory interface.
    func (r *RuntimeClass) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) {
    	runtimeClassInformer := f.Node().V1().RuntimeClasses()
    	r.SetReadyFunc(runtimeClassInformer.Informer().HasSynced)
    	r.runtimeClassLister = runtimeClassInformer.Lister()
    }
    
    // ValidateInitialization implements the WantsExternalKubeInformerFactory interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 05:53:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top