Documentation ¶
Overview ¶
Package constants contains constants used across multiple other packages. All string constants have a lower_case value and thus string matching is performend against other lower_case strings.
Index ¶
Constants ¶
View Source
const ( // PGDUMP is the driver name for pg_dump. PGDUMP string = "pg_dump" // POSTGRES is the driver name for PostgreSQL. POSTGRES string = "postgres" // MYSQLDUMP is the driver name for mysqldump. MYSQLDUMP string = "mysqldump" // MYSQL is the driver name for MySQL. MYSQL string = "mysql" // SQLSERVER is the driver name for sqlserver. SQLSERVER string = "sqlserver" // DYNAMODB is the driver name for AWS DynamoDB. // This is an experimental driver; implementation in progress. DYNAMODB string = "dynamodb" // CSV is the driver name when loading data using csv. CSV string = "csv" // ORACLE is the driver name for Oracle. // This is an experimental driver; implementation in progress. ORACLE string = "oracle" // Target db for which schema is being generated. // This can be removed once the support for global flags is removed. TargetSpanner string = "spanner" TargetExperimentalPostgres string = "experimental_postgres" // Supported dialects for Cloud Spanner database. DIALECT_POSTGRESQL string = "postgresql" DIALECT_GOOGLESQL string = "google_standard_sql" // Temp directory name to write data which we cleanup at the end. SMT_TMP_DIR string = "spanner_migration_tool_tmp_data" // Information on what conversion is happening (schema conv or data conv) SchemaConv string = "schema_conv" DataConv string = "data_conv" // Information passed in metadata while using Cloud Spanner client. MigrationMetadataKey string = "cloud-spanner-migration-metadata" // Scheme used for GCS paths GCS_SCHEME string = "gs" // File upload prefix for dump and session load. UPLOAD_FILE_DIR string = "upload-file" // Rule types GlobalDataTypeChange = "global_datatype_change" AddIndex = "add_index" EditColumnMaxLength = "edit_column_max_length" AddShardIdPrimaryKey = "add_shard_id_primary_key" //bulk migration type BULK_MIGRATION = "bulk" //dataflow migration type DATAFLOW_MIGRATION = "dataflow" //DMS migration type DMS_MIGRATION = "dms" SESSION_FILE = "sessionFile" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.