diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/configs/provisionerwhen_string.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/configs/provisionerwhen_string.go | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/configs/provisionerwhen_string.go b/vendor/github.com/hashicorp/terraform/configs/provisionerwhen_string.go new file mode 100644 index 0000000..9f21b3a --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/configs/provisionerwhen_string.go | |||
@@ -0,0 +1,25 @@ | |||
1 | // Code generated by "stringer -type ProvisionerWhen"; DO NOT EDIT. | ||
2 | |||
3 | package configs | ||
4 | |||
5 | import "strconv" | ||
6 | |||
7 | func _() { | ||
8 | // An "invalid array index" compiler error signifies that the constant values have changed. | ||
9 | // Re-run the stringer command to generate them again. | ||
10 | var x [1]struct{} | ||
11 | _ = x[ProvisionerWhenInvalid-0] | ||
12 | _ = x[ProvisionerWhenCreate-1] | ||
13 | _ = x[ProvisionerWhenDestroy-2] | ||
14 | } | ||
15 | |||
16 | const _ProvisionerWhen_name = "ProvisionerWhenInvalidProvisionerWhenCreateProvisionerWhenDestroy" | ||
17 | |||
18 | var _ProvisionerWhen_index = [...]uint8{0, 22, 43, 65} | ||
19 | |||
20 | func (i ProvisionerWhen) String() string { | ||
21 | if i < 0 || i >= ProvisionerWhen(len(_ProvisionerWhen_index)-1) { | ||
22 | return "ProvisionerWhen(" + strconv.FormatInt(int64(i), 10) + ")" | ||
23 | } | ||
24 | return _ProvisionerWhen_name[_ProvisionerWhen_index[i]:_ProvisionerWhen_index[i+1]] | ||
25 | } | ||