Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gravity ¶
type Gravity struct {
// contains filtered or unexported fields
}
func (*Gravity) Container ¶
func (g *Gravity) Container() testcontainers.Container
type GravityOption ¶
type GravityOption func(t *testing.T, req *testcontainers.ContainerRequest)
func WithEnv ¶
func WithEnv(key string, value string) GravityOption
func WithHostname ¶
func WithHostname(name string) GravityOption
func WithNet ¶
func WithNet(net *testcontainers.DockerNetwork) GravityOption
func WithoutWait ¶
func WithoutWait() GravityOption
type StdoutLogConsumer ¶
StdoutLogConsumer is a LogConsumer that prints the log to stdout
func (*StdoutLogConsumer) Accept ¶
func (lc *StdoutLogConsumer) Accept(l testcontainers.Log)
Accept prints the log to stdout
Click to show internal directories.
Click to hide internal directories.