- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CreateDeleteNodeHandler (0.26 sec)
-
pkg/controller/tainteviction/taint_eviction.go
return nil }), UpdateFunc: controllerutil.CreateUpdateNodeHandler(func(oldNode, newNode *v1.Node) error { tm.NodeUpdated(oldNode, newNode) return nil }), DeleteFunc: controllerutil.CreateDeleteNodeHandler(logger, func(node *v1.Node) error { tm.NodeUpdated(node, nil) return nil }), }) if err != nil { return nil, fmt.Errorf("unable to add node event handler: %w", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 19.9K bytes - Viewed (0) -
pkg/controller/nodelifecycle/node_lifecycle_controller.go
return nil }), UpdateFunc: controllerutil.CreateUpdateNodeHandler(func(_, newNode *v1.Node) error { nc.nodeUpdateQueue.Add(newNode.Name) return nil }), DeleteFunc: controllerutil.CreateDeleteNodeHandler(logger, func(node *v1.Node) error { nc.nodesToRetry.Delete(node.Name) return nil }), }) nc.leaseLister = leaseInformer.Lister() nc.leaseInformerSynced = leaseInformer.Informer().HasSynced
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.6K bytes - Viewed (0)