Versions in this module Expand all Collapse all v1 v1.4.7 May 8, 2020 Changes in this version + const DefaultShutdownTimeout + const DefaultStartTimeout + const MySQLDefaultImage + const PostgresDBDefaultImage + func UniqueName() string + type MySQL struct + Client *docker.Client + ContainerPort int + ErrorStream io.Writer + HostIP string + HostPort int + Image string + Name string + OutputStream io.Writer + ShutdownTimeout time.Duration + StartTimeout time.Duration + func (c *MySQL) ContainerAddress() string + func (c *MySQL) ContainerID() string + func (c *MySQL) GetConnectionString() (string, error) + func (c *MySQL) HostAddress() string + func (c *MySQL) Run(sigCh <-chan os.Signal, ready chan<- struct{}) error + func (c *MySQL) Start() error + func (c *MySQL) Stop() error + type NameFunc func() string + var DefaultNamer NameFunc = UniqueName + type PostgresDB struct + Client *docker.Client + ContainerPort int + ErrorStream io.Writer + HostIP string + HostPort int + Image string + Name string + OutputStream io.Writer + ShutdownTimeout time.Duration + StartTimeout time.Duration + func (c *PostgresDB) ContainerAddress() string + func (c *PostgresDB) ContainerID() string + func (c *PostgresDB) GetConnectionString() (string, error) + func (c *PostgresDB) HostAddress() string + func (c *PostgresDB) Run(sigCh <-chan os.Signal, ready chan<- struct{}) error + func (c *PostgresDB) Start() error + func (c *PostgresDB) Stop() error Incompatible versions in this module v2.0.0-alpha+incompatible Apr 9, 2019