Documentation
¶
Overview ¶
Package config defines the doze-aws binary's runtime configuration and its defaults. Construct with Default, overlay a TOML file, then flags, then call Validate — the same flags > file > defaults model as doze-kafka.
Index ¶
Constants ¶
View Source
const DefaultConfigFile = "doze-aws.toml"
DefaultConfigFile is loaded automatically from the working directory when no --config flag is given and the file exists.
View Source
const DefaultStackFile = "stack.yaml"
DefaultStackFile is applied at boot when present and no --stack names one.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ListenAddr is the shared endpoint every enabled service answers on.
ListenAddr string
// DataDir is the root data directory; each service owns a subdirectory.
DataDir string
// Services to enable; empty means every implemented service.
Services []string
// S3Host is the base host for virtual-hosted-style S3 bucket detection
// (reserved until the s3 service lands).
S3Host string
// Console mounts the web management UI at /_console on the shared endpoint.
Console bool
// LambdaIdleTimeout is how long a warm Lambda function keeps its process(es)
// before scaling to zero.
LambdaIdleTimeout time.Duration
// StackFile is a declarative stack.yaml applied at boot (and the default
// target of `doze-aws apply`). Empty auto-detects ./stack.yaml.
StackFile string
}
Config holds every tunable for the doze-aws binary.
Click to show internal directories.
Click to hide internal directories.