code: func DeleteDeploymentForeground(client clientset.Interface, namespace, name string) error {
  	foregroundDelete := metav1.DeletePropagationForeground
  	deleteOptions := &metav1.DeleteOptions{
  		PropagationPolicy: &foregroundDelete,
  	}
  	return client.AppsV1().Deployments(namespace).Delete(name, deleteOptions)
  }
docs: // DeleteDeploymentForeground deletes the specified Deployment in foreground mode; i.e. it blocks until/makes sure all the managed Pods are deleted