constellation/internal/role/role_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

26 lines
632 B
Go

// Code generated by "stringer -type=Role"; DO NOT EDIT.
package role
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[ControlPlane-1]
_ = x[Worker-2]
}
const _Role_name = "UnknownControlPlaneWorker"
var _Role_index = [...]uint8{0, 7, 19, 25}
func (i Role) String() string {
idx := int(i) - 0
if i < 0 || idx >= len(_Role_index)-1 {
return "Role(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Role_name[_Role_index[idx]:_Role_index[idx+1]]
}