Documentation
¶
Overview ¶
Package config reads and writes install settings: built-in defaults, then <BB_HOME>/config.yaml, then BB_* environment variables, merged with bkit settings.
Index ¶
Constants ¶
const DefaultDomain = "bb.internal"
DefaultDomain is the default service domain. .internal is reserved for private use and never resolves publicly.
const EnvPrefix = "BB_"
EnvPrefix marks environment variables that override settings.
const FormatVersion = 1
FormatVersion is the config.yaml version this build writes.
Variables ¶
var Keys = []Key{ { Name: "domain", Help: "DNS domain for service names and certificates; changing it mints a new CA", Default: DefaultDomain, // contains filtered or unexported fields }, }
Keys lists every setting.
Functions ¶
Types ¶
type Key ¶
type Key struct {
Name string
Help string
Default string
// contains filtered or unexported fields
}
Key describes one setting.