Documentation ¶
Index ¶
- Constants
- Variables
- func LoadTemplate(templatePath string, tagFilter *filter.TagFilter, extraTags []string, ...) (bool, error)
- func LoadWorkflow(templatePath string, catalog catalog.Catalog) (bool, error)
- func NewLoader(options *protocols.ExecutorOptions) (model.WorkflowLoader, error)
- func ParseTemplate(templatePath string, catalog catalog.Catalog) (*templates.Template, error)
Constants ¶
View Source
const ( CouldNotLoadTemplate = "Could not load template %s: %s" LoadedWithWarnings = "Loaded template %s: with syntax warning : %s" )
View Source
const ( SyntaxWarningStats = "syntax-warnings" SyntaxErrorStats = "syntax-errors" RuntimeWarningsStats = "runtime-warnings" UnsignedWarning = "unsigned-warnings" HeadlessFlagWarningStats = "headless-flag-missing-warnings" TemplatesExecutedStats = "templates-executed" CodeFlagWarningStats = "code-flag-missing-warnings" )
Variables ¶
View Source
var ( ShouldValidate bool NoStrictSyntax bool )
Functions ¶
func LoadTemplate ¶
func LoadTemplate(templatePath string, tagFilter *filter.TagFilter, extraTags []string, catalog catalog.Catalog) (bool, error)
LoadTemplate returns true if the template is valid and matches the filtering criteria.
func LoadWorkflow ¶
LoadWorkflow returns true if the workflow is valid and matches the filtering criteria.
func NewLoader ¶
func NewLoader(options *protocols.ExecutorOptions) (model.WorkflowLoader, error)
NewLoader returns a new workflow loader structure
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.