Documentation
¶
Overview ¶
Package env answers where Encore tools and resources are located.
Index ¶
- func EncoreBin() option.Option[string]
- func EncoreDaemonLogPath() string
- func EncoreDebug() option.Option[string]
- func EncoreDevDashListenAddr() option.Option[string]
- func EncoreGoRoot() string
- func EncoreMCPSSEListenAddr() option.Option[string]
- func EncoreObjectStorageListAddr() option.Option[string]
- func EncoreRuntimeLib() string
- func EncoreRuntimesPath() string
- func IsSSH() bool
- func List() []string
- func OptEncoreGoRoot() option.Option[string]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncoreBin ¶ added in v1.33.0
EncoreBin reports the path to the directory containing the Encore installation's binaries.
func EncoreDaemonLogPath ¶ added in v1.33.6
func EncoreDaemonLogPath() string
EncoreDaemonLogPath reports the path to the Encore daemon log file. It can be overridden by setting ENCORE_DAEMON_LOG_PATH.
func EncoreDebug ¶ added in v1.56.10
EncoreDebug reports the value of the ENCOREDEBUG environment variable, a comma-separated list of key=value pairs that toggle non-default daemon behavior (e.g. ENCOREDEBUG=sqldbrole=legacy).
func EncoreDevDashListenAddr ¶ added in v1.41.9
EncoreDevDashListenAddr reports the listen address for where the daemon exposes the dev dash. It can be overridden by setting ENCORE_DEVDASH_LISTEN_ADDR.
func EncoreGoRoot ¶
func EncoreGoRoot() string
EncoreGoRoot reports the path to the Encore Go root. It can be overridden by setting ENCORE_GOROOT.
func EncoreMCPSSEListenAddr ¶ added in v1.48.5
EncoreMCPSSEListenAddr reports the listen address for where the daemon exposes the MCP SSE endpoint. It can be overridden by setting ENCORE_MCPSSE_LISTEN_ADDR.
func EncoreObjectStorageListAddr ¶ added in v1.48.5
func EncoreObjectStorageListAddr() option.