Documentation ¶
Index ¶
- func IPv4Address(i interface{}, k string) (_ []string, errors []error)
- func IPv4AddressOrEmpty(i interface{}, k string) (_ []string, errors []error)
- func IntBetweenAndNot(min, max, not int) schema.SchemaValidateFunc
- func MACAddress(i interface{}, k string) (_ []string, errors []error)
- func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc
- func RFC3339Time(i interface{}, k string) (_ []string, errors []error)
- func URLIsHTTPOrHTTPS(i interface{}, k string) (_ []string, errors []error)
- func URLWithScheme(validSchemes []string) schema.SchemaValidateFunc
- func UUID(i interface{}, k string) (_ []string, errors []error)
- func UrlIsHttpOrHttps() schema.SchemaValidateFunc
- func UrlWithScheme(validSchemes []string) schema.SchemaValidateFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IPv4Address ¶ added in v1.9.0
func IPv4AddressOrEmpty ¶ added in v1.9.0
func IntBetweenAndNot ¶ added in v1.9.0
func IntBetweenAndNot(min, max, not int) schema.SchemaValidateFunc
func MACAddress ¶ added in v1.9.0
func RFC3339DateInFutureBy ¶ added in v1.9.0
func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc
RFC3339 date is duration d or greater into the future
func RFC3339Time ¶ added in v1.9.0
todo, now in terraform helper, switch over once vended -> https://github.com/hashicorp/terraform/blob/master/helper/validation/validation.go#L263
func URLIsHTTPOrHTTPS ¶ added in v1.9.0
func URLWithScheme ¶ added in v1.9.0
func URLWithScheme(validSchemes []string) schema.SchemaValidateFunc
func UrlIsHttpOrHttps ¶ added in v1.9.0
func UrlIsHttpOrHttps() schema.SchemaValidateFunc
func UrlWithScheme ¶ added in v1.9.0
func UrlWithScheme(validSchemes []string) schema.SchemaValidateFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.