Hooks is the set of lifecycle callbacks gh-ost invokes during a migration.
| 7 | |
| 8 | // Hooks is the set of lifecycle callbacks gh-ost invokes during a migration. |
| 9 | type Hooks interface { |
| 10 | OnStartup() error |
| 11 | OnValidated() error |
| 12 | OnRowCountComplete() error |
| 13 | OnBeforeRowCopy() error |
| 14 | OnRowCopyComplete() error |
| 15 | OnBeginPostponed() error |
| 16 | OnBeforeCutOver() error |
| 17 | OnInteractiveCommand(command string) error |
| 18 | OnSuccess(instantDDL bool) error |
| 19 | OnFailure() error |
| 20 | OnBatchCopyRetry(errorMessage string) error |
| 21 | OnStatus(statusMessage string) error |
| 22 | OnStopReplication() error |
| 23 | OnStartReplication() error |
| 24 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…