Documentation
¶
Overview ¶
Package globalconfig loads and validates the user-level dark-factory configuration from ~/.dark-factory/config.yaml.
Index ¶
Constants ¶
View Source
const DefaultMaxContainers = 3
DefaultMaxContainers is the system-wide container limit when no config is set.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalConfig ¶
type GlobalConfig struct {
MaxContainers int `yaml:"maxContainers"`
}
GlobalConfig holds the user-level dark-factory configuration. It is loaded from ~/.dark-factory/config.yaml once at daemon startup. When the file does not exist or the field is omitted, defaults apply.
Click to show internal directories.
Click to hide internal directories.