code: func (s *DefaultService) LookupPushEndpoints(hostname string) (endpoints []APIEndpoint, err error) {
  	s.mu.Lock()
  	defer s.mu.Unlock()
  
  	allEndpoints, err := s.lookupEndpoints(hostname)
  	if err == nil {
  		for _, endpoint := range allEndpoints {
  			if !endpoint.Mirror {
  				endpoints = append(endpoints, endpoint)
  			}
  		}
  	}
  	return endpoints, err
  }
docs: // LookupPushEndpoints creates a list of endpoints to try to push to, in order of preference.
  // It gives preference to v2 endpoints over v1, and HTTPS over plain HTTP.
  // Mirrors are not included.