validators

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringIsOneOf

func StringIsOneOf(valueDescription string, permittedValues ...string) schema.SchemaValidateFunc

StringIsOneOf creates a validator for Terraform schema values that ensures the supplied value is one of the specified strings.

func StringIsOneOfCaseInsensitive

func StringIsOneOfCaseInsensitive(valueDescription string, permittedValues ...string) schema.SchemaValidateFunc

StringIsOneOfCaseInsensitive creates a validator for Terraform schema values that ensures the supplied value is one of the specified strings (case-insensitive).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL