code: func controlledHistoryV1(
  	apps clientappsv1.AppsV1Interface,
  	namespace string,
  	selector labels.Selector,
  	accessor metav1.Object) ([]*appsv1.ControllerRevision, error) {
  	var result []*appsv1.ControllerRevision
  	historyList, err := apps.ControllerRevisions(namespace).List(metav1.ListOptions{LabelSelector: selector.String()})
  	if err != nil {
  		return nil, err
  	}
  	for i := range historyList.Items {
  		history := historyList.Items[i]
  		// Only add history that belongs to the API object
  		if metav1.IsControlledBy(&history, accessor) {
  			result = append(result, &history)
  		}
  	}
  	return result, nil
  }
docs: // controlledHistories returns all ControllerRevisions in namespace that selected by selector and owned by accessor
  // TODO: Rename this to controllerHistory when other controllers have been upgraded