Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysinitCfg ¶
type SysinitCfg struct { // Sorted in call order (stage-num,function-name). StageFuncs []stage.StageFunc // Strings describing errors encountered while parsing the sysinit 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) SysinitCfg
func (*SysinitCfg) EnsureWritten ¶
func (scfg *SysinitCfg) EnsureWritten(lpkgs []*pkg.LocalPackage, srcDir string, targetName string, isLoader bool) error
func (*SysinitCfg) ErrorText ¶
func (scfg *SysinitCfg) ErrorText() string
If any errors were encountered while parsing sysinit 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.