docker

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresContainer

type PostgresContainer struct {
	tc.Container
	// contains filtered or unexported fields
}

func RunContainer

func RunContainer(image string, opts ...tc.ContainerCustomizer) (*PostgresContainer, error)

func (*PostgresContainer) Cleanup

func (p *PostgresContainer) Cleanup() error

func (*PostgresContainer) Connection added in v2.0.2

func (p *PostgresContainer) Connection() string

func (*PostgresContainer) Host

func (p *PostgresContainer) Host() string

func (*PostgresContainer) Name

func (p *PostgresContainer) Name() string

func (*PostgresContainer) Password

func (p *PostgresContainer) Password() string

func (*PostgresContainer) Port

func (p *PostgresContainer) Port() int

func (*PostgresContainer) User

func (p *PostgresContainer) User() string

Jump to

Keyboard shortcuts

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