mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-30 10:38:46 -04:00
monorepo
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>
This commit is contained in:
commit
2d8fcd9bf4
362 changed files with 50980 additions and 0 deletions
29
coordinator/state/state_string.go
Normal file
29
coordinator/state/state_string.go
Normal file
|
@ -0,0 +1,29 @@
|
|||
// 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]]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue