route/vendor/github.com/hashicorp/terraform/config/resource_mode_string.go

17 lines
511 B
Go
Raw Normal View History

2017-12-02 23:34:35 +00:00
// Code generated by "stringer -type=ResourceMode -output=resource_mode_string.go resource_mode.go"; DO NOT EDIT.
package config
2018-01-17 04:32:31 +00:00
import "strconv"
2017-12-02 23:34:35 +00:00
const _ResourceMode_name = "ManagedResourceModeDataResourceMode"
var _ResourceMode_index = [...]uint8{0, 19, 35}
func (i ResourceMode) String() string {
if i < 0 || i >= ResourceMode(len(_ResourceMode_index)-1) {
2018-01-17 04:32:31 +00:00
return "ResourceMode(" + strconv.FormatInt(int64(i), 10) + ")"
2017-12-02 23:34:35 +00:00
}
return _ResourceMode_name[_ResourceMode_index[i]:_ResourceMode_index[i+1]]
}