code: func (m *Helper) List(namespace, apiVersion string, selector labels.Selector, export bool) (runtime.Object, error) {
  	req := m.RESTClient.Get().
  		NamespaceIfScoped(namespace, m.NamespaceScoped).
  		Resource(m.Resource).
  		LabelsSelectorParam(selector)
  	if export {
  		req.Param("export", strconv.FormatBool(export))
  	}
  	return req.Do().Get()
  }
docs: // TODO: add field selector