- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RegisterHandler (0.28 sec)
-
pkg/kube/multicluster/secretcontroller.go
comp := &Component[T]{ constructor: constructor, clusters: make(map[cluster.ID]T), } c.registerHandler(comp) return comp } func (c *Controller) registerHandler(h handler) { // Intentionally no lock. The controller today requires that handlers are registered before execution and not in parallel. c.handlers = append(c.handlers, h) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 02:13:10 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/kube-proxy/app/server.go
informers.WithTweakListOptions(func(options *metav1.ListOptions) { options.LabelSelector = labelSelector.String() })) // Create configs (i.e. Watches for Services, EndpointSlices and ServiceCIDRs) // Note: RegisterHandler() calls need to happen before creation of Sources because sources // only notify on changes, and the initial update (on process start) may be lost if no handlers // are registered yet.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 46.8K bytes - Viewed (0)