mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-01 08:55:04 -05:00
* 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>
26 lines
632 B
Go
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]]
|
|
}
|