code: func (s *DefaultService) LookupPullEndpoints(hostname string) (endpoints []APIEndpoint, err error) {
  	s.mu.Lock()
  	defer s.mu.Unlock()
  
  	return s.lookupEndpoints(hostname)
  }
docs: // LookupPullEndpoints creates a list of endpoints to try to pull from, in order of preference.
  // It gives preference to v2 endpoints over v1, mirrors over the actual
  // registry, and HTTPS over plain HTTP.