Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectedProject ¶
type DetectedRooModule ¶
type DetectedRooModule struct {
Path string
Projects []DetectedProject
}
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser is the representation of an initialized C3X template parser. It exposes custom template functions to the user which can act on Parser.repoDir or in isolation.
func NewParser ¶
NewParser returns a safely initialized C3X template parser, this builds the underlying template with the Parser functions and sets the underlying default template name. Default variables can be passed to the parser which will be passed to the template on execution.
type Variables ¶
type Variables struct {
RepoName string
Branch string
BaseBranch string
DetectedProjects []DetectedProject
DetectedRootModules []DetectedRooModule
}
Variables hold the global variables that are passed into any template that the Parser evaluates.
Click to show internal directories.
Click to hide internal directories.