Skip to content

Commit 0c3775d

Browse files
committed
Remove unused conditions constants
Signed-off-by: Borja Clemente <[email protected]>
1 parent e6be7ad commit 0c3775d

File tree

3 files changed

+0
-136
lines changed

3 files changed

+0
-136
lines changed

controlplane/rosa/api/v1beta1/conditions_consts.go

Lines changed: 0 additions & 51 deletions
This file was deleted.

controlplane/rosa/api/v1beta1/doc.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

exp/api/v1beta1/conditions_consts.go

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,6 @@ const (
4747
// PostLaunchTemplateUpdateOperationFailedReason used to report when post launch template update operation failed.
4848
PostLaunchTemplateUpdateOperationFailedReason = "PostLaunchTemplateUpdateOperationFailed"
4949

50-
// AWSMachineCreationFailed reports if creating AWSMachines to represent ASG (machine pool) machines failed.
51-
AWSMachineCreationFailed = "AWSMachineCreationFailed"
52-
// AWSMachineDeletionFailed reports if deleting AWSMachines failed.
53-
AWSMachineDeletionFailed = "AWSMachineDeletionFailed"
54-
// LifecycleHookReadyCondition reports on the status of the lifecycle hook.
55-
LifecycleHookReadyCondition clusterv1beta1.ConditionType = "LifecycleHookReady"
56-
// LifecycleHookCreationFailedReason used for failures during lifecycle hook creation.
57-
LifecycleHookCreationFailedReason = "LifecycleHookCreationFailed"
58-
// LifecycleHookUpdateFailedReason used for failures during lifecycle hook update.
59-
LifecycleHookUpdateFailedReason = "LifecycleHookUpdateFailed"
60-
// LifecycleHookDeletionFailedReason used for failures during lifecycle hook deletion.
61-
LifecycleHookDeletionFailedReason = "LifecycleHookDeletionFailed"
62-
6350
// InstanceRefreshStartedCondition reports on successfully starting instance refresh.
6451
InstanceRefreshStartedCondition clusterv1beta1.ConditionType = "InstanceRefreshStarted"
6552
// InstanceRefreshNotReadyReason used to report instance refresh is not initiated.
@@ -115,54 +102,3 @@ const (
115102
// reconciling EKS nodegroup iam roles.
116103
IAMFargateRolesReconciliationFailedReason = "IAMFargateRolesReconciliationFailed"
117104
)
118-
119-
const (
120-
// RosaMachinePoolReadyCondition condition reports on the successful reconciliation of rosa machinepool.
121-
RosaMachinePoolReadyCondition clusterv1beta1.ConditionType = "RosaMachinePoolReady"
122-
// RosaMachinePoolUpgradingCondition condition reports whether ROSAMachinePool is upgrading or not.
123-
RosaMachinePoolUpgradingCondition clusterv1beta1.ConditionType = "RosaMachinePoolUpgrading"
124-
125-
// WaitingForRosaControlPlaneReason used when the machine pool is waiting for
126-
// ROSA control plane infrastructure to be ready before proceeding.
127-
WaitingForRosaControlPlaneReason = "WaitingForRosaControlPlane"
128-
129-
// RosaMachinePoolReconciliationFailedReason used to report failures while reconciling ROSAMachinePool.
130-
RosaMachinePoolReconciliationFailedReason = "ReconciliationFailed"
131-
)
132-
133-
const (
134-
// ROSANetworkReadyCondition condition reports on the successful reconciliation of ROSANetwork.
135-
ROSANetworkReadyCondition clusterv1beta1.ConditionType = "ROSANetworkReady"
136-
137-
// ROSANetworkCreatingReason used when ROSANetwork is being created.
138-
ROSANetworkCreatingReason = "Creating"
139-
140-
// ROSANetworkCreatedReason used when ROSANetwork is created.
141-
ROSANetworkCreatedReason = "Created"
142-
143-
// ROSANetworkFailedReason used when rosaNetwork creation failed.
144-
ROSANetworkFailedReason = "Failed"
145-
146-
// ROSANetworkDeletingReason used when ROSANetwork is being deleted.
147-
ROSANetworkDeletingReason = "Deleting"
148-
149-
// ROSANetworkDeletionFailedReason used to report failures while deleting ROSANetwork.
150-
ROSANetworkDeletionFailedReason = "DeletionFailed"
151-
)
152-
153-
const (
154-
// RosaRoleConfigReadyCondition condition reports on the successful reconciliation of RosaRoleConfig.
155-
RosaRoleConfigReadyCondition = "RosaRoleConfigReady"
156-
157-
// RosaRoleConfigDeletionFailedReason used to report failures while deleting RosaRoleConfig.
158-
RosaRoleConfigDeletionFailedReason = "DeletionFailed"
159-
160-
// RosaRoleConfigReconciliationFailedReason used to report reconciliation failures.
161-
RosaRoleConfigReconciliationFailedReason = "ReconciliationFailed"
162-
163-
// RosaRoleConfigDeletionStarted used to indicate that the deletion of RosaRoleConfig has started.
164-
RosaRoleConfigDeletionStarted = "DeletionStarted"
165-
166-
// RosaRoleConfigCreatedReason used to indicate that the RosaRoleConfig has been created.
167-
RosaRoleConfigCreatedReason = "Created"
168-
)

0 commit comments

Comments
 (0)