Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotNull ¶
NotNull returns an validator which ensures that the attribute is configured. Most attributes should set Required: true instead, however in certain scenarios, such as a computed nested attribute, all underlying attributes must also be computed for planning to not show unexpected differences.
Types ¶
type Int64NotNullValidator ¶
type Int64NotNullValidator struct{}
Int64NotNullValidator validates that an attribute is not null. Most attributes should set Required: true instead, however in certain scenarios, such as a computed nested attribute, all underlying attributes must also be computed for planning to not show unexpected differences.
func (Int64NotNullValidator) Description ¶
func (v Int64NotNullValidator) Description(_ context.Context) string
Description describes the validation in plain text formatting.
func (Int64NotNullValidator) MarkdownDescription ¶
func (v Int64NotNullValidator) MarkdownDescription(ctx context.Context) string
MarkdownDescription describes the validation in Markdown formatting.
func (Int64NotNullValidator) ValidateInt64 ¶
func (v Int64NotNullValidator) ValidateInt64(ctx context.Context, req validator.Int64Request, resp *validator.Int64Response)
Validate performs the validation.