Documentation
¶
Index ¶
- func GetOutboundIP() string
- func MockRDS(t GinkgoTInterface, ctx context.Context, cli client.Client, ...) (*sql.DB, string, func())
- func MockRDSCredentials(t GinkgoTInterface, ctx context.Context, cli client.Client, ...) func()
- func RetryFn(t *testing.T, mightFail func() error, retryInterval, timeout time.Duration) error
- func Run(cfg Config) (*sql.DB, string, func())
- func StartNetwork(networkName string) func()
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOutboundIP ¶ added in v1.10.0
func GetOutboundIP() string
func MockRDSCredentials ¶ added in v1.10.2
func Run ¶
Run a PostgreSQL database in a Docker container and return a connection to it. The caller is responsible for calling the func() to prevent leaking containers.
func StartNetwork ¶
func StartNetwork(networkName string) func()
Types ¶
Click to show internal directories.
Click to hide internal directories.