testcontainers-0.5.0.0: Docker containers for your integration tests.
Safe HaskellSafe-Inferred
LanguageHaskell2010

TestContainers.Docker.Reaper

Synopsis

Documentation

data Reaper Source #

Reaper for safe resource cleanup.

Since: 0.5.0.0

reaperLabels :: Reaper -> [(Text, Text)] Source #

Additional labels to add to any Docker resource on creation. Adding the labels is necessary in order for the Reaper to find resources for cleanup.

Since: 0.5.0.0

Ryuk based reaper

ryukImageTag :: Text Source #

Tag for the ryuk image

Since: 0.5.0.0

ryukPort :: Num a => a Source #

Exposed port for the ryuk reaper.

Since: 0.5.0.0

newRyukReaper Source #

Arguments

:: MonadResource m 
=> Text

Host

-> Int

Port

-> m Reaper 

Creates a new Reaper from a host and port.

Since: 0.5.0.0