Documentation
¶
Index ¶
- func Not(valueValidator validator.Object) validator.Object
- func NullIfAttributeIsOneOf(path path.Expression, exceptedValue []attr.Value) validator.Object
- func NullIfAttributeIsSet(path path.Expression) validator.Object
- func RequireIfAttributeIsOneOf(path path.Expression, exceptedValue []attr.Value) validator.Object
- func RequireIfAttributeIsSet(path path.Expression) validator.Object
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 ¶
NullIfAttributeIsOneOf checks if the path.Path attribute contains one of the exceptedValue attr.Value.
func NullIfAttributeIsSet ¶
func NullIfAttributeIsSet(path path.Expression) validator.Object
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 ¶
func RequireIfAttributeIsSet(path path.Expression) validator.Object
RequireIfAttributeIsSet checks if the path.Path attribute is set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.