envsubst

package
v3.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitYAML

func SplitYAML(in io.Reader, callback func([]byte) error) error

SplitYAML into separate documents.

func StrictEval

func StrictEval(in string, mapping func(string) string) (out string, err error)

StrictEval is similar to Eval of github.com/drone/envsubst, but logs a warning when a variable is missing.

func StrictEvalEnv

func StrictEvalEnv(s string) (string, error)

StrictEvalEnv is similar to EvalEnv of github.com/drone/envsubst, but logs a warning when a variable is missing.

func SubstituteVariables

func SubstituteVariables(ctx context.Context, res *resource.Resource) (*resource.Resource, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL