20 lines
441 B
Go
20 lines
441 B
Go
package runtime
|
|
|
|
import (
|
|
"browser.local/run/config"
|
|
"browser.local/run/domain"
|
|
)
|
|
|
|
func SmokeSummary(cfg config.Config) domain.ExecutorStatus {
|
|
return domain.ExecutorStatus{
|
|
Mode: cfg.Mode,
|
|
PlatformURL: cfg.PlatformURL,
|
|
Status: "ok",
|
|
ExposedHostPath: false,
|
|
Capabilities: append([]string{
|
|
"control.hello",
|
|
"control.heartbeat",
|
|
}, SupportedRunCapabilitiesForComponent(cfg.ComponentKind)...),
|
|
}
|
|
}
|