IsExecuting check if a certain backup is being executed
()
| 146 | |
| 147 | // IsExecuting check if a certain backup is being executed |
| 148 | func (backupStatus *BackupStatus) IsExecuting() bool { |
| 149 | return backupStatus.Phase == BackupPhaseStarted || |
| 150 | backupStatus.Phase == BackupPhaseRunning |
| 151 | } |
| 152 | |
| 153 | // GetPendingBackupNames returns the pending backup list |
| 154 | func (list BackupList) GetPendingBackupNames() []string { |
no outgoing calls
no test coverage detected