code: func (d *CachedDiscoveryClient) ServerResources() ([]*metav1.APIResourceList, error) {
  	_, rs, err := discovery.ServerGroupsAndResources(d)
  	return rs, err
  }
docs: // ServerResources returns the supported resources for all groups and versions.
  // Deprecated: use ServerGroupsAndResources instead.