blackhole

package
v0.0.0-...-4624acb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DDLSink

type DDLSink struct{}

DDLSink is a black hole DDL sink.

func NewDDLSink

func NewDDLSink() *DDLSink

NewDDLSink create a black hole DDL sink.

func (*DDLSink) Close

func (d *DDLSink) Close()

Close do nothing.

func (*DDLSink) WriteCheckpointTs

func (d *DDLSink) WriteCheckpointTs(ctx context.Context,
	ts uint64, tables []*model.TableInfo,
) error

WriteCheckpointTs do nothing.

func (*DDLSink) WriteDDLEvent

func (d *DDLSink) WriteDDLEvent(ctx context.Context,
	ddl *model.DDLEvent,
) error

WriteDDLEvent do nothing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL