Skip to content

Commit

Permalink
Add the complete set of machine state enums
Browse files Browse the repository at this point in the history
Fix NodeStatus enum names
  • Loading branch information
seanhoughtonatvi committed Jan 24, 2020
1 parent 0ab1eb6 commit c8b964c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,25 @@ const (

// The node failed to erase its disks.
NodeStatusFailedDiskErasing = "15"

// The node is in rescue mode.
NodeStatusRescueMode = "16"

// The node is entering rescue mode.
NodeStatusEnteringRescueMode = "17"

// The node failed to enter rescue mode.
NodeStatusFailedEnteringRescueMode = "18"

// The node is exiting rescue mode.
NodeStatusExitingRescueMode = "19"

// The node failed to exit rescue mode.
NodeStatusFailedExitingRescueMode = "20"

// Running tests on Node
NodeStatusTesting = "21"

// Testing has failed
NodeStatusFailedTesting = "22"
)

0 comments on commit c8b964c

Please sign in to comment.