type Selector … // NewSelector creates a resource selector which hides details of getting items by their label selector. func NewSelector(client RESTClient, mapping *meta.RESTMapping, namespace, labelSelector, fieldSelector string, limitChunks int64) *Selector { … } // Visit implements Visitor and uses request chunking by default. func (r *Selector) Visit(fn VisitorFunc) error { … } func (r *Selector) Watch(resourceVersion string) (watch.Interface, error) { … } // ResourceMapping returns the mapping for this resource and implements ResourceMapping func (r *Selector) ResourceMapping() *meta.RESTMapping { … }