code: func SetCondition(status *v1.ReplicationControllerStatus, condition v1.ReplicationControllerCondition) {
  	currentCond := GetCondition(*status, condition.Type)
  	if currentCond != nil && currentCond.Status == condition.Status && currentCond.Reason == condition.Reason {
  		return
  	}
  	newConditions := filterOutCondition(status.Conditions, condition.Type)
  	status.Conditions = append(newConditions, condition)
  }
docs: // SetCondition adds/replaces the given condition in the replication controller status.