package
5.0.0-rc+incompatible
Repository: https://github.com/pingcap/tidb-lightning.git
Documentation: pkg.go.dev

# Functions

LoadGlobalConfig reads the arguments and fills in the GlobalConfig.
Must should be called after LoadGlobalConfig().
No description provided by the author
NewConfigList creates a new ConfigList instance.
No description provided by the author

# Constants

BackendImporter is a constant for choosing the "Importer" backend in the configuration.
BackendLocal is a constant for choosing the "Local" backup in the configuration.
BackendTiDB is a constant for choosing the "TiDB" backend in the configuration.
No description provided by the author
CheckpointDriverFile is a constant for choosing the "File" checkpoint driver in the configuration.
CheckpointDriverMySQL is a constant for choosing the "MySQL" checkpoint driver in the configuration.
ErrorOnDup indicates using INSERT INTO to insert data, which would violate PK or UNIQUE constraint.
IgnoreOnDup indicates using INSERT IGNORE INTO to insert data.
ImportMode defines mode of import for tikv.
No description provided by the author
No description provided by the author
NormalMode defines mode of normal for tikv.
No description provided by the author
No description provided by the author
No description provided by the author
mydumper.
ReplaceOnDup indicates using REPLACE INTO to insert data.
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
ConfigList is a goroutine-safe FIFO list of *Config, which supports removal from the middle.
No description provided by the author
No description provided by the author
No description provided by the author
A duration which can be deserialized from a TOML string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PostRestore has some options which will be executed after kv restored.
No description provided by the author
No description provided by the author

# Type aliases

ByteSize is an alias of int64 which accepts human-friendly strings like '10G' when read from TOML.
No description provided by the author