package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jan 13, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Dir string `yaml:"-"`
Path string `yaml:"-"`
Debug bool `yaml:"debug"`
}
type File struct {
Target string `yaml:"target"`
Source string `yaml:"source"`
DisableTemplating bool `yaml:"disable_templating"`
}
type Filters struct {
OperatingSystem []string `yaml:"os"`
Distribution []string `yaml:"distro"`
Architecture []string `yaml:"arch"`
}
type InnerModule struct {
Name string `yaml:"name"`
Source string `yaml:"source"`
DependsOn []string `yaml:"depends_on"`
Variables map[string]interface{} `yaml:"variables"`
Filters Filters `yaml:"filters"`
}
type Override struct {
Variables map[string]interface{} `yaml:"variables"`
}
type Script struct {
Command string `yaml:"command"`
Sudo bool `yaml:"sudo"`
}
type Scripts struct {
UpdateRequired Script `yaml:"should_update"`
Update Script `yaml:"update"`
InstallRequired Script `yaml:"should_install"`
Install Script `yaml:"install"`
AfterFileChange Script `yaml:"after_file_change"`
}
type Variable struct {
Name string `yaml:"name"`
Default interface{} `yaml:"default"`
Required bool `yaml:"required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.