Files
threshold/internal/docker/docker.go
T

18 lines
416 B
Go
Raw Normal View History

2020-09-28 16:05:15 -04:00
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
}