]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/hashicorp/terraform/terraform/graphtype_string.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform / terraform / graphtype_string.go
1 // Code generated by "stringer -type=GraphType context_graph_type.go"; DO NOT EDIT.
2
3 package terraform
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[GraphTypeInvalid-0]
12 _ = x[GraphTypeLegacy-1]
13 _ = x[GraphTypeRefresh-2]
14 _ = x[GraphTypePlan-3]
15 _ = x[GraphTypePlanDestroy-4]
16 _ = x[GraphTypeApply-5]
17 _ = x[GraphTypeValidate-6]
18 _ = x[GraphTypeEval-7]
19 }
20
21 const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeValidateGraphTypeEval"
22
23 var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94, 111, 124}
24
25 func (i GraphType) String() string {
26 if i >= GraphType(len(_GraphType_index)-1) {
27 return "GraphType(" + strconv.FormatInt(int64(i), 10) + ")"
28 }
29 return _GraphType_name[_GraphType_index[i]:_GraphType_index[i+1]]
30 }