Documentation ¶
Index ¶
- func AddDirToTemplateSearchPath(dir string)
- func RenderConfiguration(origin string, destDir string, opts CfgOpts) error
- func RenderSampleProcessCheck(file string, opts CfgOpts) error
- func RenderTemplate(id string, dest string, opts CfgOpts) error
- func Subst(origin string, dest string, opts CfgOpts) error
- func SubstText(text string, file string, opts CfgOpts) error
- type CfgOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDirToTemplateSearchPath ¶
func AddDirToTemplateSearchPath(dir string)
AddDirToTemplateSearchPath allows adding an extra dir to look for templates
func RenderConfiguration ¶
RenderConfiguration copies the files at origin into destDir, replacing templates in the process
func RenderSampleProcessCheck ¶
RenderSampleProcessCheck writes a sample process check configuration file into file with the provided opts settings
func RenderTemplate ¶
RenderTemplate renders a built-in template into the destination dest with the provided opts settings
Types ¶
Click to show internal directories.
Click to hide internal directories.