code: func (s *StoreToPodLister) List(selector labels.Selector) (pods []*api.Pod, err error) {
  	// TODO: it'd be great to just call
  	// s.Pods(api.NamespaceAll).List(selector), however then we'd have to
  	// remake the list.Items as a []*api.Pod. So leave this separate for
  	// now.
  	for _, m := range s.Store.List() {
  		pod := m.(*api.Pod)
  		if selector.Matches(labels.Set(pod.Labels)) {
  			pods = append(pods, pod)
  		}
  	}
  	return pods, nil
  }
docs: // Please note that selector is filtering among the pods that have gotten into
  // the store; there may have been some filtering that already happened before
  // that.
  //
  // TODO: converge on the interface in pkg/client.