Documentation
¶
Index ¶
- func WithDestinationIgnorePaths(destinationIgnorePaths []string) func(tp *FileTreeProcessor)
- func WithErrorOnMissingKey(errorOnMissingKey bool) func(tp *FileTreeProcessor)
- func WithSourceIgnorePaths(sourceIgnorePaths []string) func(tp *FileTreeProcessor)
- func WithTemplateService(templateService *templateservice.SprigTemplate) func(tp *FileTreeProcessor)
- type FileTreeProcessor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDestinationIgnorePaths ¶ added in v0.0.7
func WithDestinationIgnorePaths(destinationIgnorePaths []string) func(tp *FileTreeProcessor)
func WithErrorOnMissingKey ¶
func WithErrorOnMissingKey(errorOnMissingKey bool) func(tp *FileTreeProcessor)
func WithSourceIgnorePaths ¶ added in v0.0.7
func WithSourceIgnorePaths(sourceIgnorePaths []string) func(tp *FileTreeProcessor)
func WithTemplateService ¶
func WithTemplateService(templateService *templateservice.SprigTemplate) func(tp *FileTreeProcessor)
Types ¶
type FileTreeProcessor ¶
type FileTreeProcessor struct {
// contains filtered or unexported fields
}
func NewFileTreeProcessor ¶
func NewFileTreeProcessor(sourcePath, destinationPathRoot string, options ...func(*FileTreeProcessor)) *FileTreeProcessor
func (*FileTreeProcessor) Cleanup ¶
func (tp *FileTreeProcessor) Cleanup() error
func (*FileTreeProcessor) Render ¶
func (tp *FileTreeProcessor) Render(withVariables map[string]interface{}) error
func (*FileTreeProcessor) WorkingDir ¶
func (tp *FileTreeProcessor) WorkingDir() string
Click to show internal directories.
Click to hide internal directories.