()
| 439 | } |
| 440 | |
| 441 | func (e StorageStatus) IsValid() bool { |
| 442 | switch e { |
| 443 | case StorageStatusNotDeployed, StorageStatusDeploying, StorageStatusReady, StorageStatusError: |
| 444 | return true |
| 445 | } |
| 446 | return false |
| 447 | } |
| 448 | |
| 449 | func (e StorageStatus) String() string { |
| 450 | return string(e) |