This commit is contained in:
stSolo
2022-10-31 14:06:22 +03:00
parent 71ddaa3345
commit 31be0a0b54
59 changed files with 3136 additions and 725 deletions

32
internal/status/status.go Normal file
View File

@@ -0,0 +1,32 @@
package status
type Status = string
var (
//The disk is linked to any Compute
Assigned Status = "ASSIGNED"
//An object model has been created in the database
Modeled Status = "MODELED"
//In the process of creation
Creating Status = "CREATING"
//Creating
Created Status = "CREATED"
//Physical resources are allocated for the object
Allocated Status = "ALLOCATED"
//The object has released (returned to the platform) the physical resources that it occupied
Unallocated Status = "UNALLOCATED"
//Permanently deleted
Destroyed Status = "DESTROYED"
//Deleted to Trash
Deleted Status = "DELETED"
//Deleted from storage
Purged Status = "PURGED"
)