Files
threshold/internal/docker/docker.go
T

18 lines
454 B
Go
Raw Normal View History

2020-09-28 16:05:15 -04:00
package docker
import (
"errors"
"sync"
)
var (
2021-05-03 13:11:28 -05:00
StartDbInDocker func(dialect string, opt ...Option) (func() error, string, string, error) = startDbInDockerUnsupported
2020-09-28 16:05:15 -04:00
ErrDockerUnsupported = errors.New("docker is not currently supported on this platform")
mx = sync.Mutex{}
)
2021-05-03 13:11:28 -05:00
func startDbInDockerUnsupported(dialect string, opt ...Option) (cleanup func() error, retURL, container string, err error) {
2020-09-28 16:05:15 -04:00
return nil, "", "", ErrDockerUnsupported
}