diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/terraform/instancetype_string.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/terraform/instancetype_string.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/terraform/instancetype_string.go b/vendor/github.com/hashicorp/terraform/terraform/instancetype_string.go new file mode 100644 index 0000000..f69267c --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/terraform/instancetype_string.go | |||
@@ -0,0 +1,16 @@ | |||
1 | // Code generated by "stringer -type=InstanceType instancetype.go"; DO NOT EDIT. | ||
2 | |||
3 | package terraform | ||
4 | |||
5 | import "fmt" | ||
6 | |||
7 | const _InstanceType_name = "TypeInvalidTypePrimaryTypeTaintedTypeDeposed" | ||
8 | |||
9 | var _InstanceType_index = [...]uint8{0, 11, 22, 33, 44} | ||
10 | |||
11 | func (i InstanceType) String() string { | ||
12 | if i < 0 || i >= InstanceType(len(_InstanceType_index)-1) { | ||
13 | return fmt.Sprintf("InstanceType(%d)", i) | ||
14 | } | ||
15 | return _InstanceType_name[_InstanceType_index[i]:_InstanceType_index[i+1]] | ||
16 | } | ||