Documentation ¶
Index ¶
- func Not(valueValidator validator.Map) validator.Map
- func NullIfAttributeIsOneOf(path path.Expression, exceptedValue []attr.Value) validator.Map
- func NullIfAttributeIsSet(path path.Expression) validator.Map
- func RequireIfAttributeIsOneOf(path path.Expression, exceptedValue []attr.Value) validator.Map
- func RequireIfAttributeIsSet(path path.Expression) validator.Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Not ¶
Not returns a validator which ensures that the validators passed as arguments are not met.
func NullIfAttributeIsOneOf ¶ added in v1.6.0
NullIfAttributeIsOneOf checks if the path.Path attribute contains one of the exceptedValue attr.Value.
func NullIfAttributeIsSet ¶ added in v1.8.0
func NullIfAttributeIsSet(path path.Expression) validator.Map
NullIfAttributeIsSet checks if the path.Path attribute contains one of the exceptedValue attr.Value.
func RequireIfAttributeIsOneOf ¶
RequireIfAttributeIsOneOf checks if the path.Path attribute contains one of the exceptedValue attr.Value.
func RequireIfAttributeIsSet ¶ added in v1.8.0
func RequireIfAttributeIsSet(path path.Expression) validator.Map
RequireIfAttributeIsSet checks if the path.Path attribute is set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.