- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newPodCache (0.33 sec)
-
pilot/pkg/serviceregistry/kube/controller/pod.go
// in podCache when endpoint event comes. needResync map[string]sets.Set[types.NamespacedName] queueEndpointEvent func(types.NamespacedName) c *Controller } func newPodCache(c *Controller, pods kclient.Client[*v1.Pod], queueEndpointEvent func(types.NamespacedName)) *PodCache { out := &PodCache{ pods: pods, c: c,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 10.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller.go
c.podsClient = kclient.NewFiltered[*v1.Pod](kubeClient, kclient.Filter{ ObjectFilter: kubeClient.ObjectFilter(), ObjectTransform: kubelib.StripPodUnusedFields, }) c.pods = newPodCache(c, c.podsClient, func(key types.NamespacedName) { c.queue.Push(func() error { return c.endpoints.podArrived(key.Name, key.Namespace) }) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 41.2K bytes - Viewed (0)