Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertTlsConfig ¶ added in v1.4.2
type CommandFlags ¶
func ParseFlags ¶
func ParseFlags() (CommandFlags, error)
type ConnectionConfig ¶
type ConnectionConfig struct { Username string `json:"username"` Password string `json:"password"` Port int `json:"port"` Adapter string `json:"adapter"` Host string `json:"host"` Database string `json:"database"` Tables []string `json:"tables"` Tls *TlsConfig `json:"tls"` }
func ParseAndValidateConnectionConfig ¶
func ParseAndValidateConnectionConfig(configPath string) (ConnectionConfig, error)
type TempFolderManager ¶ added in v1.5.0
type TempFolderManager struct {
// contains filtered or unexported fields
}
func NewTempFolderManager ¶ added in v1.5.0
func NewTempFolderManager() (TempFolderManager, error)
func (TempFolderManager) Cleanup ¶ added in v1.5.0
func (m TempFolderManager) Cleanup() error
func (TempFolderManager) WriteTempFile ¶ added in v1.5.0
func (m TempFolderManager) WriteTempFile(contents string) (string, error)
type TlsConfig ¶ added in v1.4.2
type TlsConfig struct { SkipHostVerify bool `json:"skip_host_verify"` Cert CertTlsConfig `json:"cert"` }
type UtilitiesConfig ¶
type UtilitiesConfig struct { Postgres96 UtilityPaths Postgres94 UtilityPaths Postgres10 UtilityPaths Postgres11 UtilityPaths Mariadb UtilityPaths Mysql55 UtilityPaths Mysql56 UtilityPaths Mysql57 UtilityPaths }
func GetUtilitiesConfigFromEnv ¶
func GetUtilitiesConfigFromEnv() UtilitiesConfig
type UtilityPaths ¶
Click to show internal directories.
Click to hide internal directories.