Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderConfigFileToTemp ¶
func RenderConfigFileToTemp(configPath string, store SecretStore) (string, func(), error)
RenderConfigFileToTemp renders configPath with store into a temporary 0600 YAML file and returns that path plus a cleanup function. Callers should pass the returned path to downstream code and defer cleanup immediately.
func RenderInstallConfigTemplate ¶
func RenderInstallConfigTemplate(data []byte, store SecretStore) ([]byte, error)
RenderInstallConfigTemplate renders the given config template data, resolving any `secret` template calls against store, and returns the rendered bytes. Referencing a missing template key or a missing secret is treated as an error.
Types ¶
Click to show internal directories.
Click to hide internal directories.