MCPcopy Index your code
hub / github.com/cortexlabs/cortex / inProgressBatchJobLogsURL

Function inProgressBatchJobLogsURL

pkg/operator/operator/workload_logging.go:102–110  ·  view source on GitHub ↗
(args inProgressJobLogURLTemplateArgs)

Source from the content-addressed store, hash-verified

100}
101
102func inProgressBatchJobLogsURL(args inProgressJobLogURLTemplateArgs) (string, error) {
103 buf := &bytes.Buffer{}
104 err := _inProgressJobLogsURLTemplate.Execute(buf, args)
105 if err != nil {
106 return "", err
107 }
108
109 return strings.TrimSpace(buf.String()), nil
110}
111
112func APILogURL(api spec.API) (string, error) {
113 partition := "aws.amazon"

Callers 2

BatchJobLogURLFunction · 0.85
TaskJobLogURLFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected