Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONSchemaValidator ¶
JSONSchemaValidator returns a validator which ensures that a string attribute is a valid JSON and doesn't exceed the maximum allowed nesting depth
func RegexMatches ¶
RegexMatches returns a validator.String that ensures any configured value matches the provided regular expression pattern. Null and unknown values are skipped. An optional message can be provided to customize the error output.
func StringListAllowedValues ¶
StringListAllowedValues returns a validator that ensures each string in a list matches one of the allowed values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.