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.
Click to show internal directories.
Click to hide internal directories.