Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Variables type Option func WithContainerImage(image string) Option type Options func GetOpts(opt ...Option) Options Constants ¶ This section is empty. Variables ¶ View Source var ( StartDbInDocker func(dialect string, opt ...Option) (func() error, string, string, error) = startDbInDockerUnsupported ErrDockerUnsupported = errors.New("docker is not currently supported on this platform") ) Functions ¶ This section is empty. Types ¶ type Option ¶ type Option func(*Options) Option - how Options are passed as arguments. func WithContainerImage ¶ func WithContainerImage(image string) Option WithContainerImage tells the command which container image to start a dev database with type Options ¶ type Options struct { // contains filtered or unexported fields } Options - how Options are represented. func GetOpts ¶ func GetOpts(opt ...Option) Options GetOpts - iterate the inbound Options and return a struct. Source Files ¶ View all Source files docker.go option.go supported.go Click to show internal directories. Click to hide internal directories.