Moved to google.golang.org/genproto/googleapis/api/annotations
Fixes #52
This commit is contained in:
24
vendor/github.com/Masterminds/sprig/docs/os.md
generated
vendored
Normal file
24
vendor/github.com/Masterminds/sprig/docs/os.md
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
# OS Functions
|
||||
|
||||
_WARNING:_ These functions can lead to information leakage if not used
|
||||
appropriately.
|
||||
|
||||
_WARNING:_ Some notable implementations of Sprig (such as
|
||||
[Kubernetes Helm](http://helm.sh) _do not provide these functions for security
|
||||
reasons_.
|
||||
|
||||
## env
|
||||
|
||||
The `env` function reads an environment variable:
|
||||
|
||||
```
|
||||
env "HOME"
|
||||
```
|
||||
|
||||
## expandenv
|
||||
|
||||
To substitute environment variables in a string, use `expandenv`:
|
||||
|
||||
```
|
||||
expandenv "Your path is set to $PATH"
|
||||
```
|
||||
Reference in New Issue
Block a user