func (lwt *lazyWorkflowTemplate) GetTemplateByName(name string) *wfv1.Template {
	err := lwt.ensureWorkflowTemplate()
	if err != nil {
		return nil
	}
	return lwt.wftmpl.GetTemplateByName(name)
}
// GetTemplateByName retrieves a defined template by its name
GetTemplateByName retrieves a defined template by its name
// GetTemplateByName retrieves a defined template by its name
func (lwt *lazyWorkflowTemplate) GetTemplateByName(name string) *wfv1.Template {
	err := lwt.ensureWorkflowTemplate()
	if err != nil {
		return nil
	}
	return lwt.wftmpl.GetTemplateByName(name)
}
func ( lwt * lazyWorkflowTemplate ) GetTemplateByName ( name string ) * wfv1 . Template { err := lwt . ensureWorkflowTemplate ( ) if err != nil { return nil } return lwt . wftmpl . GetTemplateByName ( name ) }
GetTemplateByName retrieves a defined template by its name
GetTemplateByName retrieves a defined template by its name