code: func (d *DeferredDiscoveryRESTMapper) KindFor(resource schema.GroupVersionResource) (gvk schema.GroupVersionKind, err error) {
  	del, err := d.getDelegate()
  	if err != nil {
  		return schema.GroupVersionKind{}, err
  	}
  	gvk, err = del.KindFor(resource)
  	if err != nil && !d.cl.Fresh() {
  		d.Reset()
  		gvk, err = d.KindFor(resource)
  	}
  	return
  }
docs: // KindFor takes a partial resource and returns back the single match.
  // It returns an error if there are multiple matches.