Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultConfigName is default lookup key for postgres configuration DefaultConfigName = "PG" // DefaultDBName is default value for dbName DefaultDBName = "sample" // DefaultUser is default value for user DefaultUser = "postgres" // DefaultPassword is default value for password DefaultPassword = "pgpass" // DefaultHost is default value for host DefaultHost = "localhost" // DefaultPort is default value for port DefaultPort = 5432 // DefaultDockerImage is default docker image for postgres DefaultDockerImage = "postgres" // DefaultDockerName is default docker name for postgres DefaultDockerName = "postgres" // DefaultMigrationSource is default migration source for postgres DefaultMigrationSource = "scripts/db/migration" // DefaultSeedSource is default seed source for postgres DefaultSeedSource = "scripts/db/seed" )
Functions ¶
func Commands ¶ added in v0.8.25
func Commands(c *typbuildtool.Context) []*cli.Command
Commands of module
func Configuration ¶ added in v0.8.25
func Configuration() *typcfg.Configuration
Configuration of Postgres
func Disconnect ¶ added in v0.8.25
Disconnect to postgres server
func DockerRecipeV3 ¶ added in v0.8.25
DockerRecipeV3 return recipe for docker-compose v3
func Utility ¶ added in v0.8.25
func Utility() typbuildtool.Utility
Utility return new instance of PostgresUtility
Types ¶
Click to show internal directories.
Click to hide internal directories.