constellation/internal/attestation/idkeydigest/enforcement_string.go
renovate[bot] d119e1f44d
deps: update Go dependencies (#3967)
* deps: update Go dependencies
* deps: hold back terraform-plugin deps
* deps: keep google.golang.org/grpc at v1.74
* fix tests

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Weiße <dw@edgeless.systems>
2025-10-16 13:29:45 +02:00

27 lines
729 B
Go

// Code generated by "stringer -type=Enforcement"; DO NOT EDIT.
package idkeydigest
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[Unknown-0]
_ = x[Equal-1]
_ = x[MAAFallback-2]
_ = x[WarnOnly-3]
}
const _Enforcement_name = "UnknownEqualMAAFallbackWarnOnly"
var _Enforcement_index = [...]uint8{0, 7, 12, 23, 31}
func (i Enforcement) String() string {
idx := int(i) - 0
if i < 0 || idx >= len(_Enforcement_index)-1 {
return "Enforcement(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Enforcement_name[_Enforcement_index[idx]:_Enforcement_index[idx+1]]
}