Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysdownCfg ¶
type SysdownCfg struct { // Sorted in call order (stage-num,function-name). StageFuncs []stage.StageFunc // Strings describing errors encountered while parsing the sysdown config. InvalidSettings []string // Contains sets of entries with conflicting function names. // [function-name] => <slice-of-stages-with-function-name> Conflicts map[string][]stage.StageFunc }
func Read ¶
func Read(lpkgs []*pkg.LocalPackage, cfg *syscfg.Cfg) SysdownCfg
func (*SysdownCfg) EnsureWritten ¶
func (scfg *SysdownCfg) EnsureWritten(lpkgs []*pkg.LocalPackage, srcDir string, targetName string, isLoader bool) error
func (*SysdownCfg) ErrorText ¶
func (scfg *SysdownCfg) ErrorText() string
If any errors were encountered while parsing sysdown definitions, this function returns a string indicating the errors. If no errors were encountered, "" is returned.
Click to show internal directories.
Click to hide internal directories.