- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 105 for add_func (0.2 sec)
-
pkg/controller/statefulset/stateful_set.go
eventBroadcaster: eventBroadcaster, } podInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ // lookup the statefulset and enqueue AddFunc: func(obj interface{}) { ssc.addPod(logger, obj) }, // lookup current and old statefulset if labels changed UpdateFunc: func(oldObj, newObj interface{}) { ssc.updatePod(logger, oldObj, newObj) },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 18.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go
}, Handler: cache.ResourceEventHandlerFuncs{ // we have a filter, so any time we're called, we may as well queue. We only ever check one configmap // so we don't have to be choosy about our key. AddFunc: func(obj interface{}) { c.queue.Add(c.keyFn()) }, UpdateFunc: func(oldObj, newObj interface{}) { c.queue.Add(c.keyFn()) }, DeleteFunc: func(obj interface{}) { c.queue.Add(c.keyFn())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/controller/storageversiongc/gc_controller.go
DeleteFunc: func(obj interface{}) { c.onDeleteLease(logger, obj) }, }) // use the default resync period from the informer storageVersionInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: func(obj interface{}) { c.onAddStorageVersion(logger, obj) }, UpdateFunc: func(old, newObj interface{}) { c.onUpdateStorageVersion(logger, old, newObj) }, }) return c }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10K bytes - Viewed (0) -
pkg/controller/ttl/ttl_controller.go
workqueue.TypedRateLimitingQueueConfig[string]{Name: "ttlcontroller"}, ), } logger := klog.FromContext(ctx) nodeInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: func(obj interface{}) { ttlc.addNode(logger, obj) }, UpdateFunc: func(old, newObj interface{}) { ttlc.updateNode(logger, old, newObj) }, DeleteFunc: ttlc.deleteNode, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go
workqueue.TypedRateLimitingQueueConfig[string]{Name: "crd_openapi_controller"}, ), specsByName: map[string]*specCache{}, } crdInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: c.addCustomResourceDefinition, UpdateFunc: c.updateCustomResourceDefinition, DeleteFunc: c.deleteCustomResourceDefinition, }) c.syncFn = c.sync return c }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller.go
workqueue.TypedRateLimitingQueueConfig[string]{ Name: "daemonset", }, ), } daemonSetInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: func(obj interface{}) { dsc.addDaemonset(logger, obj) }, UpdateFunc: func(oldObj, newObj interface{}) { dsc.updateDaemonset(logger, oldObj, newObj) }, DeleteFunc: func(obj interface{}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.3K bytes - Viewed (0) -
pkg/controller/volume/ephemeral/controller.go
ec.recorder = eventBroadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: "ephemeral_volume"}) podInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: ec.enqueuePod, // The pod spec is immutable. Therefore the controller can ignore pod updates // because there cannot be any changes that have to be copied into the generated // PVC.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go
}, Handler: cache.ResourceEventHandlerFuncs{ // we have a filter, so any time we're called, we may as well queue. We only ever check one configmap // so we don't have to be choosy about our key. AddFunc: func(obj interface{}) { c.queue.Add(c.keyFn()) }, UpdateFunc: func(oldObj, newObj interface{}) { c.queue.Add(c.keyFn()) }, DeleteFunc: func(obj interface{}) { c.queue.Add(c.keyFn())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go
workqueue.TypedRateLimitingQueueConfig[schema.GroupVersion]{Name: "DiscoveryController"}, ), } crdInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: c.addCustomResourceDefinition, UpdateFunc: c.updateCustomResourceDefinition, DeleteFunc: c.deleteCustomResourceDefinition, }) c.syncFn = c.sync return c }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 21 11:40:03 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/controller/deployment/deployment_controller.go
}, ), } dc.rsControl = controller.RealRSControl{ KubeClient: client, Recorder: dc.eventRecorder, } dInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: func(obj interface{}) { dc.addDeployment(logger, obj) }, UpdateFunc: func(oldObj, newObj interface{}) { dc.updateDeployment(logger, oldObj, newObj) },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 24.2K bytes - Viewed (0)