This also then removes support for docker-based containing starting (for now) from platforms other than windows/darwin/linux as there are build issues on several.
19 lines
416 B
Go
19 lines
416 B
Go
package docker
|
|
|
|
import (
|
|
"errors"
|
|
"sync"
|
|
)
|
|
|
|
var (
|
|
StartDbInDocker func(string) (func() error, string, string, error) = startDbInDockerUnsupported
|
|
|
|
ErrDockerUnsupported = errors.New("docker is not currently supported on this platform")
|
|
|
|
mx = sync.Mutex{}
|
|
)
|
|
|
|
func startDbInDockerUnsupported(dialect string) (cleanup func() error, retURL, container string, err error) {
|
|
return nil, "", "", ErrDockerUnsupported
|
|
}
|