Documentation
¶
Index ¶
- func DeletePath(filePath string)
- func InterpolateFiles(inputPath string, variables map[string]string) string
- func InterpolateStaticFiles(inputPath string, variables map[string]string) string
- func ReadFileIntoString(filePath string) string
- func WriteStringToTemporaryFile(fileContents string, filePath string) (outputfolder string, outputfile string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterpolateFiles ¶ added in v0.1.2
InterpolateFiles loads all the files in given path, replaces the variables based on the given dictionary, and returns the path to the generated directory where the results are stored
func InterpolateStaticFiles ¶ added in v0.1.2
InterpolateStaticFiles loads all the files in given resource path. E.g.: pkg/azuredevops/global It depends on resource embedding, that can be triggered by go generate. Replaces the variables based on the given dictionary, and returns the path to the generated directory where the results are stored
func ReadFileIntoString ¶ added in v0.1.2
ReadFileIntoString reads the given file (path) and returns a deserialized string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.