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