Versions in this module Expand all Collapse all v1 v1.15.1 Feb 17, 2020 v1.15.0 Feb 17, 2020 Changes in this version + func IsTag(name string) bool + type Handler func(item *TreeWalkItem) error + type OptionsBuilder interface + BuildOptions func(options interface{}) error + type OptionsLoader struct + Builders []OptionsBuilder + TemplateFunctions template.FuncMap + func NewOptionsLoader(templateFunctions template.FuncMap, builders []OptionsBuilder) *OptionsLoader + func (l *OptionsLoader) AddTemplate(t *OptionsTemplate) + func (l *OptionsLoader) Build(userConfig interface{}) (interface{}, error) + func (l *OptionsLoader) HandleOptions(i *TreeWalkItem) error + type OptionsTemplate struct + Name string + Tags []string + Template *template.Template + type OptionsTemplateList []*OptionsTemplate + func (a OptionsTemplateList) Len() int + func (a OptionsTemplateList) Less(i, j int) bool + func (a OptionsTemplateList) Swap(i, j int) + type TreeWalkItem struct + Context string + Meta string + Name string + Path vfs.Path + RelativePath string + Tags []string + func (i *TreeWalkItem) ReadBytes() ([]byte, error) + func (i *TreeWalkItem) ReadString() (string, error) + type TreeWalker struct + Contexts map[string]Handler + DefaultHandler Handler + Extensions map[string]Handler + Tags sets.String + func (t *TreeWalker) Walk(basedir vfs.Path) error