docker-client-0.1.0: Funflow's internal docker engine client
Safe HaskellNone
LanguageHaskell2010

Docker.API.Client.Internal.Schemas

Description

Aeson schemas for communicating with the Docker Engine API

Synopsis

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 #

Instances

Instances details
Show CreateContainer Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

Generic CreateContainer Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

Associated Types

type Rep CreateContainer :: Type -> Type #

ToJSON CreateContainer Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

FromJSON CreateContainer Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

type Rep CreateContainer Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

type Rep CreateContainer = D1 ('MetaData "CreateContainer" "Docker.API.Client.Internal.Schemas" "docker-client-0.1.0-BaMdEBOW2kNI2w9fxdLf37" 'False) (C1 ('MetaCons "CreateContainer" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createContainerUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createContainerEnv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "createContainerCmd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "createContainerImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "createContainerWorkingDir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createContainerHostConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe HostConfig))))))

data HostConfig Source #

Constructors

HostConfig 

Instances

Instances details
Show HostConfig Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

Generic HostConfig Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

Associated Types

type Rep HostConfig :: Type -> Type #

ToJSON HostConfig Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

FromJSON HostConfig Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

type Rep HostConfig Source # 
Instance details

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 #

Instances

Instances details
Show CreateContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

Generic CreateContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

Associated Types

type Rep CreateContainerResponse :: Type -> Type #

ToJSON CreateContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

FromJSON CreateContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

type Rep CreateContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

type Rep CreateContainerResponse = D1 ('MetaData "CreateContainerResponse" "Docker.API.Client.Internal.Schemas" "docker-client-0.1.0-BaMdEBOW2kNI2w9fxdLf37" 'False) (C1 ('MetaCons "CreateContainerResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "createContainerResponseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ContainerId) :*: S1 ('MetaSel ('Just "createContainerResponseWarnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text]))))

data WaitContainerResponse Source #

Instances

Instances details
Show WaitContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

Generic WaitContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

Associated Types

type Rep WaitContainerResponse :: Type -> Type #

ToJSON WaitContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

FromJSON WaitContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

type Rep WaitContainerResponse Source # 
Instance details

Defined in Docker.API.Client.Internal.Schemas

type Rep WaitContainerResponse = D1 ('MetaData "WaitContainerResponse" "Docker.API.Client.Internal.Schemas" "docker-client-0.1.0-BaMdEBOW2kNI2w9fxdLf37" 'False) (C1 ('MetaCons "WaitContainerResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "waitContainerResponseStatusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "waitContainerResponseError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WaitContainerError))))

data WaitContainerError Source #