code: func filterOutCondition(conditions []v1.ReplicationControllerCondition, condType v1.ReplicationControllerConditionType) []v1.ReplicationControllerCondition {
  	var newConditions []v1.ReplicationControllerCondition
  	for _, c := range conditions {
  		if c.Type == condType {
  			continue
  		}
  		newConditions = append(newConditions, c)
  	}
  	return newConditions
  }
docs: // filterOutCondition returns a new slice of replication controller conditions without conditions with the provided type.