Versions in this module Expand all Collapse all v0 v0.28.1 Oct 9, 2023 Changes in this version + const FormatRaw + const FormatYAML + const KeyFormat + const KeyInline + const KeyKeys + const KeyName + const KeyPath + const KeyPaths + const KeyPrefix + const KeyProvider + const KeySet + const KeySetForKey + const KeyType + const KeyValuesFrom + const ProviderAzureKeyVault + const ProviderDoppler + const ProviderEcho + const ProviderEnvSubst + const ProviderFile + const ProviderGCPSecretManager + const ProviderGCS + const ProviderGitLab + const ProviderGoogleSheets + const ProviderKms + const ProviderOnePasswordConnect + const ProviderS3 + const ProviderSOPS + const ProviderSSM + const ProviderSecretsManager + const ProviderTFState + const ProviderTFStateAzureRM + const ProviderTFStateGS + const ProviderTFStateRemote + const ProviderTFStateS3 + const ProviderVault + const TypeMap + const TypeString + var Env = applyEnvWithQuote(false) + var EnvFallbackPrefix = "VALS_" + var KnownValuesTypes = []string + var QuotedEnv = applyEnvWithQuote(true) + func Eval(template map[string]interface{}, o ...Options) (map[string]interface{}, error) + func EvalNodes(nodes []yaml.Node, c Options) ([]yaml.Node, error) + func Exec(template map[string]interface{}, args []string, config ...ExecConfig) error + func Get(code string, opts Options) (string, error) + func Inputs(f string) ([]yaml.Node, error) + func Load(conf api.StaticConfig, opt ...Option) (map[string]interface{}, error) + func Output(output io.Writer, format string, nodes []yaml.Node) error + type Evaluator interface + Eval func(map[string]interface{}) (map[string]interface{}, error) + type ExecConfig struct + InheritEnv bool + Options Options + Stderr io.Writer + Stdout io.Writer + StreamYAML string + type Option func(*ctx) + func IgnorePrefix(p string) Option + type Options struct + CacheSize int + ExcludeSecret bool + FailOnMissingKeyInMap bool + LogOutput io.Writer + type Runtime struct + Options Options + func New(opts Options) (*Runtime, error) + func (r *Runtime) Eval(template map[string]interface{}) (map[string]interface{}, error) + func (r *Runtime) Get(code string) (string, error)