code: func (c *client) ListPods(labels map[string]string) (*PodList, error) {
  	var pods PodList
  	err := api.NewRequest(c.opts).Get().Resource("pods").Params(&api.Params{LabelSelector: labels}).Do().Into(&pods)
  	return &pods, err
  }
docs: // ListPods ...