code: func GetCondition(status v1.ReplicationControllerStatus, condType v1.ReplicationControllerConditionType) *v1.ReplicationControllerCondition {
  	for i := range status.Conditions {
  		c := status.Conditions[i]
  		if c.Type == condType {
  			return &c
  		}
  	}
  	return nil
  }
docs: // GetCondition returns a replication controller condition with the provided type if it exists.