code: func serviceToServiceMap(service *v1.Service, hns HostNetworkService) proxyServiceMap {
  	if service == nil {
  		return nil
  	}
  	svcName := types.NamespacedName{Namespace: service.Namespace, Name: service.Name}
  	if shouldSkipService(svcName, service) {
  		return nil
  	}
  
  	serviceMap := make(proxyServiceMap)
  	for i := range service.Spec.Ports {
  		servicePort := &service.Spec.Ports[i]
  		svcPortName := proxy.ServicePortName{NamespacedName: svcName, Port: servicePort.Name}
  		serviceMap[svcPortName] = newServiceInfo(svcPortName, servicePort, service, hns)
  	}
  	return serviceMap
  }
docs: // Translates single Service object to proxyServiceMap.
  //
  // NOTE: service object should NOT be modified.