docker

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 added in v0.2.1

type Option func(*Options)

Option - how Options are passed as arguments.

func WithContainerImage added in v0.2.1

func WithContainerImage(image string) Option

WithContainerImage tells the command which container image to start a dev database with

type Options added in v0.2.1

type Options struct {
	// contains filtered or unexported fields
}

Options - how Options are represented.

func GetOpts added in v0.2.1

func GetOpts(opt ...Option) Options

GetOpts - iterate the inbound Options and return a struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL