Documentation
¶
Index ¶
- func EnvMap(replaceMap map[string]string) map[string]interface{}
- func IsMissingVariableErr(err error) bool
- func IsPlaceholder(s string) bool
- func NewPlaceholder(index int) string
- func Replace(s string, replaceMap map[string]string, allowUnresolved bool) (string, error)
- func ReplaceStrict(s string, replaceMap map[string]string, strictPrefixes []string) (string, error)
- func ResolveVar(s string, m map[string]interface{}) (interface{}, error)
- func Validate(s string, validator func(tag string) error) error
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMissingVariableErr ¶ added in v3.7.11
func IsPlaceholder ¶ added in v3.7.11
IsPlaceholder reports whether s is an internal Argo placeholder value.
func NewPlaceholder ¶ added in v3.7.11
NewPlaceholder generates an internal Argo placeholder string for the given index.
func ReplaceStrict ¶ added in v3.7.11
ReplaceStrict behaves like Replace but enforces that tags starting with any of strictPrefixes MUST be resolved, even if allowUnresolved behavior is otherwise active (implicit).
func ResolveVar ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.