mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 03:02:07 +02:00
@@ -10,6 +10,7 @@ type TextRenderer interface {
|
||||
RenderTemplateText(text string) (string, error)
|
||||
}
|
||||
|
||||
// nolint: golint
|
||||
func NewTextRenderer(readFile func(filename string) ([]byte, error), basePath string, data interface{}) *templateTextRenderer {
|
||||
return &templateTextRenderer{
|
||||
ReadText: readFile,
|
||||
|
||||
Reference in New Issue
Block a user