mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 16:09:45 -05:00
2d8fcd9bf4
Co-authored-by: Malte Poll <mp@edgeless.systems> Co-authored-by: katexochen <katexochen@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Thomas Tendyck <tt@edgeless.systems> Co-authored-by: Benedict Schlueter <bs@edgeless.systems> Co-authored-by: leongross <leon.gross@rub.de> Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>
30 lines
798 B
Go
30 lines
798 B
Go
// Code generated by "stringer -type=State"; DO NOT EDIT.
|
|
|
|
package state
|
|
|
|
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[Uninitialized-0]
|
|
_ = x[AcceptingInit-1]
|
|
_ = x[ActivatingNodes-2]
|
|
_ = x[NodeWaitingForClusterJoin-3]
|
|
_ = x[IsNode-4]
|
|
_ = x[Failed-5]
|
|
_ = x[maxState-6]
|
|
}
|
|
|
|
const _State_name = "UninitializedAcceptingInitActivatingNodesNodeWaitingForClusterJoinIsNodeFailedmaxState"
|
|
|
|
var _State_index = [...]uint8{0, 13, 26, 41, 66, 72, 78, 86}
|
|
|
|
func (i State) String() string {
|
|
if i >= State(len(_State_index)-1) {
|
|
return "State(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _State_name[_State_index[i]:_State_index[i+1]]
|
|
}
|