Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoParent = errors.New("missing parent section")
ErrNoParent is raised when there is an instruction but has no parent section
View Source
var ErrNullContext = errors.New("null context")
ErrNullContext is raised when the given context is nil
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct { // Context is the linux distribution-specified execution context (package manager, service manager, etc) Context *instruction.ExecutionContext // Content is the instruction list Content map[string]*[]instruction.T }
Reader is the buildfile reader
func NewReader ¶
func NewReader(ctx *instruction.ExecutionContext, buildfile io.Reader) (*Reader, error)
NewReader creates a new reader for the specified build file and linux distribution
Click to show internal directories.
Click to hide internal directories.