// ConvertStatusToExternal .... convert internal status to k8s controller
ConvertStatusToExternal .... convert internal status to k8s controller
// ConvertStatusToExternal .... convert internal status to k8s controller
func ConvertStatusToExternal(status string) string {
	switch status {
	case "initial":
		return "new"
	case "preprocess_inprogress", "postprocess_inprogress", "preprocess_completed":
		return "inprogress"
	case "completed_health":
		return "success"
	case "completed_unhealth":
		return "anomaly"
	case "completed_unknown":
		return "abort"
	case "preprocess_failed":
		return "abort"
	case "abort":
		return "abort"
	default:
		return "unknown"
	}
}
func ConvertStatusToExternal ( status string ) string { switch status { case " " : return " " case " " , " " , " " : return " " case " " : return " " case " " : return " " case " " : return " " case " " : return " " case " " : return " " default : return " " } }
ConvertStatusToExternal .... convert internal status to k8s controller
ConvertStatusToExternal .... convert internal status to k8s controller