code: func NewServiceAffinityPredicate(podLister algorithm.PodLister, serviceLister algorithm.ServiceLister, nodeInfo NodeInfo, labels []string) (FitPredicate, predicateMetadataProducer) {
  	affinity := &ServiceAffinity{
  		podLister:     podLister,
  		serviceLister: serviceLister,
  		nodeInfo:      nodeInfo,
  		labels:        labels,
  	}
  	return affinity.checkServiceAffinity, affinity.serviceAffinityMetadataProducer
  }
docs: // NewServiceAffinityPredicate creates a ServiceAffinity.