Versions in this module Expand all Collapse all v0 v0.1.1 Dec 4, 2019 Changes in this version + func BuildContainerConfig(config MySQLConfig) (*docker.ContainerConfig, error) + type Component struct + Container docker.Container + func New(cli *docker.Docker, config MySQLConfig) (*Component, error) + func (c *Component) Start(ctx context.Context) error + func (c *Component) Stop(ctx context.Context) error + type MySQLConfig struct + AttachIfExist bool + Database string + Hostname string + Network string + Password string