Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/github/gh-ost
/ OnStartup
Method
OnStartup
go/base/hooks.go:10–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
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
Callers
4
TestNewMigrator_HooksFromContext
Function · 0.65
Migrate
Method · 0.65
Revert
Method · 0.65
OnStartup
Method · 0.65
Implementers
2
recordingHooks
go/logic/hooks_test.go
HooksExecutor
go/logic/hooks.go
Calls
no outgoing calls
Tested by
1
TestNewMigrator_HooksFromContext
Function · 0.52