1
0
mirror of https://github.com/hashicorp/terraform.git synced 2026-02-05 06:46:14 +01:00
Files
terraform/internal/plans/quality_string.go
Sarah French 0ce2e37a66 Manual backport of chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally into v1.14 (#37910)
* chore: Run `go get golang.org/x/crypto@v0.44.0`

* chore: Run `make syncdeps`

* chore: Run `make generate`

* chore: Update staticcheck.conf to ignore SA4003
2025-11-17 15:58:49 +00:00

26 lines
627 B
Go

// Code generated by "stringer -type Quality"; DO NOT EDIT.
package plans
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[Errored-0]
_ = x[NoChanges-1]
}
const _Quality_name = "ErroredNoChanges"
var _Quality_index = [...]uint8{0, 7, 16}
func (i Quality) String() string {
idx := int(i) - 0
if i < 0 || idx >= len(_Quality_index)-1 {
return "Quality(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Quality_name[_Quality_index[idx]:_Quality_index[idx+1]]
}