Documentation
¶
Index ¶
- type DockerContainer
- type DynamoDbDockerContainer
- type DynamoDbDockerContainerConfig
- type FlywayDockerContainer
- type FlywayDockerContainerConfig
- type LambdaDockerContainer
- type LambdaDockerContainerConfig
- type NetworkOfDockerContainers
- type PostgresDockerContainer
- type PostgresDockerContainerConfig
- type SnsDockerContainer
- type SnsDockerContainerConfig
- type SqsDockerContainer
- type SqsDockerContainerConfig
- type StartableDockerContainer
- type WiremockAdminMeta
- type WiremockAdminRequest
- type WiremockAdminStatus
- type WiremockDockerContainer
- type WiremockDockerContainerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerContainer ¶ added in v0.2.1
type DockerContainer struct {
// contains filtered or unexported fields
}
func (*DockerContainer) MappedPort ¶ added in v0.2.1
func (c *DockerContainer) MappedPort() int
type DynamoDbDockerContainer ¶ added in v0.3.2
type DynamoDbDockerContainer struct {
DockerContainer
Config DynamoDbDockerContainerConfig
}
func (*DynamoDbDockerContainer) StartUsing ¶ added in v0.3.2
func (c *DynamoDbDockerContainer) StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
type DynamoDbDockerContainerConfig ¶ added in v0.3.2
type FlywayDockerContainer ¶ added in v0.3.5
type FlywayDockerContainer struct {
DockerContainer
Config FlywayDockerContainerConfig
}
func (*FlywayDockerContainer) StartUsing ¶ added in v0.3.5
func (c *FlywayDockerContainer) StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
type FlywayDockerContainerConfig ¶ added in v0.3.5
type LambdaDockerContainer ¶
type LambdaDockerContainer struct {
DockerContainer
Config LambdaDockerContainerConfig
}
func (*LambdaDockerContainer) InvocationUrl ¶ added in v0.0.3
func (c *LambdaDockerContainer) InvocationUrl() string
func (*LambdaDockerContainer) StartUsing ¶
func (c *LambdaDockerContainer) StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
type NetworkOfDockerContainers ¶
type NetworkOfDockerContainers struct {
// contains filtered or unexported fields
}
func (*NetworkOfDockerContainers) StartWithDelay ¶
func (n *NetworkOfDockerContainers) StartWithDelay(delay time.Duration) error
StartWithDelay has intentional mixed use of pointer and value receivers because this method has side effects and thus this fits better with a functional programming paradigm
func (*NetworkOfDockerContainers) Stop ¶
func (n *NetworkOfDockerContainers) Stop() error
func (NetworkOfDockerContainers) WithDockerContainer ¶
func (n NetworkOfDockerContainers) WithDockerContainer(dockerContainer StartableDockerContainer) NetworkOfDockerContainers
type PostgresDockerContainer ¶ added in v0.3.5
type PostgresDockerContainer struct {
DockerContainer
Config PostgresDockerContainerConfig
}
func (*PostgresDockerContainer) StartUsing ¶ added in v0.3.5
func (c *PostgresDockerContainer) StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
type PostgresDockerContainerConfig ¶ added in v0.3.5
type SnsDockerContainer ¶ added in v0.3.0
type SnsDockerContainer struct {
DockerContainer
Config SnsDockerContainerConfig
}
func (*SnsDockerContainer) GetMessage ¶ added in v0.3.0
func (c *SnsDockerContainer) GetMessage() (string, error)
func (*SnsDockerContainer) StartUsing ¶ added in v0.3.0
func (c *SnsDockerContainer) StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
type SnsDockerContainerConfig ¶ added in v0.3.0
type SqsDockerContainer ¶ added in v0.1.1
type SqsDockerContainer struct {
DockerContainer
Config SqsDockerContainerConfig
}
func (*SqsDockerContainer) StartUsing ¶ added in v0.1.1
func (c *SqsDockerContainer) StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
type SqsDockerContainerConfig ¶ added in v0.1.1
type StartableDockerContainer ¶
type StartableDockerContainer interface {
MappedPort() int
StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
Stop(ctx context.Context) error
}
type WiremockAdminMeta ¶ added in v0.0.5
type WiremockAdminMeta struct {
// contains filtered or unexported fields
}
type WiremockAdminRequest ¶ added in v0.0.5
type WiremockAdminRequest struct {
Id string `json:"id"`
Request struct {
Url string `json:"url"`
AbsoluteUrl string `json:"absoluteUrl"`
Method string `json:"method"`
ClientIp string `json:"clientIp"`
Headers struct {
Connection string `json:"Connection"`
UserAgent string `json:"User-Agent"`
Host string `json:"Host"`
} `json:"headers"`
Cookies struct {
} `json:"cookies"`
BrowserProxyRequest bool `json:"browserProxyRequest"`
LoggedDate int64 `json:"loggedDate"`
BodyAsBase64 string `json:"bodyAsBase64"`
Body string `json:"body"`
LoggedDateString time.Time `json:"loggedDateString"`
} `json:"request"`
ResponseDefinition struct {
Status int `json:"status"`
Body string `json:"body"`
} `json:"responseDefinition"`
WasMatched bool `json:"wasMatched"`
}
type WiremockAdminStatus ¶ added in v0.0.5
type WiremockAdminStatus struct {
Requests []WiremockAdminRequest `json:"requests"`
Meta WiremockAdminMeta `json:"meta"`
RequestJournalDisabled bool `json:"requestJournalDisabled"`
}
type WiremockDockerContainer ¶
type WiremockDockerContainer struct {
DockerContainer
Config WiremockDockerContainerConfig
}
func (*WiremockDockerContainer) GetAdminStatus ¶ added in v0.0.4
func (c *WiremockDockerContainer) GetAdminStatus() (WiremockAdminStatus, error)
func (*WiremockDockerContainer) StartUsing ¶
func (c *WiremockDockerContainer) StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.

