getPodName gets the appropriate pod name for a workflow based on the POD_NAMES environment variable
(nodeName, templateName string)
| 4519 | // getPodName gets the appropriate pod name for a workflow based on the |
| 4520 | // POD_NAMES environment variable |
| 4521 | func (woc *wfOperationCtx) getPodName(nodeName, templateName string) string { |
| 4522 | version := wfutil.GetWorkflowPodNameVersion(woc.wf) |
| 4523 | return wfutil.GeneratePodName(woc.wf.Name, nodeName, templateName, woc.wf.NodeID(nodeName), version) |
| 4524 | } |
| 4525 | |
| 4526 | func (woc *wfOperationCtx) getServiceAccountTokenName(ctx context.Context, name string) (string, error) { |
| 4527 | if name == "" { |
no test coverage detected