Documentation ¶
Index ¶
- type DockerContainer
- type LambdaDockerContainer
- type LambdaDockerContainerConfig
- type NetworkOfDockerContainers
- 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 LambdaDockerContainer ¶
type LambdaDockerContainer struct { DockerContainer Config LambdaDockerContainerConfig }
func (*LambdaDockerContainer) InvocationUrl ¶ added in v0.0.3
func (c *LambdaDockerContainer) InvocationUrl() string
func (*LambdaDockerContainer) Log ¶
func (c *LambdaDockerContainer) Log() *bytes.Buffer
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 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 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
func (*WiremockDockerContainer) StartUsing ¶
func (c *WiremockDockerContainer) StartUsing(ctx context.Context, dockerNetwork *testcontainers.DockerNetwork) error
Click to show internal directories.
Click to hide internal directories.