summaryrefslogtreecommitdiff
path: root/vendor/github.com/hashicorp/terraform/terraform/instancetype_string.go
blob: f69267cd52cb9421b43f0508cd83d9261f9e3e20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type=InstanceType instancetype.go"; DO NOT EDIT.

package terraform

import "fmt"

const _InstanceType_name = "TypeInvalidTypePrimaryTypeTaintedTypeDeposed"

var _InstanceType_index = [...]uint8{0, 11, 22, 33, 44}

func (i InstanceType) String() string {
	if i < 0 || i >= InstanceType(len(_InstanceType_index)-1) {
		return fmt.Sprintf("InstanceType(%d)", i)
	}
	return _InstanceType_name[_InstanceType_index[i]:_InstanceType_index[i+1]]
}