code: func getPortConfigKey(p *api.PortConfig) api.PortConfig {
  	return api.PortConfig{
  		Name:       p.Name,
  		Protocol:   p.Protocol,
  		TargetPort: p.TargetPort,
  	}
  }
docs: // getPortConfigKey returns a map key for doing set operations with
  // ports. The key consists of name, protocol and target port which
  // uniquely identifies a port within a single Endpoint.