Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFilePath ¶
type ConfigFilePath string
func (*ConfigFilePath) UnmarshalFlag ¶
func (c *ConfigFilePath) UnmarshalFlag(value string) error
type MigrateCommand ¶
type MigrateCommand struct {
Truncate bool `long:"truncate" description:"Truncate destination tables before migrating data"`
}
func (*MigrateCommand) Execute ¶
func (c *MigrateCommand) Execute([]string) error
type PG2MySQLCommand ¶
type PG2MySQLCommand struct { Config pg2mysql.Config ConfigFile ConfigFilePath `short:"c" long:"config" required:"true" description:"Path to config file"` Validate ValidateCommand `command:"validate" description:"Validate that the data in PostgreSQL can be migrated to MySQL"` Migrate MigrateCommand `command:"migrate" description:"Migrate data from PostgreSQL to MySQL"` Verify VerifyCommand `command:"verify" description:"Verify migrated data matches"` }
var PG2MySQL PG2MySQLCommand
type ValidateCommand ¶
type ValidateCommand struct{}
func (*ValidateCommand) Execute ¶
func (c *ValidateCommand) Execute([]string) error
type VerifyCommand ¶
type VerifyCommand struct{}
func (*VerifyCommand) Execute ¶
func (c *VerifyCommand) Execute([]string) error
Click to show internal directories.
Click to hide internal directories.