Documentation
¶
Overview ¶
Package config defines a configuration engine based on JavaScript. A configuration is built from a set of JavaScript source files and executed to generate a state object, which is provided to components such as the reconfigurer for resolving state changes. JavaScript is used so certain common expressions can be re-used, or targets can be conditionally resolved based on input variables such as the machine's hostname.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
State represents a desired system state
func ConfigFromDirectory ¶
ConfigFromDirectory searches a directory for configuration files and constructs a desired state from the declarations.
Click to show internal directories.
Click to hide internal directories.