Documentation
¶
Index ¶
- Variables
- type Container
- func (c *Container) Accept(l testcontainers.Log)
- func (c *Container) DBConn() *pgxpool.Pool
- func (c *Container) DBPort() int
- func (c *Container) DBURL() string
- func (c *Container) LoadSQL(db *pgxpool.Pool, filePath, fileNameRegexp string, parallel int, ...) error
- func (c *Container) RestartInCurrentCtx() error
- func (c *Container) Start(ctx context.Context, dockerNetworkName, dbName string) error
- func (c *Container) StartLogger(ctx context.Context)
- func (c *Container) Stop(ctx context.Context) error
- func (c *Container) Terminate(ctx context.Context, options ...testcontainers.TerminateOption) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
C testcontainers.Container
Env env.Env
// contains filtered or unexported fields
}
func (*Container) Accept ¶
func (c *Container) Accept(l testcontainers.Log)
func (*Container) RestartInCurrentCtx ¶
func (*Container) StartLogger ¶
func (*Container) Terminate ¶
func (c *Container) Terminate(ctx context.Context, options ...testcontainers.TerminateOption) error
Click to show internal directories.
Click to hide internal directories.