(args completedJobLogURLTemplateArgs)
| 90 | } |
| 91 | |
| 92 | func completedBatchJobLogsURL(args completedJobLogURLTemplateArgs) (string, error) { |
| 93 | buf := &bytes.Buffer{} |
| 94 | err := _completedJobLogURLTemplate.Execute(buf, args) |
| 95 | if err != nil { |
| 96 | return "", err |
| 97 | } |
| 98 | |
| 99 | return strings.TrimSpace(buf.String()), nil |
| 100 | } |
| 101 | |
| 102 | func inProgressBatchJobLogsURL(args inProgressJobLogURLTemplateArgs) (string, error) { |
| 103 | buf := &bytes.Buffer{} |
no test coverage detected