- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 228 for Informer (0.84 sec)
-
pkg/controller/replication/conversion.go
// and converting objects. type informerAdapter struct { rcInformer coreinformers.ReplicationControllerInformer } func (i informerAdapter) Informer() cache.SharedIndexInformer { return conversionInformer{i.rcInformer.Informer()} } func (i informerAdapter) Lister() appslisters.ReplicaSetLister { return conversionLister{i.rcInformer.Lister()} } type conversionInformer struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 18:43:33 UTC 2022 - 12.7K bytes - Viewed (0) -
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) -
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) -
pkg/volume/plugins.go
SetKubeletError(err error) // GetInformerFactory returns the informer factory for CSIDriverLister GetInformerFactory() informers.SharedInformerFactory // CSIDriverLister returns the informer lister for the CSIDriver API Object CSIDriverLister() storagelistersv1.CSIDriverLister // CSIDriverSynced returns the informer synced for the CSIDriver API Object CSIDriversSynced() cache.InformerSynced
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 38.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
return nil, fmt.Errorf("failed to find pod %v", ns) } if util.PodRedirectionEnabled(ns, pod) { return pod, nil } return nil, nil } func (s *InformerHandlers) Start() { kube.WaitForCacheSync("informer", s.ctx.Done(), s.pods.HasSynced, s.namespaces.HasSynced) go s.queue.Run(s.ctx.Done()) } // Gets a point-in-time snapshot of all pods that are CURRENTLY ambient enabled // (as per control plane annotation)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller.go
oldResources = newResources // wait for caches to fill for a while (our sync period). // this protects us from deadlocks where available resources changed and one of our informer caches will never fill. // informers keep attempting to sync in the background, so retrying doesn't interrupt them. // the call to resyncMonitors on the reattempt will no-op for resources that still exist. if rq.quotaMonitor != nil &&
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 21.3K bytes - Viewed (0) -
pkg/registry/flowcontrol/rest/storage_flowcontrol.go
bce := &bootstrapConfigurationEnsurer{ informersSynced: []cache.InformerSynced{ p.InformerFactory.Flowcontrol().V1().PriorityLevelConfigurations().Informer().HasSynced, p.InformerFactory.Flowcontrol().V1().FlowSchemas().Informer().HasSynced, }, fsLister: p.InformerFactory.Flowcontrol().V1().FlowSchemas().Lister(), plcLister: p.InformerFactory.Flowcontrol().V1().PriorityLevelConfigurations().Lister(), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 12.3K bytes - Viewed (0) -
pkg/kube/client.go
// RunAndWait starts all informers and waits for their caches to sync. // Warning: this must be called AFTER .Informer() is called, which will register the informer. // "false" is returned if this prematurely exited without syncing. RunAndWait(stop <-chan struct{}) bool // WaitForCacheSync waits for all cache functions to sync, as well as all informers started by the *fake* client.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/ipallocator.go
netutils "k8s.io/utils/net" utiltrace "k8s.io/utils/trace" ) const ControllerName = "ipallocator.k8s.io" // Allocator implements current ipallocator interface using IPAddress API object // and an informer as backend. type Allocator struct { cidr *net.IPNet prefix netip.Prefix firstAddress netip.Addr // first IP address within the range
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repairip_test.go
fakeClient := fake.NewSimpleClientset() informerFactory := informers.NewSharedInformerFactory(fakeClient, 0*time.Second) serviceInformer := informerFactory.Core().V1().Services() serviceIndexer := serviceInformer.Informer().GetIndexer() serviceCIDRInformer := informerFactory.Networking().V1alpha1().ServiceCIDRs() serviceCIDRIndexer := serviceCIDRInformer.Informer().GetIndexer()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 20.3K bytes - Viewed (0)