processconfig

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func DefaultHarness() (string, error)

DefaultHarness reads OAC_DEFAULT_HARNESS, the Harness used when a request names none.

func ExecutionConcurrency

func ExecutionConcurrency() (int, error)

ExecutionConcurrency reads OAC_EXECUTION_CONCURRENCY. Unset or empty keeps the default.

func Harnesses

func Harnesses(defaultEngine string) ([]string, error)

Harnesses reads OAC_HARNESSES. Unset enables every Harness this build supports; a list supplements the default Harness.

func InstallationID

func InstallationID() (string, error)

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

func PublicURL() (string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL