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

TestContainers.Docker.State

Synopsis

Documentation

data State Source #

State of a Docker container.

Since: 0.5.0.0

containerState :: InspectOutput -> State Source #

Extract the State of a Docker container from an InspectOutput.

Since: 0.5.0.0

Container status

data Status Source #

Status of a Docker container.

Since: 0.5.0.0

Instances

Instances details
Show Status Source # 
Instance details

Defined in TestContainers.Docker.State

Eq Status Source # 
Instance details

Defined in TestContainers.Docker.State

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

stateStatus :: State -> Status Source #

Returns the Status of container.

Since: 0.5.0.0

stateOOMKilled :: State -> Bool Source #

Whether a container was killed by the OOM killer.

Since: 0.5.0.0

statePid :: State -> Maybe Int Source #

Since: 0.5.0.0

stateExitCode :: State -> Maybe Int Source #

Since: 0.5.0.0

stateError :: State -> Maybe Text Source #

Since: 0.5.0.0

stateStartedAt :: State -> Maybe Text Source #

Since: 0.5.0.0

stateFinishedAt :: State -> Maybe Text Source #

Since: 0.5.0.0