sysdown

package
v0.0.0-...-dab1723 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL