helpers

package
v1.0.1-0...-1811ebb Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DUMP_MODE              = "dumpFile"
	DIRECT_CONNECT_MODE    = "directConnect"
	SESSION_FILE_MODE      = "sessionFile"
	SCHEMA_ONLY            = "Schema"
	DATA_ONLY              = "Data"
	LOW_DOWNTIME_MIGRATION = "lowdt"
	POSTGRESQL_DIALECT     = "PostgreSQL"
	GOOGLE_SQL_DIALECT     = "Google Standard SQL"
)

Variables

This section is empty.

Functions

func CheckOrCreateMetadataDb

func CheckOrCreateMetadataDb(projectId string, instanceId string) (isExist bool, isDbCreated bool)

func GetDialectDisplayStringFromDialect

func GetDialectDisplayStringFromDialect(dialect string) string

func GetMetadataDbName

func GetMetadataDbName() string

func GetSourceDatabaseFromDriver

func GetSourceDatabaseFromDriver(driver string) (string, error)

func GetSpannerUri

func GetSpannerUri(projectId string, instanceId string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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