# Functions
ErrDisallowedFields is a variadic helper method for constructing a FieldError for a set of disallowed fields.
ErrDisallowedUpdateDeprecatedFields is a variadic helper method for constructing a FieldError for updating of deprecated fields.
ErrDuplicate constructs a FieldError for a field value that has been duplicated when it should have been unique.
ErrIfBlank returns an error if the value is a blank string.
ErrIfDuplicate returns error when a value is duplicated when it should be unique.
ErrIfNil returns an error if the value is nil.
ErrIfNotHCL returns an error if the value is not valid HCL.
ErrIfNotJSON returns an error if the value is not valid JSON.
ErrIfNotJSONSchemaType returns an error if the value is not a valid JSON schema type.
ErrIfNotMatch returns an error if the value doesn't match the regex.
ErrIfNotOSBName returns an error if the value is not a valid OSB name.
ErrIfNotTerraformAttributePath returns an error if the value is not a valid Terraform identifier for an attribute in the HCL.
ErrIfNotTerraformIdentifier returns an error if the value is not a valid Terraform identifier.
ErrIfNotURL returns an error if the value is not a valid URL.
ErrIfNotUUID returns an error if the value is not a valid UUID.
ErrIfOutsideLength returns an error if the length of the specified string is outside the specified length range.
ErrInvalidArrayValue constructs a FieldError for a repetitive `field` at `index` that has received an invalid string value.
ErrInvalidKeyName is a variadic helper method for constructing a FieldError that specifies a key name that is invalid.
ErrInvalidValue constructs a FieldError for a field that has received an invalid string value.
ErrMissingField is a variadic helper method for constructing a FieldError for a set of missing fields.
ErrMissingOneOf is a variadic helper method for constructing a FieldError for not having at least one field in a mutually exclusive field group.
ErrMultipleOneOf is a variadic helper method for constructing a FieldError for having more than one field set in a mutually exclusive field group.
ErrMustMatch notifies the user a field must match a regex.
ErrOutOfBoundsValue constructs a FieldError for a field that has received an out of bound value.
ErrOutsideLength constructs a FieldError for a field that has received a value that is outside the range.
NewConstraintBuilder creates a builder for JSON Schema compliant constraint lists.
# Constants
CurrentField is a constant to supply as a fieldPath for when there is a problem with the current field itself.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
FieldError is used to propagate the context of errors pertaining to specific fields in a manner suitable for use in a recursive walk, so that errors contain the appropriate field context.
ValidatableTest is a standard way of testing Validatable types.
# Interfaces
Testable is a type derived from testing.T.
Validatable indicates that a particular type may have its fields validated.
# Type aliases
ConstraintBuilder - A builder for JSON Schema compliant constraint lists.