Skip to content

Commit 716de3a

Browse files
authored
feat: Add a status field to the backup resource (#2482)
1 parent 41df422 commit 716de3a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ocp_resources/utils/resource_constants.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,17 @@ class ProviderType:
7070
RHV: str = "ovirt"
7171
OVA: str = "ova"
7272
OPENSTACK: str = "openstack"
73+
74+
class Backup:
75+
class Status:
76+
NEW: str = "New"
77+
FAILEDVALIDATION: str = "FailedValidation"
78+
INPROGRESS: str = "InProgress"
79+
WAITINGFORPLUGINOPERATIONS: str = "WaitingForPluginOperations"
80+
WAITINGFORPLUGINOPERATIONSPARTIALLYFAILED: str = "WaitingForPluginOperationsPartiallyFailed"
81+
FINALIZING: str = "Finalizing"
82+
FINALIZINGPARTIALLYFAILED: str = "FinalizingPartiallyFailed"
83+
COMPLETED: str = "Completed"
84+
PARTIALLYFAILED: str = "PartiallyFailed"
85+
FAILED: str = "Failed"
86+
DELETING: str = "Deleting"

0 commit comments

Comments
 (0)