in readers/apiserver/watchlist/internal/watchlist/watchlist.go [381:391]
func (r *Reader) createServicesWatcher(ctx context.Context) []spawnWatcher {
return []spawnWatcher{
func(options metav1.ListOptions) (watch.Interface, error) {
wi, err := r.clientset.CoreV1().Services("").Watch(ctx, options)
if err != nil {
panic(err.Error())
}
return wi, nil
},
}
}