diff options
Diffstat (limited to 'vendor/github.com/hashicorp/hil/eval_type.go')
-rw-r--r-- | vendor/github.com/hashicorp/hil/eval_type.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/hil/eval_type.go b/vendor/github.com/hashicorp/hil/eval_type.go new file mode 100644 index 0000000..6946ecd --- /dev/null +++ b/vendor/github.com/hashicorp/hil/eval_type.go | |||
@@ -0,0 +1,16 @@ | |||
1 | package hil | ||
2 | |||
3 | //go:generate stringer -type=EvalType eval_type.go | ||
4 | |||
5 | // EvalType represents the type of the output returned from a HIL | ||
6 | // evaluation. | ||
7 | type EvalType uint32 | ||
8 | |||
9 | const ( | ||
10 | TypeInvalid EvalType = 0 | ||
11 | TypeString EvalType = 1 << iota | ||
12 | TypeBool | ||
13 | TypeList | ||
14 | TypeMap | ||
15 | TypeUnknown | ||
16 | ) | ||