Documentation
¶
Index ¶
- Variables
- func IsAppURI(i interface{}, path cty.Path) diag.Diagnostics
- func IsHTTPOrHTTPSURL(i interface{}, path cty.Path) diag.Diagnostics
- func IsHTTPSURL(i interface{}, path cty.Path) diag.Diagnostics
- func IsURI(validURLSchemes []string, URNAllowed bool) schema.SchemaValidateDiagFunc
- func NoEmptyStrings(i interface{}, path cty.Path) (ret diag.Diagnostics)
- func StringIsEmailAddress(i interface{}, path cty.Path) (ret diag.Diagnostics)
- func UUID(i interface{}, path cty.Path) (ret diag.Diagnostics)
Constants ¶
This section is empty.
Variables ¶
View Source
var UUIDRegExp = regexp.MustCompile("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$")
Functions ¶
func IsHTTPOrHTTPSURL ¶
func IsHTTPOrHTTPSURL(i interface{}, path cty.Path) diag.Diagnostics
func IsHTTPSURL ¶
func IsHTTPSURL(i interface{}, path cty.Path) diag.Diagnostics
func NoEmptyStrings ¶
func NoEmptyStrings(i interface{}, path cty.Path) (ret diag.Diagnostics)
NoEmptyStrings validates that the string is not just whitespace characters (equal to [\r\n\t\f\v ])
func StringIsEmailAddress ¶
func StringIsEmailAddress(i interface{}, path cty.Path) (ret diag.Diagnostics)
StringIsEmailAddress validates that the given string is a valid email address (foo@bar.com)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.