Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data State
- containerState :: InspectOutput -> State
- data Status
- stateStatus :: State -> Status
- stateOOMKilled :: State -> Bool
- statePid :: State -> Maybe Int
- stateExitCode :: State -> Maybe Int
- stateError :: State -> Maybe Text
- stateStartedAt :: State -> Maybe Text
- stateFinishedAt :: State -> Maybe Text
Documentation
containerState :: InspectOutput -> State Source #
Extract the State
of a Docker container from an InspectOutput
.
Since: 0.5.0.0
Container status
Status of a Docker container.
Since: 0.5.0.0
stateOOMKilled :: State -> Bool Source #
Whether a container was killed by the OOM killer.
Since: 0.5.0.0