diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/github.com/hashicorp/terraform/configs/configschema/nestingmode_string.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/configs/configschema/nestingmode_string.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/configs/configschema/nestingmode_string.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/configs/configschema/nestingmode_string.go b/vendor/github.com/hashicorp/terraform/configs/configschema/nestingmode_string.go new file mode 100644 index 0000000..febe743 --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/configs/configschema/nestingmode_string.go | |||
@@ -0,0 +1,28 @@ | |||
1 | // Code generated by "stringer -type=NestingMode"; DO NOT EDIT. | ||
2 | |||
3 | package configschema | ||
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[nestingModeInvalid-0] | ||
12 | _ = x[NestingSingle-1] | ||
13 | _ = x[NestingGroup-2] | ||
14 | _ = x[NestingList-3] | ||
15 | _ = x[NestingSet-4] | ||
16 | _ = x[NestingMap-5] | ||
17 | } | ||
18 | |||
19 | const _NestingMode_name = "nestingModeInvalidNestingSingleNestingGroupNestingListNestingSetNestingMap" | ||
20 | |||
21 | var _NestingMode_index = [...]uint8{0, 18, 31, 43, 54, 64, 74} | ||
22 | |||
23 | func (i NestingMode) String() string { | ||
24 | if i < 0 || i >= NestingMode(len(_NestingMode_index)-1) { | ||
25 | return "NestingMode(" + strconv.FormatInt(int64(i), 10) + ")" | ||
26 | } | ||
27 | return _NestingMode_name[_NestingMode_index[i]:_NestingMode_index[i+1]] | ||
28 | } | ||