Documentation
¶
Overview ¶
Package processconfig is the process settings Core loads from its environment. Startup and `oac-core check-config` both call Check. Settings reports the effective values for GET /core/v1/installation. Errors name the variable and never include its value.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check() error
Check validates every process setting Core loads. An unset or empty variable keeps its default, so Compose can pass every setting through.
func DefaultHarness ¶
DefaultHarness reads OAC_DEFAULT_HARNESS, the Harness used when a request names none.
func ExecutionConcurrency ¶
ExecutionConcurrency reads OAC_EXECUTION_CONCURRENCY. Unset or empty keeps the default.
func Harnesses ¶
Harnesses reads OAC_HARNESSES. Unset enables every Harness this build supports; a list supplements the default Harness.
func InstallationID ¶
InstallationID reads the file named by OAC_INSTALLATION_ID_FILE. The ID enables the sandbox deployment and node routes; unset leaves them off.
func PublicURL ¶
PublicURL reads OAC_PUBLIC_URL, the one origin applications, nodes, sandboxes and self-hosted executors use. An empty result disables daemon transport, as for a Core without execution.
func Settings ¶
func Settings() ([]api.InstallationSetting, error)
Settings is the effective process configuration. Sensitive file settings report only whether they are configured.
Types ¶
This section is empty.