Documentation ¶
Overview ¶
package vmconfig reads in a config file for the vmbetter tool. vmconfig config files use valid Go syntax and are parsed by a go lexical scanner.
See example.conf in the vmconfig source tree for an example.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Path string // path to the head config file (passed to vmbetter) Parents []string // paths to all dependent config files in order Packages []string // list of in order packages to include (although order shouldn't matter) Overlays []string // reverse order list of overlays Postbuilds []string // post build commands Constraints []string // constraints used when parsing file }
Config contains a complete vmconfig configuration and is returned by ReadConfig. Config also contains the vmconfig parameters, in depth-first order of any parents inherited by the top level config.
Click to show internal directories.
Click to hide internal directories.