code: func (c *pods) List(opts api.ListOptions) (result *api.PodList, err error) {
  	result = &api.PodList{}
  	err = c.client.Get().
  		Namespace(c.ns).
  		Resource("pods").
  		VersionedParams(&opts, api.ParameterCodec).
  		Do().
  		Into(result)
  	return
  }
docs: // List takes label and field selectors, and returns the list of Pods that match those selectors.