@@ -37,6 +37,35 @@ const (
37
37
IBMPowerVSMachineReadyUnknownV1Beta2Reason = clusterv1beta1 .ReadyUnknownV1Beta2Reason
38
38
)
39
39
40
+ const (
41
+ // IBMVPCMachineReadyV1Beta2Condition is true if the IBMVPCMachine's deletionTimestamp is not set, IBMVPCMachine's
42
+ // IBMVPCMachineInstanceReadyV1Beta2Condition is true.
43
+ IBMVPCMachineReadyV1Beta2Condition = clusterv1beta1 .ReadyV1Beta2Condition
44
+
45
+ // IBMVPCMachineReadyV1Beta2Reason surfaces when the IBMVPCMachine readiness criteria is met.
46
+ IBMVPCMachineReadyV1Beta2Reason = clusterv1beta1 .ReadyV1Beta2Reason
47
+
48
+ // IBMVPCMachineNotReadyV1Beta2Reason surfaces when the IBMVPCMachine readiness criteria is not met.
49
+ IBMVPCMachineNotReadyV1Beta2Reason = clusterv1beta1 .NotReadyV1Beta2Reason
50
+
51
+ // IBMVPCMachineReadyUnknownV1Beta2Reason surfaces when at least one IBMVPCMachine readiness criteria is unknown.
52
+ IBMVPCMachineReadyUnknownV1Beta2Reason = clusterv1beta1 .ReadyUnknownV1Beta2Reason
53
+ )
54
+
55
+ // IBMVPCMachine's InstanceReady condition and corresponding reasons that will be used in v1Beta2 API version.
56
+ const (
57
+ // IBMVPCMachineInstanceReadyV1Beta2Condition documents the status of the instance that is controlled
58
+ // by the IBMVPCMachine.
59
+ IBMVPCMachineInstanceReadyV1Beta2Condition = "InstanceReady"
60
+
61
+ // IBMVPCMachineInstanceReadyV1Beta2Reason surfaces when the instance that is controlled
62
+ // by the IBMVPCMachine is ready.
63
+ IBMVPCMachineInstanceReadyV1Beta2Reason = "InstanceReady"
64
+
65
+ // IBMVPCMachineInstanceNotReadyV1Beta2Reason surfaces when the instance that is controlled
66
+ // by the IBMVPCMachine is not ready.
67
+ IBMVPCMachineInstanceNotReadyV1Beta2Reason = "InstanceNotReady"
68
+ )
40
69
const (
41
70
// IBMPowerVSMachineInstanceReadyV1Beta2Condition documents the status of the instance that is controlled
42
71
// by the IBMPowerVSMachine.
@@ -95,6 +124,9 @@ const (
95
124
// InstanceNotReadyReason used when the instance is in a not ready state.
96
125
InstanceNotReadyReason = "InstanceNotReady"
97
126
127
+ // InstanceDeletingReason is used when the instance is in deleting state.
128
+ InstanceDeletingReason = "InstanceDeleting"
129
+
98
130
// InstanceStateUnknownReason used when the instance is in a unknown state.
99
131
InstanceStateUnknownReason = "InstanceStateUnknown"
100
132
)
0 commit comments