Documentation ¶
Index ¶
- Variables
- func ParseArgLikeBash(args []string) []string
- func ParseExtraArgs(logger *log.Logger, dumpCfg *export.Config, args []string) error
- func ParseMetaData(ctx context.Context, dir string, filename string, ...) (*binlog.Location, *binlog.Location, error)
- func ParseMetaDataByReader(filename string, rd io.Reader) (*binlog.Location, *binlog.Location, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTableFilter = []string{"*.*", export.DefaultTableFilter}
DefaultTableFilter is the default table filter for dumpling.
Functions ¶
func ParseArgLikeBash ¶
ParseArgLikeBash parses list arguments like bash, which helps us to run executable command via os/exec more likely running from bash.
func ParseExtraArgs ¶
func ParseMetaData ¶
func ParseMetaData( ctx context.Context, dir string, filename string, extStorage brstorage.ExternalStorage, ) (*binlog.Location, *binlog.Location, error)
ParseMetaData parses mydumper's output meta file and returns binlog location. since v2.0.0, dumpling maybe configured to output master status after connection pool is established, we return this location as well. If `extStorage` is nil, we will use `dir` to open a storage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.