package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/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.
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.
RecordVReplicationAction records an action to restart binlog replication on a server 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).
DefaultFilteredReplicationWaitTime is the default value for argument filteredReplicationWaitTime.
DefaultWaitForFilteredReplicationMaxDelay is the default maximum delay value used in WaitForFilteredReplication.
DefaultWaitSlaveTimeout is the default value for waitSlaveTimeout, which is used when calling method CopySchemaShardFromShard.
StartSlaveActionName is the name of the slave start action.
TabletTagActionName is the name of the Tag action.
VReplicationActionName is the name of the action to execute VReplication commands.

# Variables

DefaultActionTimeout is a good default for interactive remote actions.

# Structs

Cleaner remembers a list of cleanup steps to perform.
Wrangler manages complex actions on the topology, like reparents, backups, resharding, ..

# Type aliases

CleanerFunction is the interface that clean-up actions need to implement.