code: func NewDeploymentCondition(condType apps.DeploymentConditionType, status v1.ConditionStatus, reason, message string) *apps.DeploymentCondition {
  	return &apps.DeploymentCondition{
  		Type:               condType,
  		Status:             status,
  		LastUpdateTime:     metav1.Now(),
  		LastTransitionTime: metav1.Now(),
  		Reason:             reason,
  		Message:            message,
  	}
  }
docs: // NewDeploymentCondition creates a new deployment condition.