code: func GetAvailablePodsForRCs(c client.Interface, rcs []*api.ReplicationController, minReadySeconds int) (int, error) {
  	allPods, err := getPodsForRCs(c, rcs)
  	if err != nil {
  		return 0, err
  	}
  	return getReadyPodsCount(allPods, minReadySeconds), nil
  }
docs: // Returns the number of available pods corresponding to the given RCs.