docker

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PurgeDocker

func PurgeDocker()

func RunDocker

func RunDocker(imageType Image) string

Types

type Image

type Image int32
const (
	// ImageUnspecified is a Image of type Unspecified.
	ImageUnspecified Image = iota

	// ImageMySQL is a Image of type MySQL.
	ImageMySQL

	// ImagePostgres is a Image of type Postgres.
	ImagePostgres

	// ImageMongo is a Image of type Mongo.
	ImageMongo
)

type ImageInfo

type ImageInfo struct {
	dockertest.RunOptions

	Port           string
	CheckReadyFunc func(port string) error
}

Jump to

Keyboard shortcuts

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