code: func GenerateOutputImageLabels(info *git.SourceInfo, config *api.Config) map[string]string {
  	labels := map[string]string{}
  	namespace := constants.DefaultNamespace
  	if len(config.LabelNamespace) > 0 {
  		namespace = config.LabelNamespace
  	}
  
  	labels = GenerateLabelsFromConfig(labels, config, namespace)
  	labels = GenerateLabelsFromSourceInfo(labels, info, namespace)
  	return labels
  }
docs: // GenerateOutputImageLabels generate the labels based on the s2i Config
  // and source repository informations.