mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 00:41:27 -06:00
f40800b3a4
This is part of a general effort to move all of Terraform's non-library package surface under internal in order to reinforce that these are for internal use within Terraform only. If you were previously importing packages under this prefix into an external codebase, you could pin to an earlier release tag as an interim solution until you've make a plan to achieve the same functionality some other way.
38 lines
937 B
Go
38 lines
937 B
Go
// Code generated by "stringer -type=SnapshotMetaRel"; DO NOT EDIT.
|
|
|
|
package statemgr
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[SnapshotOlder-60]
|
|
_ = x[SnapshotNewer-62]
|
|
_ = x[SnapshotEqual-61]
|
|
_ = x[SnapshotUnrelated-33]
|
|
_ = x[SnapshotLegacy-63]
|
|
}
|
|
|
|
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) + ")"
|
|
}
|
|
}
|