filter

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinlogFilter

type BinlogFilter interface {
	Filter(msg *msg.Msg) bool
}

type BinlogFilterMatcher

type BinlogFilterMatcher []BinlogFilter

func (BinlogFilterMatcher) IterateFilter

func (matcher BinlogFilterMatcher) IterateFilter(msg *msg.Msg) bool

type ChangeStreamFilter

type ChangeStreamFilter interface {
	Filter(msg *msg.MongoMsg) bool
}

type ChangeStreamFilterMatcher

type ChangeStreamFilterMatcher []ChangeStreamFilter

func (ChangeStreamFilterMatcher) IterateFilter

func (matcher ChangeStreamFilterMatcher) IterateFilter(msg *msg.MongoMsg) bool

type ConvertDmlColumnFilter

type ConvertDmlColumnFilter struct {
	// contains filtered or unexported fields
}

func NewConvertDmlColumnFilter

func NewConvertDmlColumnFilter(config map[string]interface{}) (*ConvertDmlColumnFilter, error)

func (*ConvertDmlColumnFilter) Filter

func (filter *ConvertDmlColumnFilter) Filter(msg *msg.Msg) bool

type DeleteDmlColumnFilter

type DeleteDmlColumnFilter struct {
	// contains filtered or unexported fields
}

func NewDeleteDmlColumnFilter

func NewDeleteDmlColumnFilter(config map[string]interface{}) (*DeleteDmlColumnFilter, error)

func (*DeleteDmlColumnFilter) Filter

func (filter *DeleteDmlColumnFilter) Filter(msg *msg.Msg) bool

type RuleFilter

type RuleFilter struct {
	// contains filtered or unexported fields
}

func NewRuleFilter

func NewRuleFilter(includeTableRegex []string) *RuleFilter

func (*RuleFilter) Filter

func (filter *RuleFilter) Filter(msg *msg.MongoMsg) bool

Jump to

Keyboard shortcuts

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