Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type NetworkId = Text
- data Network
- networkId :: Network -> NetworkId
- createNetwork :: NetworkRequest -> TestContainer Network
- data NetworkRequest
- networkRequest :: NetworkRequest
- withDriver :: Text -> NetworkRequest -> NetworkRequest
- withIpv6 :: NetworkRequest -> NetworkRequest
Network
type NetworkId = Text Source #
Identifies a network within the Docker runtime. Assigned by docker network create
Since: 0.4.0.0
Creating networks
createNetwork :: NetworkRequest -> TestContainer Network Source #
Creates a new Network
from a NetworkRequest
.
Since: 0.4.0.0
data NetworkRequest Source #
Parameters for creating a new Docker network.
Since: 0.4.0.0
networkRequest :: NetworkRequest Source #
Default parameters for creating a new Docker network.
Since: 0.4.0.0
withDriver :: Text -> NetworkRequest -> NetworkRequest Source #
Driver to manage the Network (default "bridge").
Since: 0.4.0.0
withIpv6 :: NetworkRequest -> NetworkRequest Source #
Enable IPv6 for the Docker network.
Since: 0.4.0.0