Function
StreamJobLogs
(operatorConfig OperatorConfig, apiName string, jobID string)
Source from the content-addressed store, hash-verified
| 68 | } |
| 69 | |
| 70 | func StreamJobLogs(operatorConfig OperatorConfig, apiName string, jobID string) error { |
| 71 | return streamLogs(operatorConfig, "/streamlogs/"+apiName, map[string]string{"jobID": jobID}) |
| 72 | } |
| 73 | |
| 74 | func streamLogs(operatorConfig OperatorConfig, path string, qParams ...map[string]string) error { |
| 75 | interrupt := make(chan os.Signal, 1) |
Tested by
no test coverage detected