package
1.0.5
Repository: https://github.com/cockroachdb/replicator.git
Documentation: pkg.go.dev

# Functions

CreateSchema creates a schema with a unique name that will be dropped when the stopper has stopped.
CreateTable creates a test table.
GetRowCount returns the number of rows in the table.
NewFixture constructs a self-contained test fixture.
NewTableInfo constructs a TableInfo using the given name.
ProvideContext returns an execution context that is associated with a singleton connection to a CockroachDB cluster.
ProvideSourcePool connects to the source database.
ProvideSourceSchema create a globally-unique container for tables in the source database.
ProvideStagingPool opens a connection to the CockroachDB staging cluster under test.
ProvideStagingSchema create a globally-unique container for tables in the staging database.
ProvideTargetPool connects to the target database (which is most often the same as the source database).
ProvideTargetSchema create a globally-unique container for tables in the target database.
ProvideTargetStatements is called by Wire to construct a prepared-statement cache.

# Variables

TestSet is used by wire.

# Structs

Fixture can be used for tests that "just need a database", without the other services provided by the target package.
TableInfo provides a named table and a means to access it.