in readers/apiserver/watchlist/internal/watchlist/watchlist.go [312:322]
func (r *Reader) createNodesWatcher(ctx context.Context) []spawnWatcher {
return []spawnWatcher{
func(options metav1.ListOptions) (watch.Interface, error) {
wi, err := r.clientset.CoreV1().Nodes().Watch(ctx, options)
if err != nil {
return nil, err
}
return wi, nil
},
}
}