code: func NewForConfig(baseConfig *rest.Config, mapper meta.RESTMapper, availableAPIs AvailableAPIsGetter) CustomMetricsClient {
  	return &multiClient{
  		clients:       make(map[schema.GroupVersion]CustomMetricsClient),
  		availableAPIs: availableAPIs,
  
  		newClient: func(ver schema.GroupVersion) (CustomMetricsClient, error) {
  			return NewForVersionForConfig(rest.CopyConfig(baseConfig), mapper, ver)
  		},
  	}
  }
docs: // NewForConfig creates a new custom metrics client which delegates to a client which
  // uses the preferred api version.