Documentation
¶
Index ¶
- func ApplyArrayReplacements(in string, stringReplacements map[string]string, ...) []string
- func ApplyReplacements(in string, replacements map[string]string) string
- func ValidateVariable(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
- func ValidateVariableIsolated(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
- func ValidateVariableProhibited(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyArrayReplacements ¶
func ApplyArrayReplacements(in string, stringReplacements map[string]string, arrayReplacements map[string][]string) []string
Take an input string, and output an array of strings related to possible arrayReplacements. If there aren't any areas where the input can be split up via arrayReplacements, then just return an array with a single element, which is ApplyReplacements(in, replacements).
func ValidateVariable ¶
func ValidateVariable(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
func ValidateVariableIsolated ¶
func ValidateVariableIsolated(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
Verifies that variables matching the relevant string expressions are completely isolated if present.
func ValidateVariableProhibited ¶
func ValidateVariableProhibited(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
Verifies that variables matching the relevant string expressions do not reference any of the names present in vars.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.