Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathFilter ¶
type PathFilter struct {
// contains filtered or unexported fields
}
PathFilter is a path based template filter
func NewPathFilter ¶
func NewPathFilter(config *PathFilterConfig, catalogClient catalog.Catalog) *PathFilter
NewPathFilter creates a new path filter from provided config
func (*PathFilter) Match ¶
func (p *PathFilter) Match(templates []string) map[string]struct{}
Match performs match for path filter on templates and returns final list
func (*PathFilter) MatchIncluded ¶
func (p *PathFilter) MatchIncluded(template string) bool
MatchIncluded returns true if the template was included explicitly
type PathFilterConfig ¶
PathFilterConfig contains configuration options for Path based templates Filter
Click to show internal directories.
Click to hide internal directories.