Documentation ¶
Index ¶
- func AwsKmsConfig() validator.Object
- func StringIsJSON() validator.String
- func StringIsUppercase() schema.SchemaValidateDiagFunc
- func ValidCIDR() validator.String
- func ValidDurationBetween(minMinutes, maxMinutes int) validator.String
- func ValidIP() validator.String
- type AwsKmsConfigValidator
- type CIDRValidator
- type DurationValidator
- type IPValidator
- type JSONStringValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwsKmsConfig ¶
func StringIsJSON ¶
func StringIsUppercase ¶ added in v1.15.2
func StringIsUppercase() schema.SchemaValidateDiagFunc
func ValidDurationBetween ¶
Types ¶
type AwsKmsConfigValidator ¶
type AwsKmsConfigValidator struct{}
func (AwsKmsConfigValidator) Description ¶
func (v AwsKmsConfigValidator) Description(_ context.Context) string
func (AwsKmsConfigValidator) MarkdownDescription ¶
func (v AwsKmsConfigValidator) MarkdownDescription(ctx context.Context) string
func (AwsKmsConfigValidator) ValidateObject ¶
func (v AwsKmsConfigValidator) ValidateObject(ctx context.Context, req validator.ObjectRequest, response *validator.ObjectResponse)
type CIDRValidator ¶
type CIDRValidator struct{}
func (CIDRValidator) Description ¶
func (v CIDRValidator) Description(_ context.Context) string
func (CIDRValidator) MarkdownDescription ¶
func (v CIDRValidator) MarkdownDescription(ctx context.Context) string
func (CIDRValidator) ValidateString ¶
func (v CIDRValidator) ValidateString(ctx context.Context, req validator.StringRequest, response *validator.StringResponse)
type DurationValidator ¶
func (DurationValidator) Description ¶
func (v DurationValidator) Description(_ context.Context) string
func (DurationValidator) MarkdownDescription ¶
func (v DurationValidator) MarkdownDescription(ctx context.Context) string
func (DurationValidator) ValidateString ¶
func (v DurationValidator) ValidateString(ctx context.Context, req validator.StringRequest, response *validator.StringResponse)
type IPValidator ¶
type IPValidator struct{}
func (IPValidator) Description ¶
func (v IPValidator) Description(_ context.Context) string
func (IPValidator) MarkdownDescription ¶
func (v IPValidator) MarkdownDescription(ctx context.Context) string
func (IPValidator) ValidateString ¶
func (v IPValidator) ValidateString(ctx context.Context, req validator.StringRequest, response *validator.StringResponse)
type JSONStringValidator ¶
type JSONStringValidator struct{}
func (JSONStringValidator) Description ¶
func (v JSONStringValidator) Description(_ context.Context) string
func (JSONStringValidator) MarkdownDescription ¶
func (v JSONStringValidator) MarkdownDescription(ctx context.Context) string
func (JSONStringValidator) ValidateString ¶
func (v JSONStringValidator) ValidateString(ctx context.Context, req validator.StringRequest, response *validator.StringResponse)
Click to show internal directories.
Click to hide internal directories.