code: func (c *namespaces) List(opts api.ListOptions) (*api.NamespaceList, error) {
  	result := &api.NamespaceList{}
  	err := c.r.Get().
  		Resource("namespaces").
  		VersionedParams(&opts, api.Scheme).
  		Do().Into(result)
  	return result, err
  }
docs: // List lists all the namespaces in the cluster.