Documentation ¶
Index ¶
- func CliEnv(flags RootFlags) []string
- func GlobalWunderGraphCacheDir() (string, error)
- func KillExistingHooksProcess(serverListenPort int, log *zap.Logger)
- func NewServerRunner(log *zap.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 GlobalWunderGraphCacheDir ¶ added in v0.121.0
GlobalWunderGraphCacheDir returns the path to the global cache directory for WunderGraph
func KillExistingHooksProcess ¶ added in v0.110.2
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 *zap.Logger, cfg *ServerRunConfig) *scriptrunner.ScriptRunner
func ServerPortFromConfig ¶ added in v0.110.2
Types ¶
Click to show internal directories.
Click to hide internal directories.