activeServicePortPortals:=make(map[ServicePortPortalName]bool)// use a map as a set
for_,service:=rangeservices{
// if ClusterIP is "None" or empty, skip proxying
if!helper.IsServiceIPSet(service){
glog.V(3).Infof("Skipping service %s due to clusterIP = %q",types.NamespacedName{Namespace:service.Namespace,Name:service.Name},service.Spec.ClusterIP)
continue
}
fori:=rangeservice.Spec.Ports{
servicePort:=&service.Spec.Ports[i]
// create a slice of all the source IPs to use for service port portals