From c8b964ca4dbf236522e38fe190fbf66347f7b73b Mon Sep 17 00:00:00 2001 From: Sean Houghton Date: Fri, 24 Jan 2020 14:09:27 -0800 Subject: [PATCH] Add the complete set of machine state enums Fix NodeStatus enum names --- enum.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/enum.go b/enum.go index a516d6b..1aaa218 100644 --- a/enum.go +++ b/enum.go @@ -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" )