Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for informerEventHandler (0.23 sec)

  1. pkg/kube/krt/informer.go

    	if !i.eventHandlers.Insert(f) {
    		i.inf.AddEventHandler(informerEventHandler[I](func(o Event[I], initialSync bool) {
    			f([]Event[I]{o}, initialSync)
    		}))
    	}
    	return pollSyncer{
    		name: fmt.Sprintf("%v handler", i.name()),
    		f:    i.inf.HasSynced,
    	}
    }
    
    func informerEventHandler[I controllers.ComparableObject](handler func(o Event[I], initialSync bool)) cache.ResourceEventHandler {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top