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

Function StreamJobLogs

cli/cluster/logs.go:70–72  ·  view source on GitHub ↗
(operatorConfig OperatorConfig, apiName string, jobID string)

Source from the content-addressed store, hash-verified

68}
69
70func StreamJobLogs(operatorConfig OperatorConfig, apiName string, jobID string) error {
71 return streamLogs(operatorConfig, "/streamlogs/"+apiName, map[string]string{"jobID": jobID})
72}
73
74func streamLogs(operatorConfig OperatorConfig, path string, qParams ...map[string]string) error {
75 interrupt := make(chan os.Signal, 1)

Callers 1

logs.goFile · 0.92

Calls 1

streamLogsFunction · 0.85

Tested by

no test coverage detected