code: func NewSelector(client RESTClient, mapping *meta.RESTMapping, namespace string, selector labels.Selector, export bool) *Selector {
  	return &Selector{
  		Client:    client,
  		Mapping:   mapping,
  		Namespace: namespace,
  		Selector:  selector,
  		Export:    export,
  	}
  }
docs: // NewSelector creates a resource selector which hides details of getting items by their label selector.