Documentation ¶
Index ¶
- func ApplyArrayReplacements(in string, stringReplacements map[string]string, ...) []string
- func ApplyReplacements(in string, replacements map[string]string) string
- func ValidateEntireVariableProhibitedP(value, prefix string, vars sets.String) *apis.FieldError
- 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 ValidateVariableIsolatedP(value, prefix string, vars sets.String) *apis.FieldError
- func ValidateVariableP(value, prefix string, vars sets.String) *apis.FieldError
- func ValidateVariableProhibited(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
- func ValidateVariableProhibitedP(value, prefix 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
ApplyArrayReplacements takes 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 ApplyReplacements ¶
ApplyReplacements applies string replacements
func ValidateEntireVariableProhibitedP ¶ added in v0.37.0
func ValidateEntireVariableProhibitedP(value, prefix string, vars sets.String) *apis.FieldError
ValidateEntireVariableProhibitedP verifies that values of object type are not used as whole.
func ValidateVariable ¶
func ValidateVariable(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
ValidateVariable makes sure all variables in the provided string are known
func ValidateVariableIsolated ¶
func ValidateVariableIsolated(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
ValidateVariableIsolated verifies that variables matching the relevant string expressions are completely isolated if present.
func ValidateVariableIsolatedP ¶ added in v0.17.0
func ValidateVariableIsolatedP(value, prefix string, vars sets.String) *apis.FieldError
ValidateVariableIsolatedP verifies that variables matching the relevant string expressions are completely isolated if present.
func ValidateVariableP ¶ added in v0.17.0
func ValidateVariableP(value, prefix string, vars sets.String) *apis.FieldError
ValidateVariableP makes sure all variables for a parameter in the provided string are known
func ValidateVariableProhibited ¶
func ValidateVariableProhibited(name, value, prefix, locationName, path string, vars sets.String) *apis.FieldError
ValidateVariableProhibited verifies that variables matching the relevant string expressions do not reference any of the names present in vars.
func ValidateVariableProhibitedP ¶ added in v0.17.0
func ValidateVariableProhibitedP(value, prefix string, vars sets.String) *apis.FieldError
ValidateVariableProhibitedP verifies that variables for a parameter matching the relevant string expressions do not reference any of the names present in vars.
Types ¶
This section is empty.