Documentation ¶
Overview ¶
Package substitution contains useful functionality for validating variables
Index ¶
- Constants
- Variables
- func TektonValidateSingleVariable(vars sets.String, path string, name, value, locationName, v string) *apis.FieldError
- func ValidateVariable(name, value, prefix, locationName, path string, vars sets.String, ...) *apis.FieldError
- func VersionValidateSingleVariable(vars sets.String, path string, name, value, locationName, v string) *apis.FieldError
- type GetValWithKeyFunc
- type ValidateSingleVariableFunc
Constants ¶
View Source
const BraceMatchingRegex = "(\\$(\\(%s\\.(?P<var>%s)\\)))"
Variables ¶
View Source
var MergeMap = maps.MergeMap
MergeMap merges the right map into left map overwritting any matching keys Deprecated: use maps.MergeMap instead
View Source
var MergeMapSlice = maps.MergeMapSlice
MergeMapSlice merges the right map into left map overwritting any matching keys Deprecated: use maps.MergeMapSlice instead
Functions ¶
func ValidateVariable ¶
func ValidateVariable(name, value, prefix, locationName, path string, vars sets.String, paramSubstitution string, validateFunc ValidateSingleVariableFunc) *apis.FieldError
Types ¶
type GetValWithKeyFunc ¶
GetValWithKeyFunc standard function to extract value maps from objects
Click to show internal directories.
Click to hide internal directories.