Commit 4cac7f4c
4cac7f4ceb5dMerged
ΠΠΌΠΈΡΡΠΈΠΉ ΠΠΈΠ»ΡΠ΅Π² <[email protected]> Β· 6 years ago Β· 1 file Β· ~1 modified
Description
more funcMap
Details
- Commit
- 4cac7f4ceb5d
- Parent
- 9b99792cb641
README.mdmodifiedView file
@@ -237,9 +237,11 @@
237237
HelmWave uses [Go templates](https://godoc.org/text/template) for templating.238238
239239
Helmwave supports all built-in functions, [Sprig library](https://godoc.org/github.com/Masterminds/sprig), and several advanced functions:240-
- `toYaml`241-
- `fromYaml`240+
- `toYaml` marshals a map into a string241+
- `fromYaml` reads a golang string and generates a map242242
- `get` (Sprig's original `get` is available as `sprigGet`)243+
- `setValueAtPath` PATH NEW_VALUE traverses a golang map, replaces the value at the PATH with NEW_VALUE244+
- `requiredEnv` The requiredEnv function allows you to declare a particular environment variable as required for template rendering. If the environment variable is unset or empty, the template rendering will fail with an error message.243245
244246
I am working for added more functions. 245247