(jobId string, status string)
| 529 | } |
| 530 | |
| 531 | func SetJobConnStatus(jobId string, status string) { |
| 532 | jobControllerLock.Lock() |
| 533 | defer jobControllerLock.Unlock() |
| 534 | if status == JobConnStatus_Disconnected { |
| 535 | delete(jobConnStates, jobId) |
| 536 | } else { |
| 537 | jobConnStates[jobId] = status |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | func GetConnectedJobIds() []string { |
| 542 | jobControllerLock.Lock() |
no outgoing calls
no test coverage detected