Documentation ¶
Index ¶
- func CliEnv(flags RootFlags) []string
- func KillExistingHooksProcess(serverListenPort int, log abstractlogger.Logger)
- func NewServerRunner(log abstractlogger.Logger, cfg *ServerRunConfig) *scriptrunner.ScriptRunner
- func ServerPortFromConfig(configJsonPath string) (int, error)
- type RootFlags
- type ServerRunConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CliEnv ¶ added in v0.112.0
CliEnv expands env with cli specific env vars - to been able to resend it back to cli from js SDK
func KillExistingHooksProcess ¶ added in v0.110.2
func KillExistingHooksProcess(serverListenPort int, log abstractlogger.Logger)
KillExistingHooksProcess kills the existing hooks process before we start the new one some IDEs, like Goland, don't send a SIGINT to the process group this leads to the middleware hooks server (sub-process) not being killed on subsequent runs of the up command, we're not able to listen on the same port
func NewServerRunner ¶
func NewServerRunner(log abstractlogger.Logger, cfg *ServerRunConfig) *scriptrunner.ScriptRunner
func ServerPortFromConfig ¶ added in v0.110.2
Types ¶
Click to show internal directories.
Click to hide internal directories.