Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PGDumpCmd default dump command for Postgres. PGDumpCmd = "pg_dump" // PGImportCmd default import command for Postgres. PGImportCmd = "psql" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionFailedError ¶
ExecutionFailedError occurs when an execution fails.
func (ExecutionFailedError) Error ¶
func (e ExecutionFailedError) Error() string
type Postgres ¶
type Postgres struct { Host string Port string Name string Username string Password string // Extra pg_dump options // e.g []string{"--inserts"} Options []string Commander internal.Commander }
Postgres provider.
func (*Postgres) SetCommander ¶
SetCommander sets commander for Postgres.
Click to show internal directories.
Click to hide internal directories.