package
0.15.7
Repository: https://github.com/mdibaiee/vitess.git
Documentation: pkg.go.dev

# Functions

DbPermissionPrimaryKey returns the sorting key for a DbPermission.
DbPermissionString pretty-prints a DbPermission.
DiffPermissions records the errors between two permission sets.
DiffPermissionsToArray difs two sets of permissions, and returns the difference.
DiffSchema generates a report on what's different between two SchemaDefinitions including views, but Vitess internal tables are ignored.
DiffSchemaToArray diffs two schemas and return the schema diffs if there is any.
FilterTables returns a copy which includes only whitelisted tables (tables), no denied tables (excludeTables) and optionally views (includeViews).
NewDbPermission is a helper method to create a tabletmanagerdatapb.DbPermission.
NewTableFilter creates a TableFilter for whitelisted tables (tables), no denied tables (excludeTables) and optionally views (includeViews).
NewUserPermission is a helper method to create a tabletmanagerdatapb.UserPermission.
PermissionsString pretty-prints Permissions.
SchemaDefinitionGetTable returns TableDefinition for a given table name.
SchemaDefinitionToSQLStrings converts a SchemaDefinition to an array of SQL strings.
UserPermissionPrimaryKey returns the sorting key for a UserPermission.
UserPermissionString pretty-prints a UserPermission.

# Constants

TableBaseTable indicates the table type is a base table.
TableView indicates the table type is a view.

# Structs

SchemaChange contains all necessary information to apply a schema change.
TableFilter is a filter for table names and types.