terraform/states/statemgr/snapshotmetarel_string.go

27 lines
625 B
Go

// Code generated by "stringer -type=SnapshotMetaRel"; DO NOT EDIT.
package statemgr
import "strconv"
const (
_SnapshotMetaRel_name_0 = "SnapshotUnrelated"
_SnapshotMetaRel_name_1 = "SnapshotOlderSnapshotEqualSnapshotNewerSnapshotLegacy"
)
var (
_SnapshotMetaRel_index_1 = [...]uint8{0, 13, 26, 39, 53}
)
func (i SnapshotMetaRel) String() string {
switch {
case i == 33:
return _SnapshotMetaRel_name_0
case 60 <= i && i <= 63:
i -= 60
return _SnapshotMetaRel_name_1[_SnapshotMetaRel_index_1[i]:_SnapshotMetaRel_index_1[i+1]]
default:
return "SnapshotMetaRel(" + strconv.FormatInt(int64(i), 10) + ")"
}
}