matchers

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const DDLRegexMatcherName = "match-ddl-regex"
View Source
const SchemaMatcherName = "match-schema"
View Source
const TableMatcherName = "match-table"

Variables

This section is empty.

Functions

func NewMatchers

func NewMatchers(configData map[string]interface{}) (core.IMatcherGroup, error)

Types

type DDLRegexMatcher added in v0.9.15

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

func (*DDLRegexMatcher) Configure added in v0.9.15

func (m *DDLRegexMatcher) Configure(data interface{}) error

func (*DDLRegexMatcher) Match added in v0.9.15

func (m *DDLRegexMatcher) Match(msg *core.Msg) bool

type SchemaMatcher

type SchemaMatcher struct {
	SchemaGlob string
}

func (*SchemaMatcher) Configure

func (m *SchemaMatcher) Configure(data interface{}) error

func (*SchemaMatcher) Match

func (m *SchemaMatcher) Match(msg *core.Msg) bool

type TableMatcher

type TableMatcher struct {
	TableGlob string
}

func (*TableMatcher) Configure

func (m *TableMatcher) Configure(data interface{}) error

func (*TableMatcher) Match

func (m *TableMatcher) Match(msg *core.Msg) bool

Jump to

Keyboard shortcuts

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