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