mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-05 06:46:14 +01:00
* 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
29 lines
694 B
Go
29 lines
694 B
Go
// Code generated by "stringer -type=Status status.go"; DO NOT EDIT.
|
|
|
|
package moduletest
|
|
|
|
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[Pending-0]
|
|
_ = x[Skip-1]
|
|
_ = x[Pass-2]
|
|
_ = x[Fail-3]
|
|
_ = x[Error-4]
|
|
}
|
|
|
|
const _Status_name = "PendingSkipPassFailError"
|
|
|
|
var _Status_index = [...]uint8{0, 7, 11, 15, 19, 24}
|
|
|
|
func (i Status) String() string {
|
|
idx := int(i) - 0
|
|
if i < 0 || idx >= len(_Status_index)-1 {
|
|
return "Status(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _Status_name[_Status_index[idx]:_Status_index[idx+1]]
|
|
}
|