postgres

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(props cntest.PropertyMap) func(*cntest.Container) error

Config func to generate a configurer to use like this cntest.NewContainer(mysql.Config({db:"mydb",sqlFolder:"./testdb",user:"bob"}))

func Container

func Container(props cntest.PropertyMap) *cntest.Container

Container creates a mysql opinionated container with defaults overridden by the supplied props for: db - name of the database. defaults to random dbuser - user name for the database. defaults to random dbpass - user password for the database. defaults to random sql - folder containing sh and sql files executed in lexical order when the container db starts

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL