Help us shape the future of Go! Take the 2026 Go Developer Survey

pkg/

directory
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: Apache-2.0

Directories

Path Synopsis
Package autoscale holds the primitives shared by spirit's phase-level thread-count controllers.
Package autoscale holds the primitives shared by spirit's phase-level thread-count controllers.
Package buildinfo provides build metadata for Spirit binaries.
Package buildinfo provides build metadata for Spirit binaries.
Package change contains binary log subscription functionality.
Package change contains binary log subscription functionality.
Package check holds the checks spirit's runners make before and while they change data: configuration, privileges, and refusals of tables and statements spirit does not support.
Package check holds the checks spirit's runners make before and while they change data: configuration, privileges, and refusals of tables and statements spirit does not support.
Package checkpoint owns the checkpoint table shared by all three runners (migration, move, datasync): its schema, lifecycle (create / drop / exists), and row read/write.
Package checkpoint owns the checkpoint table shared by all three runners (migration, move, datasync): its schema, lifecycle (create / drop / exists), and row read/write.
Package checksum verifies that a copy of a table matches its source while the source keeps taking writes.
Package checksum verifies that a copy of a table matches its source while the source keeps taking writes.
Package concurrency is the autoscaling setup shared by the migrate, move and sync runners: given the Aurora probe for every target server, Engage decides whether autoscaling engages, derives the thread and flush bounds (Derive), and overrides the configured thread counts when it does.
Package concurrency is the autoscaling setup shared by the migrate, move and sync runners: given the Aurora probe for every target server, Engage decides whether autoscaling engages, derives the thread and flush bounds (Derive), and overrides the configured thread counts when it does.
Package copier copies rows from one table to another.
Package copier copies rows from one table to another.
copiertest
Package copiertest provides a Copier stub for tests of the runners that report copier state, so every runner package shares one definition.
Package copiertest provides a Copier stub for tests of the runners that report copier state, so every runner package shares one definition.
Package datasync implements the `sync` command: a continuous, heterogeneous data sync.
Package datasync implements the `sync` command: a continuous, heterogeneous data sync.
Package dbconn contains a series of database-related utility functions.
Package dbconn contains a series of database-related utility functions.
sqlescape
Package sqlescape provides SQL escaping functionality.
Package sqlescape provides SQL escaping functionality.
Package flags holds the command-line flags shared by the migrate, move and sync commands.
Package flags holds the command-line flags shared by the migrate, move and sync commands.
Package fmt provides the `spirit fmt` subcommand, which canonicalizes CREATE TABLE .sql files by round-tripping them through a real MySQL server.
Package fmt provides the `spirit fmt` subcommand, which canonicalizes CREATE TABLE .sql files by round-tripping them through a real MySQL server.
Package host groups database connections that share a MySQL server endpoint.
Package host groups database connections that share a MySQL server endpoint.
Package lint provides a framework for static analysis of MySQL schema definitions and DDL statements.
Package lint provides a framework for static analysis of MySQL schema definitions and DDL statements.
example
Package example provides example linters to demonstrate the linter framework.
Package example provides example linters to demonstrate the linter framework.
Package metrics contains a sink interface to be used by clients to implement sink.
Package metrics contains a sink interface to be used by clients to implement sink.
Package migration contains the logic for running online schema changes.
Package migration contains the logic for running online schema changes.
ast
Package ast is the abstract syntax tree parsed from a SQL statement by parser.
Package ast is the abstract syntax tree parsed from a SQL statement by parser.
Package runtime holds the runner pieces that pkg/migration, pkg/move and pkg/datasync would otherwise each keep a copy of, and let drift apart.
Package runtime holds the runner pieces that pkg/migration, pkg/move and pkg/datasync would otherwise each keep a copy of, and let drift apart.
Package sentinel implements the "sentinel table" cutover gate shared by the migration and move runners.
Package sentinel implements the "sentinel table" cutover gate shared by the migration and move runners.
Package statement is a wrapper around the parser with some added functionality.
Package statement is a wrapper around the parser with some added functionality.
Package table contains some common utilities for working with tables such as a 'Chunker' feature.
Package table contains some common utilities for working with tables such as a 'Chunker' feature.
asserty
Package asserty offers functionality to assert for certain DB properties.
Package asserty offers functionality to assert for certain DB properties.
Package testutils contains some common utilities used exclusively by the test suite.
Package testutils contains some common utilities used exclusively by the test suite.
Package throttler contains code to throttle the rate of writes to a table.
Package throttler contains code to throttle the rate of writes to a table.
Package utils contains some common utilities used by all other packages.
Package utils contains some common utilities used by all other packages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL