(ctx context.Context, builderId string)
| 1199 | } |
| 1200 | |
| 1201 | func (ws *WshServer) GetBuilderOutputCommand(ctx context.Context, builderId string) ([]string, error) { |
| 1202 | if builderId == "" { |
| 1203 | return nil, fmt.Errorf("must provide a builderId to GetBuilderOutputCommand") |
| 1204 | } |
| 1205 | bc := buildercontroller.GetOrCreateController(builderId) |
| 1206 | return bc.GetOutput(), nil |
| 1207 | } |
| 1208 | |
| 1209 | func (ws *WshServer) CheckGoVersionCommand(ctx context.Context) (*wshrpc.CommandCheckGoVersionRtnData, error) { |
| 1210 | watcher := wconfig.GetWatcher() |
nothing calls this directly
no test coverage detected