Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntBetween ¶
func IntBetween(min, max int) schema.SchemaValidateFunc
IntBetween returns a SchemaValidateFunc which tests if the provided value is of type int and is between min and max (inclusive)
func StringInSlice ¶
func StringInSlice(valid []string, ignoreCase bool) schema.SchemaValidateFunc
StringInSlice returns a SchemaValidateFunc which tests if the provided value is of type string and matches the value of an element in the valid slice will test with in lower case if ignoreCase is true
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.