package
2.1.0-alpha.1+incompatible
Repository: https://github.com/gitql/vitess.git
Documentation: pkg.go.dev
# Packages
Package testlib contains utility methods to include in unit tests to
deal with topology common tasks, like fake tablets and action loops.
# Functions
New creates a new Wrangler object.
RecordChangeSlaveTypeAction records a new ChangeSlaveTypeAction into the specified Cleaner.
RecordStartBlpAction records an action to restart binlog replication on a server into the specified Cleaner.
RecordStartSlaveAction records a new action to restart binlog replication on a server into the specified Cleaner.
RecordTabletTagAction records a new action to set / remove a tag into the specified Cleaner.
ResetDebugVarsGetVersion is used by tests to reset the getVersionFromTablet variable to the default one.
# Constants
ChangeSlaveTypeActionName is the name of the action to change a slave type (can be used to find such an action by name).
StartBlpActionName is the name of the action to start binlog player.
StartSlaveActionName is the name of the slave start action.
TabletTagActionName is the name of the Tag action.
# Variables
DefaultActionTimeout is a good default for interactive remote actions.
# Type aliases
CleanerFunction is the interface that clean-up actions need to implement.