package
2.1.19+incompatible
Repository: https://github.com/pingcap/tidb-lightning.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
ExecWithRetry executes a single SQL with optional retry.
GetJSON fetches a page and parses it as JSON.
No description provided by the author
GetRawInfo do what its name tells.
No description provided by the author
IsContextCanceledError returns whether the error is caused by context cancellation.
IsDirExists checks if dir exists.
IsRetryableError returns whether the error is transient (e.g.
KillMySelf sends sigint to current process, used in integration test only.
PrintInfo prints some information of the app, like git hash, binary build time, etc.
No description provided by the author
No description provided by the author
ShouldLogError returns whether the error should be logged.
No description provided by the author
TransactWithRetry executes an action in a transaction, and retry if the action failed with a retryable error.
UniqueTable returns an unique table name.
Writes a MySQL identifier into the string builder.
# Structs
LogConfig serializes log related config in toml/json.
OnceError is an error value which will can be assigned once.
No description provided by the author