Documentation ¶
Index ¶
- type Stream
- func (s *Stream) AddWALTable(ctx context.Context, source config.Source, target config.Target) error
- func (s *Stream) ApplySnapshot(mode config.SnapMode, source config.Source, target config.Target, ...) (header creek.SnapshotHeader, err error)
- func (s *Stream) CreateSchema(ctx context.Context, source config.Source, target config.Target) error
- func (s *Stream) Done() <-chan struct{}
- func (s *Stream) NewSnapshot(mode config.SnapMode, source config.Source, target config.Target) (heder creek.SnapshotHeader, err error)
- func (s *Stream) PauseWAL(target config.Target)
- func (s *Stream) RemoveWALTable(target config.Target) error
- func (s *Stream) ResumeWAL(target config.Target, skipToLSN pglogrepl.LSN)
- func (s *Stream) SnapsDone() <-chan struct{}
- func (s *Stream) StartListenAPI()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) AddWALTable ¶
func (*Stream) ApplySnapshot ¶
func (*Stream) CreateSchema ¶
func (*Stream) NewSnapshot ¶
func (*Stream) SnapsDone ¶
func (s *Stream) SnapsDone() <-chan struct{}
SnapsDone returns a channel that sends a message when all snapshots are finished
func (*Stream) StartListenAPI ¶
func (s *Stream) StartListenAPI()
Click to show internal directories.
Click to hide internal directories.