// DeleteWorkflow Delete a workflow resource
DeleteWorkflow Delete a workflow resource
// DeleteWorkflow Delete a workflow resource
func DeleteWorkflow(client *rest.RESTClient, workflow *workflowsv1.Workflow) error {
	log.Debugf(`Deleting workflow "%v"`, workflow.ObjectMeta.Name)
	return client.Delete().
		Name(workflow.ObjectMeta.Name).
		Namespace(workflow.ObjectMeta.Namespace).
		Resource(workflowsv1.WorkflowsPluralName).
		Do().
		Error()
}
func DeleteWorkflow ( client * rest . RESTClient , workflow * workflowsv1 . Workflow ) error { log . Debugf ( `Deleting workflow "%v"` , workflow . ObjectMeta . Name ) return client . Delete ( ) . Name ( workflow . ObjectMeta . Name ) . Namespace ( workflow . ObjectMeta . Namespace ) . Resource ( workflowsv1 . WorkflowsPluralName ) . Do ( ) . Error ( ) }
DeleteWorkflow Delete a workflow resource
DeleteWorkflow Delete a workflow resource