diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/helper/schema/valuetype.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/helper/schema/valuetype.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/helper/schema/valuetype.go b/vendor/github.com/hashicorp/terraform/helper/schema/valuetype.go new file mode 100644 index 0000000..9286987 --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/helper/schema/valuetype.go | |||
@@ -0,0 +1,21 @@ | |||
1 | package schema | ||
2 | |||
3 | //go:generate stringer -type=ValueType valuetype.go | ||
4 | |||
5 | // ValueType is an enum of the type that can be represented by a schema. | ||
6 | type ValueType int | ||
7 | |||
8 | const ( | ||
9 | TypeInvalid ValueType = iota | ||
10 | TypeBool | ||
11 | TypeInt | ||
12 | TypeFloat | ||
13 | TypeString | ||
14 | TypeList | ||
15 | TypeMap | ||
16 | TypeSet | ||
17 | typeObject | ||
18 | ) | ||
19 | |||
20 | // NOTE: ValueType has more functions defined on it in schema.go. We can't | ||
21 | // put them here because we reference other files. | ||