(builderId string)
| 96 | } |
| 97 | |
| 98 | func DeleteController(builderId string) { |
| 99 | mapLock.Lock() |
| 100 | bc := controllerMap[builderId] |
| 101 | delete(controllerMap, builderId) |
| 102 | mapLock.Unlock() |
| 103 | |
| 104 | if bc != nil { |
| 105 | bc.Stop() |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | func GetBuilderAppExecutablePath(appPath string) (string, error) { |
| 110 | binDir := filepath.Join(appPath, "bin") |
no test coverage detected