Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSecretPath string = "/var/openfaas/secrets/"
DefaultSecretPath points to the default secret path, defined in openfaas
Functions ¶
func GetSecret ¶
GetSecret fetches the the Secret identified by secretName from the openfaas Secrets folder.
Most of the function is copied from the openfaas docs.
func GetSecretAsInt ¶
GetSecretAsInt converts the data from GetSecret to int
func GetSecretAsString ¶
GetSecretAsString converts the data from GetSecret to string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.