Versions in this module Expand all Collapse all v0 v0.1.1 Dec 4, 2019 Changes in this version + func BuildContainerConfig(config MigrateConfig) (*docker.ContainerConfig, error) + type Component struct + Container docker.Container + func New(cli *docker.Docker, config MigrateConfig) (*Component, error) + func (c *Component) Start(ctx context.Context) error + func (c *Component) Stop(ctx context.Context) error + type MigrateConfig struct + Database string + Hostname string + Labels map[string]string + Password string + Path string + Port string + func (c *MigrateConfig) Build() error + func (c *MigrateConfig) DBConnString() string