code: func NamespaceToSelectableFields(namespace *api.Namespace) fields.Set {
  	objectMetaFieldsSet := generic.ObjectMetaFieldsSet(&namespace.ObjectMeta, false)
  	specificFieldsSet := fields.Set{
  		"status.phase": string(namespace.Status.Phase),
  		// This is a bug, but we need to support it for backward compatibility.
  		"name": namespace.Name,
  	}
  	return generic.MergeFieldsSets(objectMetaFieldsSet, specificFieldsSet)
  }
docs: // NamespaceToSelectableFields returns a field set that represents the object