| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Docker.API.Client.Internal.Schemas
Description
Aeson schemas for communicating with the Docker Engine API
Synopsis
- dockerParseOptions :: Int -> Options
- type ContainerId = String
- data CreateContainer = CreateContainer {}
- data HostConfig = HostConfig {
- hostConfigBinds :: Maybe [Text]
- data CreateContainerResponse = CreateContainerResponse {}
- data WaitContainerResponse = WaitContainerResponse {}
- data WaitContainerError = WaitContainerError {}
Documentation
dockerParseOptions :: Int -> Options Source #
Constructs default Aeson options for serializing and deserializing objects in this module. This method drops the first nPrefix characters from record accessors in your Haskell record before serializing to JSON and uses the shortened field names to match record accessors when deserializing.
type ContainerId = String Source #
A Docker container's unique ID (in longer format)
data CreateContainer Source #
Constructors
| CreateContainer | |
Instances
data HostConfig Source #
Constructors
| HostConfig | |
Fields
| |
Instances
| Show HostConfig Source # | |
Defined in Docker.API.Client.Internal.Schemas Methods showsPrec :: Int -> HostConfig -> ShowS # show :: HostConfig -> String # showList :: [HostConfig] -> ShowS # | |
| Generic HostConfig Source # | |
Defined in Docker.API.Client.Internal.Schemas Associated Types type Rep HostConfig :: Type -> Type # | |
| ToJSON HostConfig Source # | |
Defined in Docker.API.Client.Internal.Schemas Methods toJSON :: HostConfig -> Value # toEncoding :: HostConfig -> Encoding # toJSONList :: [HostConfig] -> Value # toEncodingList :: [HostConfig] -> Encoding # | |
| FromJSON HostConfig Source # | |
Defined in Docker.API.Client.Internal.Schemas | |
| type Rep HostConfig Source # | |
Defined in Docker.API.Client.Internal.Schemas type Rep HostConfig = D1 ('MetaData "HostConfig" "Docker.API.Client.Internal.Schemas" "docker-client-0.1.0-BaMdEBOW2kNI2w9fxdLf37" 'False) (C1 ('MetaCons "HostConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostConfigBinds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text])))) | |
data CreateContainerResponse Source #
Constructors
| CreateContainerResponse | |
Instances
data WaitContainerResponse Source #
Constructors
| WaitContainerResponse | |
Instances
data WaitContainerError Source #
Constructors
| WaitContainerError | |
Fields | |