MCPcopy Create free account
hub / github.com/cortexlabs/cortex / completedBatchJobLogsURL

Function completedBatchJobLogsURL

pkg/operator/operator/workload_logging.go:92–100  ·  view source on GitHub ↗
(args completedJobLogURLTemplateArgs)

Source from the content-addressed store, hash-verified

90}
91
92func 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
102func inProgressBatchJobLogsURL(args inProgressJobLogURLTemplateArgs) (string, error) {
103 buf := &bytes.Buffer{}

Callers 2

BatchJobLogURLFunction · 0.85
TaskJobLogURLFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected