Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultOptions = &Options{
DatabaseName: "test-db",
Username: "root",
Password: "",
}
)
Functions ¶
This section is empty.
Types ¶
type XPostgresContainer ¶
type XPostgresContainer struct {
// Just don't initialize it
Container *postgres.PostgresContainer
// We recommend initializing that with
// context.Background (new empty context)
Context context.Context
}
func (*XPostgresContainer) Start ¶
func (p *XPostgresContainer) Start(options *Options)
func (*XPostgresContainer) StartOrError ¶
func (p *XPostgresContainer) StartOrError(options *Options) error
func (*XPostgresContainer) Terminate ¶
func (p *XPostgresContainer) Terminate()
func (*XPostgresContainer) TerminateOrError ¶
func (p *XPostgresContainer) TerminateOrError() error
Click to show internal directories.
Click to hide internal directories.