// mapBasedSelectorForObject returns the map-based selector associated with the provided object. If a // new set-based selector is provided, an error is returned if the selector cannot be converted to a // map-based selector func mapBasedSelectorForObject(object runtime.Object) (string, error) { … } func MakeLabels(labels map[string]string) string { … }