package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev
# Functions
GetControllerFactory gets a ControllerFactory.
NewLocalController creates a new LocalController instance.
NewPlainController creates a new PlainController instance.
NewTabletExecutor creates a new TabletExecutor instance.
NewUIController creates a UIController instance.
RegisterControllerFactory register a control factory.
Run applies schema changes on Vitess through VtGate.
# Constants
SchemaChangeDirName is the key name in the ControllerFactory params.
SchemaChangeUser is the key name in the ControllerFactory params.
# Structs
ExecuteResult contains information about schema management state.
LocalController listens to the specified schema change dir and applies schema changes.
PlainController implements Controller interface.
ShardResult contains sql execute information on a particular shard.
ShardWithError contains information why a shard failed to execute given sql.
TabletExecutor applies schema changes to all tablets.
UIController handles schema events.
# Interfaces
Controller is responsible for getting schema change for a certain keyspace and also handling various events happened during schema change.
Executor applies schema changes to underlying system.
# Type aliases
ControllerFactory takes a set params and construct a Controller instance.