Documentation
¶
Overview ¶
Package stablemocks launches the third-party mocks for the component pipeline using the official public images for each tool, with a fixed docker run contract (network, ports, mounts, container names and readiness) so `gtool services up --stable` provides a reproducible mock environment that seeds data from test/component/mocks-data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Supported = []string{"postgresql", "pubsub", "mountebank"}
Supported lists the mocks this launcher can start.
Functions ¶
This section is empty.
Types ¶
type Launcher ¶
type Launcher struct {
// contains filtered or unexported fields
}
Launcher launches and stops the mock containers.
func New ¶
New builds a Launcher resolving the mocks-data directory from the working directory ($PWD/test/component/mocks-data).
Click to show internal directories.
Click to hide internal directories.