Documentation ¶
Index ¶
- func RunShell(oldURL, newURL string) error
- type Column
- type Sync
- func (s *Sync) Aborted() bool
- func (s *Sync) ChangeLogDisable(ctx context.Context, sh *ishell.Context) error
- func (s *Sync) ChangeLogEnable(ctx context.Context, sh *ishell.Context) error
- func (s *Sync) NodeStateWait(ctx context.Context, origTotal int, bar *mpb.Bar, anyState ...switchover.State) error
- func (s *Sync) NodeStatus() []switchover.Status
- func (s *Sync) Offset() time.Duration
- func (s *Sync) Ready() bool
- func (s *Sync) RefreshTables(ctx context.Context) error
- func (s *Sync) Sync(ctx context.Context, isFinal, enableSwitchOver bool) error
- type Table
- type WaitState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sync ¶
type Sync struct {
// contains filtered or unexported fields
}
func (*Sync) ChangeLogDisable ¶ added in v0.23.0
ChangeLogDisable will remove all sync instrumentation.
func (*Sync) ChangeLogEnable ¶ added in v0.23.0
ChangeLogEnable will instrument the database for the sync operation.
func (*Sync) NodeStateWait ¶
func (*Sync) NodeStatus ¶
func (s *Sync) NodeStatus() []switchover.Status
func (*Sync) RefreshTables ¶ added in v0.23.0
type Table ¶
type Table struct { Name string Columns []Column IDCol Column DependsOn map[string]bool DependantOf map[string]bool }
func (Table) ColumnNames ¶
func (Table) DeleteOneRow ¶
func (Table) FetchOneRow ¶
func (Table) InsertOneRow ¶
func (Table) UpdateOneRow ¶
Click to show internal directories.
Click to hide internal directories.