Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Database DatabaseConfig `yaml:"database"` Source MigrateTarget `yaml:"source"` Destination MigrateTarget `yaml:"destination"` TempFileLocation string `yaml:"tempFileLocation"` DebugMode bool `yaml:"debugMode"` FileDelay string `yaml:"fileDelay"` }
Config is the configuration object that will be deserialized from yaml and passed into the migrate client
type DatabaseConfig ¶
type DatabaseConfig struct { ConnectionString string `yaml:"connectionString"` Database string `yaml:"database"` }
DatabaseConfig configuration to connect to database
type MigrateTarget ¶
type MigrateTarget struct { Type string `yaml:"type"` ReferenceOnly bool `yaml:"-"` GoogleStorage MigrateTargetGoogleStorage `yaml:"GoogleStorage"` AmazonS3 MigrateTargetS3 `yaml:"AmazonS3"` FileSystem MigrateTargetFileSystem `yaml:"FileSystem"` }
MigrateTarget is a FileStore configuration for either source or destination
type MigrateTargetFileSystem ¶
type MigrateTargetFileSystem struct {
Location string `yaml:"location"`
}
Click to show internal directories.
Click to hide internal directories.