code: func New(baseClient restclient.Interface, mapper PreferredResourceMapper, resolver dynamic.APIPathResolverFunc, scaleKindResolver ScaleKindResolver) ScalesGetter {
  	return &scaleClient{
  		mapper: mapper,
  
  		apiPathResolverFunc: resolver,
  		scaleKindResolver:   scaleKindResolver,
  		clientBase:          baseClient,
  	}
  }
docs: // New creates a new ScalesGetter using the given client to make requests.
  // The GroupVersion on the client is ignored.