code: func translateAffinityType(affinityType v1.ServiceAffinity) string {
  	switch affinityType {
  	case v1.ServiceAffinityClientIP:
  		return gceAffinityTypeClientIP
  	case v1.ServiceAffinityNone:
  		return gceAffinityTypeNone
  	default:
  		glog.Errorf("Unexpected affinity type: %v", affinityType)
  		return gceAffinityTypeNone
  	}
  }
docs: // translate from what K8s supports to what the cloud provider supports for session affinity.