substitution

package
v0.0.0-...-b563e91 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

func ApplyReplacements(in string, replacements map[string]string) string

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

ValidateVariableIsolated verifies that variables matching the relevant string expressions are completely isolated if present.

func ValidateVariableIsolatedP

func ValidateVariableIsolatedP(value, prefix string, vars sets.String) *apis.FieldError

func ValidateVariableP

func ValidateVariableP(value, prefix string, vars sets.String) *apis.FieldError

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

func ValidateVariableProhibitedP(value, prefix string, vars sets.String) *apis.FieldError

Types

This section is empty.

Jump to

Keyboard shortcuts

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